/*!
Theme Name: Padel Group
Theme URI: https://qodeum.com/
Author: qodeum.com
Author URI: https://qodeum.com/
Description:
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: padelgroup
Tags:
----------------------------------------------------------------------------------------- */
*,
::after,
::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* border: 1px solid red; */
}

*:focus,
*:active {
  outline: none;
}

:root {
  /* font */
  --font-sans-serif: "Onest", sans-serif;

  /* color */
  --color-black: #000000;
  --color-black-light: #171717;
  --color-black-trans: rgba(23, 23, 23, 0.08);

  --color-white: #ffffff;
  --color-white-trans: rgba(255, 255, 255, 0.08);

  --color-accent: #c6ed2c;
  --color-accent-trans: rgba(175, 214, 57, 0.08);

  --color-blue: #3033b0;

  --color-gray: #a8a8a8;
  --color-gray-dark: #5f5f5f;
  --color-gray-light: #f8f8f8;
}

/*  html
------------------------------------------ */
html {
  line-height: normal;
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-weight: 400;
  font-display: auto;
  font-family: var(--font-sans-serif);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1920px) {
  .hide-1920 {
    display: none !important;
  }
}

@media only screen and (max-width: 1440px) {
  .hide-1440 {
    display: none !important;
  }
}

@media only screen and (max-width: 1280px) {
  .hide-1280 {
    display: none !important;
  }
}

@media only screen and (max-width: 992px) {
  .hide-992 {
    display: none !important;
  }
}

@media only screen and (max-width: 768px) {
  .hide-768 {
    display: none !important;
  }
}

@media only screen and (max-width: 576px) {
  .hide-576 {
    display: none !important;
  }
}

/*  responsive
------------------------------------------ */
@media only screen and (min-width: 1920px) {
  .show-1920 {
    display: none !important;
  }
}

@media only screen and (min-width: 1440px) {
  .show-1440 {
    display: none !important;
  }
}

@media only screen and (min-width: 1280px) {
  .show-1280 {
    display: none !important;
  }
}

@media only screen and (min-width: 992px) {
  .show-992 {
    display: none !important;
  }
}

@media only screen and (min-width: 768px) {
  .show-768 {
    display: none !important;
  }
}

@media only screen and (min-width: 576px) {
  .show-576 {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  HTML
 *
 *  ——
 *  ——
 *
----------------------------------------------------------------------------------------- */

:root {
  /* heading */
  --font-size-h1: 64px;
  --font-size-h2: 32px;
  --font-size-h3: 28px;
  --font-size-h4: 24px;
  --font-size-h5: 20px;
  --font-size-h6: 16px;

  /* text */
  --font-size-large: 22px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.32;
  margin: 0 !important;
  font-family: var(--font-serif);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p {
  line-height: 1.56;
}

ul,
ol,
dl {
  line-height: 1.56;
  list-style: none;
}

img {
  height: auto;
  max-width: 100%;
}

hr {
  border: none;
  border-bottom: 1px solid var(--color-black-trans);
}

blockquote {
  padding: 16px;
  position: relative;
  background: var(--color-accent-trans);
  border-left: 1px solid var(--color-accent);
}

/*  lists (outside .editor)
------------------------------------------ */
article ul:not([class]),
article ol:not([class]),
.content ul:not([class]),
.content ol:not([class]) {
  gap: 12px;
  display: flex;
  padding-left: 32px;
  margin: 16px 0;
  flex-direction: column;
}

/* unordered list */
article ul:not([class]),
.content ul:not([class]) {
  list-style: none;
}

article ul:not([class]) li,
.content ul:not([class]) li {
  position: relative;
  padding-left: 24px;
}

article ul:not([class]) li::before,
.content ul:not([class]) li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

/* ordered list */
article ol:not([class]),
.content ol:not([class]) {
  list-style: none;
  counter-reset: custom-counter;
}

article ol:not([class]) li,
.content ol:not([class]) li {
  position: relative;
  padding-left: 32px;
  counter-increment: custom-counter;
}

article ol:not([class]) li::before,
.content ol:not([class]) li::before {
  content: counter(custom-counter) ".";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
  color: var(--color-blue);
  min-width: 24px;
}

/* nested lists */
article ul:not([class]) ul:not([class]),
article ol:not([class]) ol:not([class]),
.content ul:not([class]) ul:not([class]),
.content ol:not([class]) ol:not([class]) {
  margin: 8px 0;
  padding-left: 24px;
}

article ul:not([class]) ul:not([class]) li::before,
.content ul:not([class]) ul:not([class]) li::before {
  width: 6px;
  height: 6px;
  background: var(--color-gray);
}

article ol:not([class]) ol:not([class]) li::before,
.content ol:not([class]) ol:not([class]) li::before {
  color: var(--color-gray-dark);
}

/*  table
------------------------------------------ */
table,
td,
th {
  border: 1px solid var(--color-black-trans);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
}

tr:nth-child(even) {
  background-color: var(--color-accent-trans);
}

td,
th {
  padding: 16px;
  text-align: left;
  position: relative;
}

/* thaed */
thead {
  font-weight: 600;
  color: var(--color-black);
  background: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    /* heading */
    --font-size-h1: 26px;
    --font-size-h2: 24px;
    --font-size-h3: 22px;
    --font-size-h4: 20px;
    --font-size-h5: 18px;
    --font-size-h6: 16px;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  site header
 *
 *  —— masthead
 *  —— mastside
 *
----------------------------------------------------------------------------------------- */

:root {
  /* site header: masthead */
  --masthead-height: 88px;
}

/* site header */
.site-header {
  top: 0;
  width: 100%;
  z-index: 999;
  position: fixed;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
  border-bottom: 1px solid var(--color-white-trans);
}

/* onscroll site header */
.onscroll .site-header {
  border-bottom-color: transparent;
  background: var(--color-black);
}

/*  site header: masthead
----------------------------------------------------------------------------------------- */
.masthead,
.masthead-panel,
.masthead [class*="col-"] {
  gap: 0 16px;
  display: flex;
  align-items: center;
}

/* masthead */
.masthead {
  height: var(--masthead-height);
}

/* masthead column */
.masthead [class*="col-"] {
  flex-direction: row;
  justify-content: space-between;
  padding: 0 var(--column-padding);
}

/* masthead panel */
.masthead-panel:last-child {
  text-align: right;
}

/*  masthead navigation
------------------------------------------ */
.masthead-navigation {
  --menu-item-height: 40px;
}

/* masthead menu */
.masthead-navigation .menu {
  gap: 32px;
  display: flex;
}

/* masthead navigation menu item */
.masthead-navigation .menu-item {
  gap: 4px;
  display: flex;
  cursor: pointer;
  font-weight: 600;
  position: relative;
  align-items: center;
  text-transform: uppercase;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
  height: var(--menu-item-height);
}

.masthead-navigation .menu-item:hover,
.masthead-navigation [class*="current-menu-"] {
  color: var(--color-accent);
}

/* masthead navigation menu item has children */
.masthead-navigation .menu-item-has-children::after {
  content: "";
  width: 16px;
  height: 16px;
  display: block;
}

/* masthead navigation sub menu */
.masthead-navigation .sub-menu {
  gap: 8px;
  left: 50%;
  z-index: 1;
  top: calc(var(--menu-item-height) - 0px);
  padding: 32px;
  display: none;
  min-width: 280px;
  position: absolute;
  border-radius: 16px;
  flex-direction: column;
  transform: translateX(-50%);
  background: rgb(255, 255, 255);
  color: var(--color-black) !important;

  box-shadow: 0 0 16px rgba(0, 0, 0, 0.04);
}

.masthead-navigation .sub-menu .menu-item {
  height: unset;
}

.masthead-navigation .sub-menu .menu-item:hover,
.masthead-navigation .sub-menu [class*="current-menu-"] {
  color: var(--color-blue);
}

/* masthead navigation sub menu first level */
.masthead-navigation .menu > *::after {
  display: none;
}

.masthead-navigation .menu > *:hover > .sub-menu {
  display: flex;
}

/* masthead navigation sub menu second level */
.masthead-navigation .menu > * > * > *::after {
  background: url("https://api.iconify.design/carbon/chevron-right.svg?color=black")
    no-repeat center center / contain;
}

.masthead-navigation .menu > * > * > *:hover > .sub-menu {
  top: 0;
  left: 100%;
  display: flex;
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Footer
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
.site-footer {
  color: var(--color-gray);
  padding: var(--section-gap) 0;
  background: var(--color-black);
}

/* colophon separator */
.colophon-separator {
  border-color: var(--color-white-trans);
}

/*  colophon panel
------------------------------------------ */
.colophon-panel {
  display: flex;
  gap: 32px var(--section-gap);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* colophon panel */
  .colophon-panel {
    flex-wrap: wrap;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Site Main
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */
:root {
  /* section */
  --section-gap: 80px;
}

section {
  gap: 32px 0;
  display: flex;
  overflow: hidden;
  position: relative;
  flex-direction: column;

  padding: var(--section-gap) 0;
}

/*  section media
------------------------------------------ */
.section-media {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  background: var(--color-black-trans);
}

/* section media / contain */
.section-media.contain {
  object-fit: contain;
}

/*  section group
------------------------------------------ */
.section-group > section:last-child {
  margin-bottom: 0;
}

.section-group > section:nth-child(odd) {
  background: var(--color-gray-light);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  :root {
    /* section */
    --section-gap: 32px;
  }
}

/*  section: flowaround
----------------------------------------------------------------------------------------- */
section.flowaround {
  background: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (min-width: 1640px) {
  section.flowaround {
    margin: var(--section-gap);
  }
}

/*  section: page header
----------------------------------------------------------------------------------------- */
.page-header {
  color: var(--color-white);
  background: var(--color-black);
  padding: calc(var(--section-gap) + var(--masthead-height)) 0
    var(--section-gap) 0;
}

/*  section: hero
----------------------------------------------------------------------------------------- */
section#hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.64);
  min-height: calc(var(--vh, 1vh) * 100);
  padding: calc(var(--section-gap) + var(--masthead-height)) 0
    var(--section-gap) 0;
}

/*  hero scroll
------------------------------------------ */
#hero-scroll {
  left: 50%;
  z-index: 1;
  font-size: 64px;
  position: absolute;
  color: var(--color-accent);
  transform: translateX(-50%);
  transition: ease-in-out 0.16s;

  /* animation */
  animation-duration: 4s;
  animation-name: heroScroll;
  animation-iteration-count: infinite;
  transition-timing-function: ease-out;
}

#hero-scroll:hover {
  color: var(--color-accent);
}

/* animation */
@keyframes heroScroll {
  0% {
    bottom: calc(var(--section-gap) / 2);
  }
  50% {
    bottom: var(--section-gap);
  }
  100% {
    bottom: calc(var(--section-gap) / 2);
  }
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* section hero */
  section#hero {
    min-height: unset;
  }

  /* hero scroll */
  #hero-scroll {
    display: none;
  }
}

/* --------------------------------------------------------------------------------------
 *
 *  Component
 *
 *  —— 
 *  —— 
 *
----------------------------------------------------------------------------------------- */

/*  component: meta
----------------------------------------------------------------------------------------- */

/*  meta location
------------------------------------------ */
.meta-location {
  gap: 16px;
  display: flex;
  align-items: center;
}

/* meta location flag */
.meta-location__flag {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  object-fit: cover;
  border-radius: 100%;
}

/*  component: form
----------------------------------------------------------------------------------------- */
form {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  label
------------------------------------------ */
label {
  gap: 8px;
  display: flex;
  font-weight: 600;
  align-items: baseline;
}

/*  fieldset
------------------------------------------ */
fieldset {
  margin: 0;
  height: 100%;
  padding: 16px;
  border-radius: 0px;
  border: 1px solid var(--color-black);
}

/* legend */
legend {
  font-weight: 600;
  padding: 0 16px;
}

/*  field
------------------------------------------ */
input,
textarea {
  width: 100%;
  border: none;
  padding: 0 16px;
  background: transparent;
  color: var(--color-black);
}

textarea {
  max-height: 64px;
}

input[type="radio"],
input[type="checkbox"] {
  width: 16px;
  height: 16px;
  background: transparent;
}

input[type="submit"] {
  max-width: max-content;
}

/*  contact from 7
------------------------------------------ */

/* .wpcf7-form-control-wrap */
.wpcf7-form-control-wrap {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* wpcf7-form-control */
.wpcf7-form-control {
  gap: 16px;
  display: flex;
}

/* .wpcf7-list-item */
.wpcf7-list-item {
  gap: 8px;
  margin: 0;
  display: flex;
  align-items: center;
}

/* .wpcf7-spinne */
.wpcf7-spinner {
  top: 50%;
  right: 25px;
  position: absolute;
  transform: translateY(-50%);
}

/* .wpcf7-response-output */
.wpcf7-response-output {
  border-radius: 0px;
  border-width: 2px;
  margin: 0 !important;
  padding: 16px !important;
}

/*  component: accordion
----------------------------------------------------------------------------------------- */
.accordion {
  position: relative;
}

/*  accordion button
------------------------------------------ */
.accordion-button {
  cursor: pointer;
  position: relative;
}

.accordion-button::selection {
  background: transparent;
}

/*  accordion content
------------------------------------------ */
.accordion-content {
  display: none;
}

/*  component: tab
----------------------------------------------------------------------------------------- */

/*  tab content
----------------------------------------- */
.tab-content {
  height: 100%;
  display: none;
  overflow: hidden;
  position: relative;
  animation: fadeEffect 0.16s;
  -webkit-animation: fadeEffect 0.16s;
}

/* tab content active */
.tab-content.active {
  display: block;
}

/*  tab animation
----------------------------------------- */
@-webkit-keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/*  component: sidebar
----------------------------------------------------------------------------------------- */
:root {
  --sidebar-width: 320px;
}

/* sidebar */
.sidebar {
  top: 0;
  right: 0;
  height: 100%;
  position: fixed;
  overflow-y: scroll;
  color: var(--color-white);
  width: var(--sidebar-width);
  transform: translateX(100%);
  background: var(--color-black-light);
  transition: transform 0.16s ease-out;
}

.sidebar.active {
  transform: translateX(0);
}

.sidebar > * {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sidebar > *:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar head */
.sidebar-head {
  padding: 0 32px;
  min-height: calc(var(--masthead-height) * 1);
}

/* sidebar panel */
.sidebar-panel {
  gap: 16px;
  padding: 32px;
}

/*  sidebar navigation
------------------------------------------ */
.sidebar-navigation .menu *::selection {
  background: transparent;
}

/* sidebar navigation menu-item */
.sidebar-navigation .menu .menu-item {
  position: relative;
}

.sidebar-navigation .menu .menu-item:not(:last-child) {
  border-bottom: 1px solid var(--color-white-trans);
}

/* sidebar navigation menu-item > a */
.sidebar-navigation .menu .menu-item > a {
  z-index: 1;
  display: block;
  position: relative;
  padding: 16px 0 16px 32px;
  max-width: calc(100% - 80px);
  transition: ease-in-out 0.16s;
}

.sidebar-navigation .menu .menu-item > a:hover,
.sidebar-navigation .menu [class*="current-menu-"] > a {
  color: var(--color-accent);
}

.sidebar-navigation .menu .menu-item > a:hover {
  text-decoration: underline;
}

/* sidebar navigation menu-item-has-children > a */
.sidebar-navigation .menu .menu-item-has-children > a {
  display: inline-block;
}

/* sidebar navigation menu-item > accordion-button */
.sidebar-navigation .menu-item > span {
  right: 0;
  top: 14px;
  width: 100%;
  height: 24px;
  opacity: 0.32;
  display: block;
  cursor: pointer;
  position: absolute;
  transition: ease-in-out 0.16s;
  background: url("https://api.iconify.design/mdi-light/chevron-down.svg?color=white")
    no-repeat right 32px center / contain;
}

.sidebar-navigation .menu-item > span {
  opacity: 1;
}

/* іidebar navigation sub-menu */
.sidebar-navigation .sub-menu {
  background: var(--color-white-trans);
}

/*  button sidebar
----------------------------------------- */
.button-sidebar {
  z-index: 1;
  position: relative;
}

/*  component: headline
----------------------------------------------------------------------------------------- */
.headline {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* headline center */
.headline.center {
  text-align: center;
  align-items: center;
}

.headline.center * {
  text-align: center;
}

/* headline white */
.headline.white * {
  color: var(--color-white);
}

/*  headline group
------------------------------------------ */
.headline-group {
  gap: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

/*  headline label
------------------------------------------ */
.headline-label {
  gap: 16px;
  display: flex;
  align-items: center;
  letter-spacing: 1.64px;
  text-transform: uppercase;
  color: var(--color-accent);
}

.headline-label::before,
.headline.center .headline-label::after {
  content: "";
  width: 48px;
  display: block;
  border-bottom: 1px solid var(--color-accent);
}

/*  headline title
------------------------------------------ */
.headline-title {
  gap: 16px;
  display: flex;
  font-size: var(--font-size-h2);
  font-weight: 600;
  line-height: 1.16;
}

/* <h1> headline title */
h1.headline-title {
  font-size: var(--font-size-h1);
}

/*  headline textarea
------------------------------------------ */
.headline-typetext {
  font-size: 24px;
  min-height: 56px;
  font-weight: 600;
  color: var(--color-accent);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 1280px) {
  /* <h1> headline title */
  h1.headline-title {
    font-size: var(--font-size-h1);
  }
}

@media only screen and (max-width: 576px) {
  /* headline label */
  .headline-label {
    display: none;
  }
}

/*  component: contact
----------------------------------------------------------------------------------------- */

/*  contact
------------------------------------------ */
.contact {
  display: flex;
  line-height: 1.48;
  flex-direction: column;
}

/*  contact messenger
------------------------------------------ */
.contact-messenger {
  color: var(--color-white) !important;
}

/*  contact location
------------------------------------------ */
.contact-location {
  gap: 16px;
}

/*  contact group
------------------------------------------ */
.contact-group {
  gap: 0px 8px;
  display: flex;
  flex-direction: column;
}

#contact .contact-group a {
  display: inline;
}

/* contact group inline */
.contact-group.inline {
  flex-direction: row;
}

/*  component: editor
----------------------------------------------------------------------------------------- */
.editor {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* editor list */
.editor ul,
.editor ol {
  gap: 0px;
  display: flex;
  flex-direction: column;
}

.editor ul {
  list-style: square inside;
}

.editor ol {
  list-style: decimal inside;
}

/* editor iframe */
.editor iframe {
  width: 100%;
  height: 380px;
}

.editor img {
  max-height: 380px;
}

/* editor link */
.editor a {
  text-decoration: underline;
}

/* editor bold */
.editor strong,
.editor b {
  font-weight: 600;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* editor br */
  .editor br {
    display: none;
  }
}

/*  component: swiper
----------------------------------------------------------------------------------------- */
.swiper-endless {
  padding: 0 var(--section-gap) !important;
}

/*  swiper slide
----------------------------------------- */
.swiper-slide {
  height: auto !important;
  position: relative;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* swiper endless */
  .swiper-endless {
    padding: 0 32px !important;
  }
}

/*  Component: language switcher
----------------------------------------------------------------------------------------- */
/* === Language Switcher (Dropdown Arrow Refined) === */
.wpm-language-switcher {
    gap: 32px;
    display: flex;
    position: relative;
}

/* --- активный язык (флаг с стрелкой) --- */
.wpm-item-language-main {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* аккуратная стрелка в виде уголка ">" повернутого вниз */
.wpm-item-language-main::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    transition: transform 0.25s
    ease;
    margin-top: -8px;
    transform-origin: center center;
}

/* плавное переворачивание стрелки вверх */
.wpm-item-language-main:hover::before,
.wpm-item-language-main:focus-within::before {
    transform: rotate(135deg); /* вверх */
}

/* --- dropdown --- */
.wpm-language-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    left: auto !important;
    padding: 0;
    margin: 0;
    list-style: none;
    z-index: 999;
    white-space: nowrap;
}

ul.wpm-language-switcher li span:first-child {
    height:22px;
}


/* каждый пункт списка */
.wpm-language-dropdown li {
    display: block;
    margin: 4px 0;
    height:23px;
}

/* флажки: круглые, без изменений */
.wpm-language-dropdown a img,
.wpm-item-language-main img {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transition: transform 0.2s ease;
}

/* лёгкий зум при наведении */
.wpm-language-dropdown a:hover img {
    transform: scale(1.1);
}

/* раскрываем меню при наведении на флаг или стрелку */
.wpm-item-language-main:hover .wpm-language-dropdown,
.wpm-item-language-main:focus-within .wpm-language-dropdown {
    display: block;
}


/*  component: site branding
----------------------------------------------------------------------------------------- */
.site-branding {
  display: flex;
  align-items: center;
}

/* site logo */
.site-logo {
  max-height: 48px;
}

.site-logo.inverse {
  filter: brightness(0) invert(1);
}

/*  component: button
----------------------------------------------------------------------------------------- */
:root {
  --button-height: 48px;
  --button-height-small: 40px;
}

/*  button group
------------------------------------------ */
.button-group {
  gap: 8px;
  display: flex;
  flex-wrap: wrap;
  position: relative;
  align-items: center;
}

/* button group center */
.button-group.center {
  justify-content: center;
}

/* button group / column */
.button-group.column {
  flex-direction: column;
}

/*  button panel
------------------------------------------ */
.button-panel {
  display: flex;
}

.button-panel .button {
  width: 100%;
  border-radius: 0;
}

.button-panel .button:not(:last-child) {
  border-right: 1px solid var(--color-white-trans);
}

/*  button
------------------------------------------ */
.button {
  gap: 8px;
  border: none;
  display: flex;
  outline: none;
  cursor: pointer;
  font-weight: 600;
  min-width: 164px;
  padding: 0px 16px;
  text-align: center;
  align-items: center;
  border-radius: 32px;
  justify-content: center;
  text-transform: uppercase;
  color: var(--color-black);
  height: var(--button-height);
  transition: ease-in-out 0.16s;
  background: var(--color-accent);
  border: 1px solid transparent;
}

/* NavPillTouchFeedback for accent buttons */
.button:not(.button-blue):hover,
.button:not(.button-blue):focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  filter: brightness(1.03);
}

.button:not(.button-blue):focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 2px;
}

.button:not(.button-blue):active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
  filter: brightness(0.97);
}

/* NavPillTouchFeedback for blue buttons */
.button.button-blue:hover,
.button.button-blue:focus-visible,
#contact .wpcf7-submit.button:hover,
#contact .wpcf7-submit.button:focus-visible {
  background: #3a3dcc;
  transform: translateY(-1px);
  box-shadow: 0 2px 10px rgba(48, 51, 176, 0.35);
}

.button.button-blue:focus-visible,
#contact .wpcf7-submit.button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

.button.button-blue:active,
#contact .wpcf7-submit.button:active {
  background: #25288d;
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 2px 7px rgba(0, 0, 0, 0.25);
  filter: brightness(0.97);
}

/*  button small
------------------------------------------ */
.button-small {
  font-size: 14px;
  min-width: 128px;
  height: var(--button-height-small);
}

/*  button blue
------------------------------------------ */
.button-blue,
#contact .wpcf7-submit.button {
  color: var(--color-white);
  background: var(--color-blue);
}

/*  button square / round
------------------------------------------ */
.button-round,
.button-square {
  padding: 0;
  font-size: 20px;
  width: var(--button-height);
  height: var(--button-height);
  min-width: var(--button-height);
  min-height: var(--button-height);
}

/* button square */
.button-square {
  border-radius: 16px;
}

/* button round */
.button-round {
  border-radius: 100%;
}

/*  component: modal
----------------------------------------------------------------------------------------- */
.modal {
  display: none;
}

/*  component: thumbnail
----------------------------------------------------------------------------------------- */
.thumbnail {
  gap: 8px;
  height: 256px;
  padding: 32px;
  display: flex;
  overflow: hidden;
  position: relative;
  border-radius: 0px;
  flex-direction: column;
  background: transparent;
  justify-content: flex-end;
  color: var(--color-white);
  transition: ease-in-out 0.16s;
}

/*  thumbnail overlay
------------------------------------------ */
.thumbnail-overlay {
  background-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.08) 0%,
    rgba(0, 0, 0, 0.8) 99%
  );
}

/*  thumbnail unstyle
------------------------------------------ */ 
.thumbnail-unstyle {
  background-image: unset;
}

/* thumbnail unstyle / thumbnail media */
.thumbnail-unstyle .thumbnail-media {
  z-index: 1;
}

/*  thumbnail square
------------------------------------------ */
.thumbnail-square {
  height: unset;
  padding: 100% 0 0 0;
}

/*  thumbnail large
------------------------------------------ */
.thumbnail-medium {
  height: 320px;
}

/*  thumbnail large
------------------------------------------ */
.thumbnail-large {
  height: 512px;
}

/*  thumbnail media
------------------------------------------ */
.thumbnail-media {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: ease-in-out 0.16s;
}

/* thumbnail media / contain */
.thumbnail-media.contain {
  object-fit: contain;
}

/* <a> thumbnail / thumbnail media */
a.thumbnail:hover .thumbnail-media {
  transform: scale(1.08);
}

/*  thumbnail panel
------------------------------------------ */
.thumbnail-panel {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  thumbnail title
------------------------------------------ */
.thumbnail-title {
  display: block;
  font-weight: 600;
  line-height: 1.56;
  font-size: var(--font-size-large);
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  /* thumbnail large */
  .thumbnail-large {
    height: 256px;
  }
}

/*  component: widget
----------------------------------------------------------------------------------------- */
.widget {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/*  widgetbar
------------------------------------------ */
#widgetbar {
  z-index: 1;
  right: 32px;
  position: fixed;
  bottom: var(--section-gap);
}

/*  widget title
------------------------------------------ */
.widget-title {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.8;
}

/*  widget navigation
------------------------------------------ */

/* widget / menu */
.widget .menu {
  gap: 8px;
  display: flex;
  flex-direction: column;
}

/* widget / menu item */
.widget .menu-item {
  gap: 4px;
  display: flex;
  cursor: pointer;
  position: relative;
  align-items: center;
  transition: ease-in-out 0.16s;
  justify-content: space-between;
}

.widget .menu-item:hover,
.widget [class*="current-menu-"] {
  color: var(--color-accent);
}

.widget .menu-item > a {
  width: 100%;
}

/* masthead navigation sub menu */
.widget .sub-menu {
  display: none;
}

/*  component: brand
----------------------------------------------------------------------------------------- */

/*  brand card
------------------------------------------ */
.brand-card {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/*  brand logo
------------------------------------------ */
.brand-logo {
  max-height: 64px;
}

/*  component: card
----------------------------------------------------------------------------------------- */
.card,
.card-panel {
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/*  card panel
------------------------------------------ */
.card-panel {
  gap: 8px;
}

/* card panel / center */
.card-panel.center {
  text-align: center;
  align-items: center;
  justify-content: center;
}

/* card panel inline */
.card-panel.inline {
  flex-direction: row;
}

/*  card logo
------------------------------------------ */
.card-logo {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  object-fit: contain;
}

/*  card title
------------------------------------------ */
.card-title {
  gap: 16px;
  display: flex;
  font-weight: 600;
  line-height: 1.56;
  font-size: var(--font-size-large);
}

/* card title / large */
.card-title.large {
  font-size: var(--font-size-h3);
}

/*  card icon
------------------------------------------ */
.card-icon {
  width: 1280px;
  height: 120px;
  border-radius: 8px;
  object-fit: contain;
  border-bottom: 2px solid var(--color-accent);
}

/*  component: configurator
----------------------------------------------------------------------------------------- */
section#configurator-app {
  gap: 0;
  padding: 0;
  line-height: 0;
  background: var(--color-blue);
}

/*  configurator area
------------------------------------------ */

/* configurator button */
#configurator-button {
  left: 50%;
  bottom: 32px;
  position: absolute;
  transform: translateX(-50%);
}

/*  configurator navigation
------------------------------------------ */
.configurator-navigation {
  --menu-item-height: var(--button-height);
  padding: 32px 0 48px;
  background: linear-gradient(160deg, #191a55 0%, #22247d 55%, #2d31ba 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.configurator-navigation__rail {
  margin: 0 auto;
  padding: 0 24px;
  max-width: 1280px;
}

.configurator-navigation__toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: calc(var(--menu-item-height) + 8px);
  padding: 12px 20px 12px 28px;
  border-radius: 999px;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  color: var(--color-black);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  box-shadow: 0 20px 38px rgba(198, 237, 44, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-sizing: border-box;
}

.configurator-navigation__toggle:hover,
.configurator-navigation__toggle:focus-visible {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 26px 46px rgba(198, 237, 44, 0.5);
}

.configurator-navigation__toggle:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.configurator-navigation__toggle:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.25);
}

.configurator-navigation__toggle-label {
  display: block;
  flex: 1;
  text-align: left;
  white-space: normal;
  line-height: 1.3;
}

.configurator-navigation__toggle-icon {
  position: relative;
  width: 22px;
  height: 14px;
  flex-shrink: 0;
}

.configurator-navigation__toggle-icon::before,
.configurator-navigation__toggle-icon::after,
.configurator-navigation__toggle-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.configurator-navigation__toggle-icon::before {
  top: 0;
}

.configurator-navigation__toggle-icon::after {
  bottom: 0;
}

.configurator-navigation__toggle-icon span {
  top: 50%;
  transform: translateY(-50%);
}

.configurator-navigation.is-open .configurator-navigation__toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.configurator-navigation.is-open .configurator-navigation__toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.configurator-navigation.is-open .configurator-navigation__toggle-icon span {
  opacity: 0;
}

/* configurator menu */
.configurator-navigation .menu {
  gap: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* configurator navigation menu item */
.configurator-navigation .menu-item {
  width: auto;
  display: flex;
}

.configurator-navigation .menu-item a {
  gap: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  min-height: calc(var(--menu-item-height) + 8px);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-blue);
  border-radius: 999px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 35px rgba(10, 12, 60, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease, background 0.2s ease, filter 0.2s ease;
  box-sizing: border-box;
}

.configurator-navigation .menu-item a:hover,
.configurator-navigation .menu-item a:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 24px 45px rgba(8, 10, 52, 0.6);
}

.configurator-navigation .menu-item a:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 2px;
}

.configurator-navigation .menu-item a:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.4);
}

.configurator-navigation .menu-item[class*="current-menu-"] a,
.configurator-navigation .menu-item.current-menu-item a {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: var(--color-accent);
  box-shadow: 0 18px 35px rgba(198, 237, 44, 0.45);
}

/* masthead navigation sub menu */
.masthead-navigation .sub-menu {
  display: none;
}

/*  responsive
------------------------------------------ */
@media only screen and (max-width: 992px) {
  .configurator-navigation {
    --menu-item-height: 40px;
    padding: 20px 0 28px;
  }

  .configurator-navigation__rail {
    padding: 0;
  }

  .configurator-navigation.is-collapsible .configurator-navigation__toggle {
    display: flex;
    width: calc(100% - 40px);
    margin: 0 20px 16px;
  }

  .configurator-navigation .menu {
    gap: 12px;
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
  }

  .configurator-navigation.is-collapsible .menu {
    display: none;
  }

  .configurator-navigation.is-collapsible.is-open .menu {
    display: flex;
  }

  .configurator-navigation .menu-item {
    width: 100%;
  }

  .configurator-navigation .menu-item a {
    min-height: var(--menu-item-height);
    padding: 12px 20px;
    font-size: 15px;
    line-height: 1.3;
    text-align: left;
    white-space: normal;
    width: calc(100% - 60px);
    margin: 0 30px;
  }

  .configurator-navigation.is-collapsible .menu-item.is-toggle-entry {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .configurator-navigation .menu-item a {
    transition: none;
  }
}

.cat-description {
    display: flex;
    flex-direction: column;
    gap: 32px 0;
    overflow: hidden;
    position: relative;
    padding: var(--section-gap) 0;
}
.fh2 {
    color: #000000;
    font-size: 32px;
    font-weight: 600;
}

.fh-id-381 {
    min-height:50px;
    margin-top: 25px;
    color: #000000;
    font-size: 32px;
    font-weight: 600;
}
#fh-id-381-1 {
    background: url("https://padelgroup.com.ua/wp-content/uploads/1-3-150x150.png") no-repeat left center;
    background-size: 50px 50px;
    padding-left: 70px; /* 50px картинка + 20px отступ */
}
#fh-id-381-2 {
    background: url("https://padelgroup.com.ua/wp-content/uploads/2-2-150x150.png") no-repeat left center;
    background-size: 50px 50px;
    padding-left: 70px;
}

#fh-id-381-3 {
    background: url("https://padelgroup.com.ua/wp-content/uploads/4-150x150.png") no-repeat left center;
    background-size: 50px 50px;
    padding-left: 70px;
}

#fh-id-381-4 {
    background: url("https://padelgroup.com.ua/wp-content/uploads/3-1-150x150.png") no-repeat left center;
    background-size: 50px 50px;
    padding-left: 70px;
}
.fh-id-381-rbg {
    color: #000000;
    font-size: 32px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.fh-id-381-rbg::after {
    content: "";
    width: 80px;
    height: 53px;
    background: url("https://padelgroup.com.ua/wp-content/uploads/padel-premiup-300x200.webp") no-repeat center / contain;
    flex-shrink: 0;
    position: relative;
    top: -20px;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    padding: 20px 0;
    font-family: var(--font-sans-serif);
}

.post-navigation a {
    display: inline-block;
    font-weight: 600;
    color: var(--color-black-light);
    background-color: var(--color-accent);
    padding: 10px 18px;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.post-navigation a:hover,
.post-navigation a:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    filter: brightness(1.03);
}

.post-navigation a:focus-visible {
    outline: 3px solid var(--color-blue);
    outline-offset: 2px;
}

.post-navigation a:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2);
    filter: brightness(0.97);
}

.post-navigation .nav-previous a::before {
    color: var(--color-blue);
    font-weight: 700;
}

.post-navigation .nav-next a::after {
    color: var(--color-blue);
    font-weight: 700;
}

@media (max-width: 768px) {
    .post-navigation {
        flex-direction: column;
        align-items: stretch;
    }

    .post-navigation .nav-previous,
    .post-navigation .nav-next{
        width: 100%;
    }

    .post-navigation a {
        width: 100%;
        text-align: center;
    }
}
/* === ДРЕВОВИДНАЯ КАРТА САЙТА === */
.site-map {
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Общие стили списков */
.site-map ul {
    list-style: none;
    margin: 0;
    padding-left: 20px;
    position: relative;
}

/* Вертикальные линии */
.site-map ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8px;
    width: 1px;
    height: 100%;
    background: #ccc;
}

/* Элементы дерева */
.site-map li {
    position: relative;
    padding: 6px 0 6px 20px;
}

/* Горизонтальная ветка */
.site-map li::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 12px;
    height: 1px;
    background: #ccc;
}

/* Ссылки */
.site-map a {
    color: #0073aa;
    text-decoration: none;
    position: relative;
    transition: color 0.1s ease;
}

/* Подчеркивание с анимацией */
.site-map a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 1px;
    background-color: #005177;
    transition: width 0.1s ease;
}

/* Ховер */
.site-map a:hover {
    color: #005177;
}

.site-map a:hover::after {
    width: 100%;
}

.site-map > ul > li:first-child::before {
    top: 20px; /* или другое значение для подгонки */
}

/* Заголовки категорий */
.site-map strong > a {
    font-weight: 600;
    font-size: 18px;
}

/* Отступ для первого уровня */
.site-map > ul {
    padding-left: 0;
}

.site-map > ul::before {
    display: none;
}

/* Улучшения для адаптивности */
@media (max-width: 600px) {
    .site-map ul {
        padding-left: 14px;
    }
    .site-map li {
        padding-left: 16px;
    }
    .site-map strong > a {
        font-size: 16px;
    }
}
#html-site-map{
    text-align: center;
    width: 100%;
}

#site-map-link {
    font-size: 90%;
}

/* пагинация */

/* === Pagination styling === */
.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.nav-links .page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    background-color: #f5f5f5;
    transition: all 0.2s ease;
}

.nav-links .page-numbers:hover {
    background-color: #e5e5e5;
}

.nav-links .page-numbers.current {
    background-color: var(--accent-color, #1e73be);
    color: #fff;
    cursor: default;
}

/* arrows */
.nav-links .prev,
.nav-links .next {
    width: auto;
    padding: 0 18px;
    border-radius: 20px;
}

/* === Language-based translation of "Previous" and "Next" === */
/* default English text remains; override visually per language */

/* Ukrainian */
:lang(uk) .nav-links .prev::after { content: "Попередня"; }
:lang(uk) .nav-links .next::after { content: "Наступна"; }

:lang(ru) .nav-links .prev::after { content: "Предыдущая"; }
:lang(ru) .nav-links .next::after { content: "Следующая"; }

:lang(pl) .nav-links .prev::after { content: "Poprzednia"; }
:lang(pl) .nav-links .next::after { content: "Następna"; }

:lang(en) .nav-links .prev::after { content: "Previous"; }
:lang(en) .nav-links .next::after { content: "Next"; }

/* hide original text so only localized pseudo-element appears */
.nav-links .prev,
.nav-links .next {
    font-size: 0;
    position: relative;
}
.nav-links .prev::after,
.nav-links .next::after {
    font-size: 14px;
    color: inherit;
    font-weight: 600;
}
