/*!
Theme Name: AdamPay
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: 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: adampay
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

AdamPay is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/* Migrated from assets/css/theme-fonts.css */
/* Local fonts (РїР°РїРєР° /fonts РІ РєРѕСЂРЅРµ С‚РµРјС‹) вЂ” СЃРѕРѕС‚РІРµС‚СЃС‚РІРёРµ Elementor kit + Р±Р»РѕРє elementor-1320 */
@font-face {
  font-family: "TT Travels Next Trial Variable";
  src: url("./fonts/TT-Travels-Next-Trial-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* РўР° Р¶Рµ РіР°СЂРЅРёС‚СѓСЂР° РґР»СЏ font-style: italic/oblique (РёРЅР°С‡Рµ Р±СЂР°СѓР·РµСЂ РЅРµ Р±РµСЂС‘С‚ РЅР°С‡РµСЂС‚Р°РЅРёРµ РёР· РѕРґРЅРѕРіРѕ С‚РѕР»СЊРєРѕ normal). */
@font-face {
  font-family: "TT Travels Next Trial Variable";
  src: url("./fonts/TT-Travels-Next-Trial-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("./fonts/InterTight-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("./fonts/Gilroy-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

/* РўРѕРєРµРЅС‹ РєР°Рє --e-global-* РІ elementor-kit-12 */
.ap-sec-page-hero {
  --ap-primary: #f6f6f6;
  --ap-secondary: #8b8884;
  --ap-text: #040404;
  --ap-accent: #cd0b0b;
  --ap-white: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  color: var(--ap-text);
}

/* 144b709c: primary heading; РіСЂР°РґРёРµРЅС‚ РєР°Рє .elementor-1320 .elementor-element-144b709c .elementor-heading-title (wpo-minify-footer ~1603) */

/* 36e0a847: text-editor */
.ap-sec-page-hero .ph-lead {
  margin: 12px auto 0;
  padding: 0;
  max-width: 503px;
  width: 100%;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  text-align: center;
  color: var(--ap-text);
}
.ap-sec-page-hero .ph-lead p {
  margin: 0;
}

/* 1b50e6cc + 301ef1e7 .elementor-icon-box-title: Inter 22, С†РІРµС‚ text */
.ap-sec-page-hero .ph-inter {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ap-text);
}

/* 3e8e7183 / .elementor-heading-title РІ СЃСЃС‹Р»РєРµ вЂ” Gilroy 18, secondary, underline РІ Р±Р»РѕРєРµ .ap-sec-page-hero  .ph-contact-link a */
.ap-sec-page-hero .ph-contact-link,
.ap-sec-page-hero .ph-contact-link a {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

/* 37cfe7a0: РїСѓРЅРєС‚С‹ РјРµРЅСЋ = typography TEXT (18px Gilroy), С†РІРµС‚ secondary (wp_nav_menu) */
.ap-sec-page-hero .ph-primary-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 4px 12px;
}
.ap-sec-page-hero .ph-primary-nav ul > li {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.ap-sec-page-hero .ph-primary-nav a {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ap-secondary) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ap-sec-page-hero .ph-primary-nav a:hover,
.ap-sec-page-hero .ph-primary-nav a:focus {
  color: var(--ap-accent) !important;
}
.ap-sec-page-hero .ph-primary-nav a span {
  display: inline;
  color: inherit;
}

/* Главная: активный пункт меню по якорю секции (scroll-spy) */
.ap-sec-page-hero .ph-primary-nav a.is-active,
.ap-sec-page-hero .ph-primary-nav a.is-active span {
  color: var(--ap-accent) !important;
}

.ap-sec-page-hero .ph-primary-nav a.is-active {
  font-weight: 500;
}

.ap-mobile-nav__list > li > a.is-active {
  color: #cd0b0b;
  font-weight: 500;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* 7a4d5e7f: margin-top 10px, gap 4px РјРµР¶РґСѓ РєРѕР»РѕРЅРєР°РјРё; align-items center Сѓ СЂСЏРґР° вЂ” РёРЅР°С‡Рµ flex-1 СЂРѕРґРёС‚РµР»СЊ СЂР°СЃС‚СЏРіРёРІР°РµС‚ inner РїРѕ РІС‹СЃРѕС‚Рµ Рё С‚СЏРЅРµС‚ .ap-sec-page-hero  .ph-app / Р±Р°РЅРєРё РЅР° РІРµСЃСЊ СЌРєСЂР°РЅ. */
.ap-sec-page-hero .ph-cta-row {
  margin-top: 10px;
}
.ap-sec-page-hero .ph-cta-inner {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
}
@media (min-width: 768px) {
  .ap-sec-page-hero .ph-cta-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
  }
  .ap-sec-page-hero .ph-cta-inner > .ph-app,
  .ap-sec-page-hero .ph-cta-inner > .ph-banks-wrap {
    flex: 0 1 auto;
    min-width: 0;
  }
}

/* 2fb964a1: desktop 12Г—16, mobile 12Г—12; gap 12; radius 15 (mob) / 15 0 0 15 (desktop) */
.ap-sec-page-hero .ph-app {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  padding: 12px;
  background-color: var(--ap-primary);
  width: 100%;
  max-width: 100%;
  order: 2;
}
@media (min-width: 768px) {
  .ap-sec-page-hero .ph-app {
    order: 1;
    width: auto;
    max-width: none;
  }
}
.ap-sec-page-hero .ph-app .ph-app-icons {
  display: flex;
  align-items: center;
  gap: 9px;
}
.ap-sec-page-hero .ph-app .ph-app-icons a {
  border-radius: 6px;
  overflow: hidden;
}
.ap-sec-page-hero .ph-app .ph-app-icons a + a {
  margin-left: -5px;
}

/* 1b6cdbe7: column gap 6px */
.ap-sec-page-hero .ph-app .ph-app-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.ap-sec-page-hero .ph-app .ph-contact-link a {
  color: var(--ap-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ap-sec-page-hero .ph-app .ph-contact-link a:hover {
  color: var(--ap-accent);
}

.ap-sec-page-hero .ph-banks-wrap {
  width: 100%;
  max-width: 100%;
  order: 1;
}
@media (min-width: 768px) {
  .ap-sec-page-hero .ph-banks-wrap {
    order: 2;
    width: auto;
    max-width: min(100%, 22rem);
  }
}

.ap-sec-page-hero .ph-banks a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}
.ap-sec-page-hero .ph-banks .ph-banks-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.ap-sec-page-hero .ph-banks .ph-banks-title {
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ap-text);
  transition: color 0.3s ease;
}
.ap-sec-page-hero .ph-banks .ph-banks-desc {
  margin: 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--ap-secondary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s ease;
}
.ap-sec-page-hero .ph-banks a:hover .ph-banks-title,
.ap-sec-page-hero .ph-banks a:hover .ph-banks-desc {
  color: var(--ap-accent);
}

/*
 * Якоря: --ap-anchor-scroll-padding выставляет adampay-front-nav-scrollspy.js
 * по фактической геометрии .ph-sticky (scroll-padding-top / scroll-margin секций).
 */
html {
  overflow-x: clip;
  scroll-padding-top: var(--ap-anchor-scroll-padding);
}
body {
  overflow-x: clip;
}

/* 72fd57e1: 8px padding, gap 12, radius 12 (РјРѕР±) / 24 (в‰Ґ768), С‚РµРЅСЊ, Р±РµР»С‹Р№ С„РѕРЅ; sticky вЂ” РЅРµ РІРЅСѓС‚СЂРё overflow:hidden (РєР°СЂС‚РѕС‡РєР° РіРµСЂРѕСЏ Р±РµР· overflow, РєР»РёРї С‚РѕР»СЊРєРѕ РЅР° РґРµРєРѕСЂ-СЃР»РѕРµ). */
.ap-sec-page-hero .ph-sticky {
  position: sticky;
  top: 10px;
  z-index: 120;
  width: 100%;
  max-width: min(100%, 1200px);
  border-radius: 12px;
  box-shadow: 0 0 10px 0 rgb(0 0 0 / 0.2);
  background: var(--ap-white);
  padding: 8px 16px;
}
.ap-sec-page-hero .ph-sticky > .ph-sticky-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .ap-sec-page-hero .ph-sticky {
    width: 95%;
    max-width: 95%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 24px;
  }
}
@media (min-width: 768px) {
  .ap-sec-page-hero .ph-sticky {
    border-radius: 24px;
  }
}
@media (min-width: 1024px) {
  .ap-sec-page-hero .ph-sticky {
    width: 100%;
    max-width: min(100%, 1200px);
  }
}

/* JS (adampay-hero-sticky.js): fixed у верхнего края, плейсхолдер в потоке убирает скачок */
.ap-sec-page-hero #adampay-hero-sticky-root {
  width: 100%;
  max-width: 100%;
}
.ap-sec-page-hero .ph-sticky-placeholder {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}
.ap-sec-page-hero .ph-sticky.ph-sticky--fixed {
  position: fixed !important;
  top: 10px;
  left: 50%;
  right: auto;
  margin-left: 0;
  margin-right: 0;
  z-index: 200;
  width: min(calc(100vw - 32px), 1200px) !important;
  max-width: min(100%, 1200px) !important;
  box-sizing: border-box;
  transform: translateX(-50%);
}
/* Узкий экран: сетка/отступы героя другие; safe-area на вырезах */
@media (max-width: 767.98px) {
  .ap-sec-page-hero .ph-sticky.ph-sticky--fixed {
    top: max(10px, env(safe-area-inset-top, 0px));
    left: 50%;
    right: max(8px, env(safe-area-inset-right, 0px));
    transform: translateX(-50%);
  }
}
body.admin-bar .ap-sec-page-hero .ph-sticky.ph-sticky--fixed {
  top: 42px;
}
@media (max-width: 782px) {
  body.admin-bar .ap-sec-page-hero .ph-sticky.ph-sticky--fixed {
    top: max(56px, calc(46px + 10px));
  }
}

/* Hero (md+): header column must grow so .ph-sticky has a tall scroll range for position:sticky. */
@media (min-width: 768px) {
  #adampay-hero-cols {
    min-height: 0;
  }
  #adampay-hero-cols > header {
    display: flex;
    flex: 1 1 0%;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
  }
}

/* Контакты в шапке: span + CSS mask (как в Raydenko). */
.ap-sec-page-hero .ph-telegram {
  gap: 0.5rem;
}
.ap-sec-page-hero .ap-header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #040404;
  line-height: 0;
}
.ap-sec-page-hero .ap-header-contact-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* 3e281e07: Р»РѕРіРѕС‚РёРї 155Г—74 (РѕСЂРёРі. СЂР°Р·РјРµСЂС‹ РІС‘СЂСЃС‚РєРё) */
.ap-sec-page-hero .ph-logo img {
  width: 155px;
  height: 74px;
  max-width: 155px;
  object-fit: contain;
  display: block;
}

/* 36e0a847: РЅР° СѓР·РєРёС… СЌРєСЂР°РЅР°С… С‚РµРєСЃС‚ С€РёСЂРµ (Elementor) */
@media (max-width: 767px) {
  .ap-sec-page-hero .ph-lead {
    max-width: 100%;
  }
}

/* РўР°СЂРёС„С‹: Р·Р°РіРѕР»РѕРІРѕРє С€Р°РїРєРё вЂ” РєСѓСЂСЃРёРІ РєР°Рє РІ Elementor (e0be0f3 / oblique) */
#tarrifs [data-tr-heading] {
  font-style: italic;
}

/* РўР°СЂРёС„С‹: РїР»Р°С€РєР° РґР°С‚С‹ вЂ” РіСЂР°РґРёРµРЅС‚РЅР°СЏ В«СЂР°РјРєР°В» РєР°Рє elementor-973a90b::before */
[data-tr-date] {
  position: relative;
  isolation: isolate;
}

[data-tr-date]::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(45deg, rgb(255 255 255), rgb(255 255 255 / 0.15));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

[data-tr-date] > * {
  position: relative;
  z-index: 1;
}

/* РўР°СЂРёС„С‹: С†РІРµС‚Р° РєСѓСЂСЃРѕРІ (.buy / .sell; Р±Р»РѕРє #adam_tariffs РІРЅСѓС‚СЂРё #tarrifs) */
#tarrifs .buy {
  color: #cd0b0b;
}

#tarrifs .sell {
  color: #2bac63;
}

/* РўР°СЂРёС„С‹: РґРѕ РѕС‚РІРµС‚Р° API вЂ” pulse РЅР° Р±Р»РѕРєРµ РїРѕРґ С€Р°РїРєРѕР№ (РЅРµ РЅР° РіСЂР°РґРёРµРЅС‚Рµ) */
@keyframes tariffs-pulse {
  50% {
    opacity: 0.55;
  }
}

#adam_tariffs.loading,
#tariffs-sheets.loading {
  animation: tariffs-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  pointer-events: none;
}

#adam_tariffs:not(.loading),
#tariffs-sheets:not(.loading) {
  animation: none;
  opacity: 1;
  pointer-events: auto;
}

/* .ap-sec-services: РєР°СЂС‚РёРЅРєР°, СЃРµС‚РєР° Рё РєР°СЂС‚РѕС‡РєРё (РІРЅСѓС‚СЂРµРЅРЅРёРµ РѕС‚СЃС‚СѓРїС‹ вЂ” Tailwind) */
.ap-sec-services .svc-figure {
  margin: 34px 0 0;
}
.ap-sec-services .svc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  box-sizing: border-box;
}
.ap-sec-services .svc-grid > a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  border-radius: 12px;
  padding: 16px;
  background-color: #f6f6f6;
  border: 0;
  color: inherit;
  transition: background-color 0.2s ease;
}
.ap-sec-services .svc-grid > a:hover {
  background-color: #ebebeb;
}
.ap-sec-services .svc-grid > a:focus-visible {
  outline: 1px solid #040404;
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .ap-sec-services .svc-grid > a {
    width: 100%;
  }
}
@media (min-width: 768px) {
  .ap-sec-services .svc-grid > a {
    width: max-content;
    max-width: 100%;
  }
}
.ap-sec-services .svc-grid > a > span {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: #040404;
}
.ap-sec-services .svc-lead {
  margin: 24px 0 0;
  text-align: center;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  color: #040404;
}
.ap-sec-services .svc-lead p {
  margin: 0;
}

/* Секция хаба: не выше фикс-шапки; кольца и слои — внутри .sv-hub-stage */
.ap-sec-services-showcase.elementor-1360 {
  position: relative;
  z-index: 0;
}

/* .ap-sec-services-showcase — хаб + кольца в .sv-hub-stage (моб.: общий центр). */
.ap-sec-services-showcase .sv-hub-stage {
  isolation: isolate;
}

/* Кольца: внутри .group/e1360 — общий центр с кругом и текстом (моб. и десктоп). */
.ap-sec-services-showcase .sv-hub-rings {
  position: absolute;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
  inset: -56px;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .ap-sec-services-showcase .sv-hub-rings {
    aspect-ratio: 1/1;
    inset: -36px;
  }
}

/* Центр колец + анимация в одном transform (иначе rotate в @keyframes затирает translate из Tailwind). */
.ap-sec-services-showcase .sv-hub-rings > .sv-hub-ring-img {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
}

/* b — самый большой слой (зад), c — самый маленький (перед): видимый зазор между штрихами. */
.ap-sec-services-showcase .sv-hub-rings > .sv-hub-ring--b {
  z-index: 1;
}
.ap-sec-services-showcase .sv-hub-rings > .sv-hub-ring--a {
  z-index: 2;
}
.ap-sec-services-showcase .sv-hub-rings > .sv-hub-ring--c {
  z-index: 3;
}

/* Десктоп: чуть разнести радиусы штриховок (SVG одного центра — без «слитой» линии). */
@media (min-width: 768px) {
  .ap-sec-services-showcase .sv-hub-orbit .sv-hub-rings > .sv-hub-ring--b {
    width: 860px;
    max-width: none;
  }
  .ap-sec-services-showcase .sv-hub-orbit .sv-hub-rings > .sv-hub-ring--a {
    width: 700px;
    max-width: none;
  }
  .ap-sec-services-showcase .sv-hub-orbit .sv-hub-rings > .sv-hub-ring--c {
    width: 520px;
    max-width: none;
  }
}

.ap-sec-services-showcase .sv-ring-ccw {
  animation: adampay_sv_rotate_ccw 60s linear infinite;
}
.ap-sec-services-showcase .sv-ring-cw {
  animation: adampay_sv_rotate_cw 50s linear infinite;
}
@keyframes adampay_sv_rotate_ccw {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(-360deg);
  }
}
@keyframes adampay_sv_rotate_cw {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Оболочка nav: без hit-test в пустоте (клики до ссылок); nav теперь внутри .sv-hub-orbit. */
.ap-sec-services-showcase .sv-hub-orbit > nav {
  pointer-events: none;
}

/* .ap-sec-services-showcase вЂ” РєРЅРѕРїРєРё РІРѕРєСЂСѓРі С…Р°Р±Р° (Elementor 1360): РєРѕРѕСЂРґРёРЅР°С‚С‹ РІ CSS, С‡С‚РѕР±С‹ РЅРµ Р·Р°РІРёСЃРµС‚СЊ РѕС‚ arbitrary Tailwind transform РІ Р±РёР»РґРµ. */
.ap-sec-services-showcase .sv-hub-link {
  box-sizing: border-box;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  column-gap: 10px;
  row-gap: 10px;
  border-radius: 12px;
  background-color: #f6f6f6;
  color: #040404;
  text-decoration: none;
  transition: background-color 0.2s ease;
  pointer-events: auto;
}
.ap-sec-services-showcase .sv-hub-link:visited {
  color: #040404;
}
.ap-sec-services-showcase .sv-hub-link:hover {
  background-color: #ebebeb;
}
.ap-sec-services-showcase .sv-hub-link:focus-visible {
  outline: 1px solid #040404;
  outline-offset: 2px;
}
.ap-sec-services-showcase .sv-hub-link .sv-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-bottom: -6px;
  color: #040404;
}
.ap-sec-services-showcase .sv-hub-link .sv-ico svg {
  display: block;
  width: 32px;
  height: 32px;
}
.ap-sec-services-showcase .sv-hub-link .sv-label {
  flex: 0 1 auto;
  text-align: left;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.25;
  color: #040404;
}
@media (max-width: 767px) {
  .ap-sec-services-showcase .sv-hub-link {
    position: relative;
    left: auto;
    top: auto;
    right: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    max-width: none;
    padding: 16px;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-0 {
    margin-top: 40px;
  }
  .ap-sec-services-showcase .sv-hub-link .sv-label {
    font-size: 18px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .ap-sec-services-showcase .sv-hub-link {
    position: absolute;
    width: max-content;
    max-width: calc(100% - 20px);
    padding: 16px;
    transform: none;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-0 {
    left: 10px;
    top: 49px;
    right: auto;
    bottom: auto;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-1 {
    left: 10px;
    top: auto;
    right: auto;
    bottom: 10px;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-2 {
    right: 10px;
    left: auto;
    top: 10px;
    bottom: auto;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-3 {
    right: 10px;
    left: auto;
    top: auto;
    bottom: 82px;
  }
}
@media (min-width: 1024px) {
  .ap-sec-services-showcase .sv-hub-link {
    position: absolute;
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: none;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-0 {
    transform: translate(-50%, -50%) translate(-300px, -186px) !important;
    padding: 16px 108px 16px 16px;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-1 {
    transform: translate(-50%, -50%) translate(-411px, 55px) !important;
    padding: 16px 53px 16px 16px;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-2 {
    transform: translate(-50%, -50%) translate(340px, -84px) !important;
    padding: 16px 16px 16px 141px;
  }
  .ap-sec-services-showcase .sv-hub-link.sv-i-3 {
    transform: translate(-50%, -50%) translate(340px, 157px) !important;
    padding: 16px 16px 16px 169px;
  }
}

/* #advantages (elementor-1357): СЂР°Р·РјРµС‚РєР° Рё С‚РёРїРѕРіСЂР°С„РёРєР° РІ front-page.php (Tailwind). */

/* #adampay_payment_mosaic (elementor-1354): СЂР°Р·РјРµС‚РєР° РІ front-page.php (Tailwind). */

/* Section heading sizing now comes from .gradient-heading + Tailwind utilities in templates. */

/* .ap-sec-reviews вЂ” Elementor 1372: primary 22/60 + uppercase (kit primary); Р±СЂРµРЅРґ В«adampayВ» вЂ” Р±РµР· uppercase РІ СЂР°Р·РјРµС‚РєРµ. */
.ap-sec-reviews .rv-main {
  margin: 0;
  max-width: 100%;
  font-family: "TT Travels Next Trial Variable", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  text-align: start;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ap-sec-reviews .rv-prefix {
  font-size: 22px;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1024px) {
  .ap-sec-reviews .rv-prefix {
    font-size: 60px;
  }
}

.ap-sec-reviews .rv-join {
  margin-top: 0;
}

.ap-sec-reviews .rv-brand {
  color: #cd0b0b;
  font-size: 22px;
  text-transform: none;
}

@media (min-width: 1024px) {
  .ap-sec-reviews .rv-brand {
    font-size: 60px;
  }
}

/* В«?В» вЂ” РєР°Рє 6cd99f0f */
.ap-sec-reviews .rv-suffix {
  font-size: 22px;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (min-width: 1024px) {
  .ap-sec-reviews .rv-suffix {
    font-size: 60px;
  }
}

.ap-sec-reviews .rv-intro {
  box-sizing: border-box;
  width: 100%;
  max-width: 710px;
  margin: 0;
  text-align: start;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #040404;
}

@media (min-width: 768px) {
  .ap-sec-reviews .rv-intro {
    font-size: 18px;
  }
}

.ap-sec-reviews .rv-intro p {
  margin-block-end: 8px;
}

.ap-sec-reviews .rv-intro p:last-child {
  margin-block-end: 0;
}

.ap-sec-reviews .rv-intro strong {
  font-weight: 600;
}

.ap-sec-reviews .rv-grid {
  display: grid;
  box-sizing: border-box;
  grid-template-columns: minmax(0, 1fr);
  gap: 25px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .ap-sec-reviews .rv-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ap-sec-reviews .rv-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ap-sec-reviews .rv-card {
  box-sizing: border-box;
  min-width: 0;
  border-radius: 24px;
  padding: 24px;
  background-color: #f6f6f6;
  font-size: 16px;
}

@media (min-width: 768px) {
  .ap-sec-reviews .rv-card {
    font-size: 18px;
  }
}

.ap-sec-reviews .rv-card .rv-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ap-sec-reviews .rv-text {
  margin: 0 0 20px;
  max-width: 100%;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 1.3em;
  font-weight: 400;
  line-height: 1.3;
  color: #040404;
  text-align: center;
}

.ap-sec-reviews .rv-meta {
  margin: 0;
  width: 100%;
  text-align: center;
}

.ap-sec-reviews .rv-meta-inner {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: start;
}

.ap-sec-reviews .rv-image {
  flex-shrink: 0;
  padding-inline-end: 15px;
}

.ap-sec-reviews .rv-image img {
  display: block;
  width: 60px;
  height: 60px;
  max-width: none;
  border-radius: 50%;
  object-fit: cover;
}

.ap-sec-reviews .rv-avatar-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e8e8e8;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #040404;
}

.ap-sec-reviews .rv-details {
  display: block;
}

.ap-sec-reviews .rv-name {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: #040404;
  text-decoration: none;
}

@media (min-width: 768px) {
  .ap-sec-reviews .rv-name {
    font-size: 22px;
  }
}

.ap-sec-reviews .rv-name:hover,
.ap-sec-reviews .rv-name:focus {
  color: #cd0b0b;
}

/* #form вЂ” Elementor 1336 / 1684f947: СЂСЏРґ РєР°СЂС‚РёРЅРєР° + РєРѕР»РѕРЅРєР°; CF7 + intl-tel-input */
section.form-contact .cf7-shell {
  box-sizing: border-box;
}

section.form-contact .cf7-layout {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 25px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  section.form-contact .cf7-layout {
    flex-direction: row;
    align-items: center;
  }
}

section.form-contact .cf7-media {
  box-sizing: border-box;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
}

@media (min-width: 1024px) {
  section.form-contact .cf7-media {
    flex: 0 1 min(48%, 520px);
    max-width: min(48%, 520px);
  }
}

section.form-contact .cf7-media-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
}

section.form-contact .cf7-col {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  box-sizing: border-box;
}

.gradient-heading {
  margin: 0;
  max-width: none;
  width: 100%;
  padding: 0;
  text-align: start;
  font-family: "TT Travels Next Trial Variable", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 22px;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

@media (min-width: 1024px) {
  .gradient-heading {
    font-size: 60px;
  }
}

section.form-contact .cf7-form {
  margin-top: 15px;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

section.form-contact .cf7-form .wpcf7-form {
  margin: 0;
  font-family: "Gilroy", system-ui, sans-serif;
}

section.form-contact .cf7-form .wpcf7-form > p {
  margin: 20px 0 0;
}

section.form-contact .cf7-form .wpcf7-form > p:first-child {
  margin-top: 0;
}

section.form-contact .cf7-form .wpcf7-form label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #8b8884;
}

section.form-contact
  .cf7-form
  .wpcf7-form-control-wrap:where(
    :has(.wpcf7-text),
    :has(.wpcf7-tel),
    :has(input[type="tel"]),
    :has(textarea.wpcf7-textarea)
  ) {
  display: block;
  box-sizing: border-box;
  overflow: hidden;
  border: 6px solid #f6f6f6;
  border-radius: 24px;
  background-color: #fff;
  transition: all 0.3s ease;
}

section.form-contact
  .cf7-form
  .wpcf7-form-control-wrap:where(
    :has(.wpcf7-text),
    :has(.wpcf7-tel),
    :has(input[type="tel"]),
    :has(textarea.wpcf7-textarea)
  ):focus-within {
  border-color: #dfdfdf;
}

section.form-contact .cf7-form .wpcf7-form .wpcf7-text,
section.form-contact .cf7-form .wpcf7-form .wpcf7-tel,
section.form-contact .cf7-form .wpcf7-form input[type="text"],
section.form-contact .cf7-form .wpcf7-form input[type="tel"],
section.form-contact .cf7-form .wpcf7-form textarea.wpcf7-textarea {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding: 16px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #040404;
  background-color: transparent;
  padding-left: 50px;
  position: relative;
}

section.form-contact .wpcf7-form-control-wrap[data-name="your-name"]::after {
  content: url("/wp-content/uploads/2026/04/frame.svg");
  position: absolute;
  left: 14px;
  top: 48%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
}

section.form-contact .cf7-form .iti {
  width: 100%;
}

section.form-contact .cf7-form .iti__flag-container {
  border-radius: 0;
}

section.form-contact .cf7-form .iti__selected-flag {
  border-radius: 0;
}

/* intl-tel-input: список вешаем на body в adampay-cf7-tel.js — z-index, чтобы не уходил под следующие секции */
.iti__country-list {
  z-index: 10050;
}

/* 1cb7626: СЃРІРµС‚Р»Р°СЏ РєРЅРѕРїРєР°, hover вЂ” Р·Р°Р»РёРІРєР° С‚РµРєСЃС‚РѕРІС‹Рј С†РІРµС‚РѕРј */
section.form-contact .cf7-form .wpcf7-submit {
  display: block;
  box-sizing: border-box;
  width: fit-content !important;
  margin-top: 20px;
  cursor: pointer;
  border: 0;
  border-radius: 10px;
  padding: 16px;
  background-color: #cd0b0b;
  color: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

@media (min-width: 1024px) {
  section.form-contact .cf7-form .wpcf7-submit {
    width: auto;
    min-width: min(100%, 280px);
  }
}

section.form-contact .cf7-form .wpcf7-submit:hover,
section.form-contact .cf7-form .wpcf7-submit:focus-visible {
  background-color: #040404;
  color: #fff;
}

section.form-contact .cf7-form .wpcf7-submit:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 3px;
}

section.form-contact .cf7-form .wpcf7-spinner {
  margin-left: 8px;
  vertical-align: middle;
}

section.form-contact .cf7-form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 14px;
}

section.form-contact .cf7-form .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 14px;
  border-width: 1px;
  border-radius: 12px;
  font-size: 14px;
}

section.form-contact .cf7-missing {
  margin: 0;
  font-size: 14px;
  color: #666;
}

/* .ap-sec-team вЂ” Elementor 1330: boxed ~1140px, СЃРµС‚РєР° 5в†’3в†’2, gap 25/12; СЂР°РјРєР° С„РѕС‚Рѕ = --e-global-color-primary (#F6F6F6), РЅРµ text. */
.ap-sec-team .gradient-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
  width: 100%;
  padding: 0;
  text-align: center;
  font-family: "TT Travels Next Trial Variable", system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 22px;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

@media (min-width: 1024px) {
  .ap-sec-team .gradient-heading {
    font-size: 60px;
  }
}

.ap-sec-team .team-grid {
  box-sizing: border-box;
  width: 100%;
}

.ap-sec-team .team-card {
  box-sizing: border-box;
  min-width: 0;
  text-align: start;
}

.ap-sec-team .team-photo {
  margin: 0;
  width: 100%;
  max-width: none;
  overflow: hidden;
  box-sizing: border-box;
  border: 4px solid #f6f6f6;
  border-radius: 24px;
  background-color: #fff;
}

.ap-sec-team .team-img {
  display: block;
  width: 100%;
  height: 16vw;
  object-fit: cover;
  object-position: center center;
}

@media (max-width: 1024px) {
  .ap-sec-team .team-img {
    height: 236px;
    max-height: none;
  }
}

@media (max-width: 767px) {
  .ap-sec-team .team-img {
    height: 205px;
  }
}

.ap-sec-team .team-img--placeholder {
  background: linear-gradient(145deg, #ededed 0%, #e0e0e0 100%);
}

.ap-sec-team .team-name {
  margin: 16px 0 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
  text-transform: none;
  letter-spacing: 0;
  color: #040404;
}

@media (min-width: 768px) {
  .ap-sec-team .team-name {
    font-size: 22px;
  }
}

.ap-sec-team .team-role {
  margin: 8px 0 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #8b8884;
}

@media (min-width: 768px) {
  .ap-sec-team .team-role {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
 * РЎРµРєС†РёСЏ РѕР±РјРµРЅР° + 3D (.section-exchange-3d, data-id 0f5a22a / Elementor 1348 + kit-12).
 * Р Р°Р·РјРµСЂС‹ Р·Р°РіРѕР»РѕРІРєР° вЂ” РєР°Рє РІ kit; РѕСЃС‚Р°Р»СЊРЅР°СЏ С‚РёРїРѕРіСЂР°С„РёРєР° вЂ” Tailwind РІ front-page.
 * -------------------------------------------------------------------------- */
.section-exchange-3d {
  color: #040404;
  --ap-text: #040404;
  --ap-secondary: #8b8884;
  --ap-z-primary-size: 60px;
  --ap-z-primary-lh: 1;
}

@media (max-width: 767px) {
  .section-exchange-3d {
    --ap-z-primary-size: 22px;
    --ap-z-primary-lh: 1;
  }
}

/* Primary heading for exchange section */
.section-exchange-3d .gradient-heading {
  box-sizing: border-box;
  margin: 0;
  max-width: none;
  width: 100%;
  text-align: left;
  font-size: var(--ap-z-primary-size);
  line-height: var(--ap-z-primary-lh);
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 0;
}

dialog.ap-mobile-nav {
  --ap-mobile-nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ap-mobile-nav-dur: 0.38s;

  box-sizing: border-box;
  margin: 0 0 0 auto;
  width: min(100vw - 16px, 20rem);
  height: 100%;
  max-height: 100dvh;
  border: none;
  padding: 0;
  background: #fff;
  color: #040404;
  box-shadow: -4px 0 24px rgb(0 0 0 / 0.12);

  opacity: 0;
  transform: translateX(100%);

  transition:
    opacity var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease),
    transform var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease),
    overlay var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease) allow-discrete,
    display var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease) allow-discrete;
}

dialog.ap-mobile-nav[open] {
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: translateX(0);
}

dialog.ap-mobile-nav::backdrop {
  --ap-mobile-nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ap-mobile-nav-dur: 0.38s;

  background-color: rgb(4 4 4 / 0%);
  transition:
    background-color var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease),
    overlay var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease) allow-discrete,
    display var(--ap-mobile-nav-dur) var(--ap-mobile-nav-ease) allow-discrete;
}

dialog.ap-mobile-nav[open]::backdrop {
  background-color: rgb(4 4 4 / 0.45);
}

@starting-style {
  dialog.ap-mobile-nav[open] {
    opacity: 0;
    transform: translateX(100%);
  }

  dialog.ap-mobile-nav[open]::backdrop {
    background-color: rgb(4 4 4 / 0%);
  }
}

@media (prefers-reduced-motion: reduce) {
  dialog.ap-mobile-nav,
  dialog.ap-mobile-nav::backdrop {
    --ap-mobile-nav-dur: 0.01ms;
  }
}

.ap-mobile-nav__head {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e8e8e8;
}

.ap-mobile-nav__title {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: #040404;
}

.ap-mobile-nav__close {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.5rem;
  background: #f6f6f6;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: #040404;
  cursor: pointer;
}

.ap-mobile-nav__close:hover {
  background: #ebebeb;
}

.ap-mobile-nav__close:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 2px;
}

.ap-mobile-nav__scroll {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 1rem;
}

.ap-mobile-nav__list {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.ap-mobile-nav__list > li > a {
  display: block;
  padding: 0.5rem 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  color: #040404;
  text-decoration: none;
}

.ap-mobile-nav__list > li > a:hover,
.ap-mobile-nav__list > li > a:focus-visible {
  color: #cd0b0b;
}

.ap-mobile-nav__list > li > a:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Migrated from assets/css/section-exchange-3d.css */
/* GLB-РєРѕРЅС‚РµР№РЅРµСЂС‹ РІ СЃРµРєС†РёРё РѕР±РјРµРЅР° (data-id 0f5a22a): РІС‹СЃРѕС‚Р° Р·Р°РґР°С‘С‚СЃСЏ Tailwind РЅР° #exchange-*. */
.section-exchange-3d #exchange-2,
.section-exchange-3d #exchange-3,
.section-exchange-3d #exchange-4,
.section-exchange-3d #exchange-5 {
  position: relative;
  width: 100%;
}
.section-exchange-3d #exchange-2 canvas,
.section-exchange-3d #exchange-3 canvas,
.section-exchange-3d #exchange-4 canvas,
.section-exchange-3d #exchange-5 canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
    Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
  background: #fff;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

img {
  height: auto;
  max-width: 100%;
}

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* Links
--------------------------------------------- */
a {
  color: #4169e1;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:hover,
a:active {
  outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
  display: block;
  width: 100%;
}

.main-navigation ul {
  display: none;
  list-style: none;
  margin: 0;
  padding-left: 0;
}

.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}

.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}

.main-navigation ul ul a {
  width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
  display: block;
}

@media screen and (min-width: 37.5em) {
  .menu-toggle {
    display: none;
  }

  .main-navigation ul {
    display: flex;
  }
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
  margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
  display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
  flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
  text-align: end;
  flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.updated:not(.published) {
  display: none;
}

.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}

.page-links {
  clear: both;
  margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
  margin: 0 0 1.5em;
}

.widget select {
  max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
 * Прелоадер (Custom Logo), см. template-parts/site-preloader.php.
 * -------------------------------------------------------------------------- */
body.ap-preloader-active {
  overflow: hidden;
}

.ap-site-preloader {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1.5rem;
  box-sizing: border-box;
  background: #fff;
  transition:
    opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-site-preloader__mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-site-preloader__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(200px, 55vw);
  max-height: min(120px, 22vh);
  object-fit: contain;
  animation: ap-site-preloader-pulse 1.35s ease-in-out infinite;
}

@keyframes ap-site-preloader-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.82;
    transform: scale(0.97);
  }
}

html.ap-preloader-done .ap-site-preloader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ap-site-preloader {
    transition-duration: 0.01ms;
  }

  .ap-site-preloader__logo {
    animation: none;
  }
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
  display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}

.wp-caption-text {
  text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}

.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}

.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
  display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  /*rtl:ignore*/
  float: left;

  /*rtl:ignore*/
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  /*rtl:ignore*/
  float: right;

  /*rtl:ignore*/
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# AdamPay front вЂ” СЃРµРєС†РёСЏ РѕР±РјРµРЅР° .section-exchange-3d (data-id 0f5a22a)
Р“Р»РѕР±Р°Р»СЊРЅС‹Рµ РїСЂР°РІРёР»Р° Underscores РІС‹С€Рµ (body, a, p, h1вЂ“h6) РЅРµ РґРѕР»Р¶РЅС‹ Р»РѕРјР°С‚СЊ Tailwind-РІС‘СЂСЃС‚РєСѓ.
Р”РѕРї. С‚РёРїРѕРіСЂР°С„РёРєР° (РіСЂР°РґРёРµРЅС‚ Р·Р°РіРѕР»РѕРІРєР°): assets/css/theme-fonts.css.
--------------------------------------------------------------*/
.site-main .section-exchange-3d p {
  margin-bottom: 0;
}

.site-main .section-exchange-3d h2 {
  clear: none;
}

.site-main .section-exchange-3d a {
  text-decoration: none;
}

/*--------------------------------------------------------------
# AdamPay front вЂ” Р±Р»РѕРє С‚Р°СЂРёС„РѕРІ (#tarrifs / elementor-936)
РўР° Р¶Рµ РёРґРµСЏ: Р±Р°Р·РѕРІР°СЏ С‚РёРїРѕРіСЂР°С„РёРєР° С‚РµРјС‹ РЅРµ РґРѕР»Р¶РЅР° РїРµСЂРµР±РёРІР°С‚СЊ РІС‘СЂСЃС‚РєСѓ СЃРµРєС†РёРё.
--------------------------------------------------------------*/
.site-main #tarrifs p {
  margin-bottom: 0;
}

.site-main #tarrifs h1,
.site-main #tarrifs h2,
.site-main #tarrifs h3,
.site-main #tarrifs h4,
.site-main #tarrifs h5,
.site-main #tarrifs h6 {
  clear: none;
}

.site-main #tarrifs a {
  text-decoration: none;
}

/*--------------------------------------------------------------
# AdamPay вЂ” РїРѕР»РѕСЃР° РїРѕР»РёС‚РёРєРё РІ С„СѓС‚РµСЂРµ (data-id c3022a4, Tailwind РІ С€Р°Р±Р»РѕРЅРµ)
Р“Р»РѕР±Р°Р»СЊРЅС‹Рµ СЃС‚РёР»Рё СЃСЃС‹Р»РѕРє Underscores РїРµСЂРµР±РёРІР°СЋС‚ С†РІРµС‚ С‚РµРєСЃС‚Р° РїРѕР»РёС‚РёРєРё.
--------------------------------------------------------------*/
.site-footer [data-id="c3022a4"] a {
  color: #040404;
  text-decoration: none;
}

.site-footer [data-id="c3022a4"] a:hover,
.site-footer [data-id="c3022a4"] a:focus,
.site-footer [data-id="c3022a4"] a:active,
.site-footer [data-id="c3022a4"] a:visited {
  color: #040404;
}

.site-footer [data-id="c3022a4"] a:hover,
.site-footer [data-id="c3022a4"] a:focus {
  text-decoration: underline;
}

/* Крупный код на 404 — div (не p), градиент как у .gradient-heading; !important — перебить Tailwind base */
.ap-sec-error-404 .ap-404-code {
  display: block;
  margin: 0 auto 0.35rem;
  padding: 0;
  font-family: "TT Travels Next Trial Variable", system-ui, sans-serif;
  font-size: clamp(4rem, 16vw, 8.5rem) !important;
  font-weight: 800;
  line-height: 0.95 !important;
  letter-spacing: -0.04em;
  text-align: center;
  color: #2f2f2f;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}

/* 404: строка поиска — как поля CF7 (form-contact), без ::after-иконки и без padding-left под иконку */
.ap-sec-error-404 .ap404-cf7-like {
  width: 100%;
  max-width: none;
  margin: 0;
  box-sizing: border-box;
}

.ap-sec-error-404 .ap404-search-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  margin: 0;
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .ap-sec-error-404 .ap404-search-form {
    flex-direction: row;
    align-items: flex-end;
    gap: 16px;
  }
}

.ap-sec-error-404 .ap404-field-wrap {
  display: block;
  box-sizing: border-box;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border: 6px solid #f6f6f6;
  border-radius: 24px;
  background-color: #fff;
}

.ap-sec-error-404 .ap404-field-wrap input[type="search"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
  padding: 16px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #040404;
  background-color: transparent;
  -webkit-appearance: none;
  appearance: none;
}

.ap-sec-error-404 .ap404-field-wrap input[type="search"]::placeholder {
  color: rgb(4 4 4 / 0.4);
}

.ap-sec-error-404 .ap404-submit {
  border: 6px solid #cd0b0b;
  display: block;
  box-sizing: border-box;
  width: fit-content;
  margin: 0;
  cursor: pointer;
  border-radius: 10px;
  padding: 16px;
  background-color: #cd0b0b;
  color: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

@media (min-width: 640px) {
  .ap-sec-error-404 .ap404-submit {
    width: auto;
    min-width: min(100%, 280px);
    flex: 0 0 auto;
  }
}

.ap-sec-error-404 .ap404-submit:hover,
.ap-sec-error-404 .ap404-submit:focus-visible {
  background-color: #040404;
  color: #fff;
  border: 6px solid #040404;
}

.ap-sec-error-404 .ap404-submit:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 3px;
}

.gradient-heading {
  margin: 0 auto;
  max-width: 22ch;
  font-family: "TT Travels Next Trial Variable", system-ui, sans-serif;
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-align: center;
  background: #2f2f2f;
  background: linear-gradient(to right, #2f2f2f 0%, #5b5b5b 50%, #202020 100%);
  -webkit-text-fill-color: #fff0;
  -webkit-background-clip: text;
  background-clip: text;
}

@media (max-width: 768px) {
  .gradient-heading {
    font-size: 22px;
  }
}

/* Страница калькулятора: заглушка при ошибке API (как секции сайта, градиентный заголовок слева в панели) */
.ap-calculator-fallback .gradient-heading {
  margin: 0;
  max-width: none;
  text-align: left;
}

.calculator-wrapper .ts-control,
.calculator-wrapper input {
  padding: 16px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  color: #040404;
  background-color: transparent;
  overflow: hidden;
  border: 6px solid #f6f6f6;
  border-radius: 24px;
  background-color: #fff;
  width: 100%;
  outline: none;
  transition: all 0.3s ease;
}

.calculator-wrapper .iti {
	border-radius: 24px;
	overflow: hidden;
}

.calculator-wrapper .ts-control:focus-within,
.calculator-wrapper input:focus-within {
  border-color: #dfdfdf;
}

/* Калькулятор: таймер — фоновый track + заполняющееся #040404 кольцо (data-seconds) */
.ap-rate-timer__track {
  fill: #f6f6f6;
}

.ap-rate-timer__progress {
  fill: none;
  stroke: #040404;
  stroke-width: 9;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.9s linear;
}

.calculator-wrapper {
  font-family: "Gilroy", system-ui, sans-serif;
  overflow: visible;
}

.calculator-wrapper .ts-wrapper {
  position: relative;
}

.calculator-wrapper .ts-wrapper.dropdown-active .ts-control {
  overflow: visible;
}

.calculator-wrapper .ts-dropdown {
  z-index: 100;
}

.calculator-wrapper .iti {
  width: 100%;
}

.calculator-wrapper .iti input {
  width: 100%;
  box-sizing: border-box;
}

.calculator-wrapper label {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  color: #8b8884;
}

.calculator-wrapper .filter-type button {
  padding: 8px 16px;
  border-radius: 10px;
  background-color: #040404;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: "Gilroy", system-ui, sans-serif;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #040404;
}

.calculator-wrapper .filter-type button:hover {
  background-color: #fff;
  color: #040404;
}

.calculator-wrapper .filter-type button.active {
  background-color: #cd0b0b;
  color: #fff;
  border: 1px solid #cd0b0b;
}

.calculator-wrapper button[type="submit"] {
  padding: 16px;
  border-radius: 10px;
  background-color: #cd0b0b;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  font-family: "Gilroy", system-ui, sans-serif;
  line-height: 1.2;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid #cd0b0b;
  width: 100%;
}

.calculator-wrapper button[type="submit"]:hover {
  background-color: #040404;
  color: #fff;
  border: 1px solid #040404;
}

.calculator-wrapper button[type="submit"]:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .calculator-wrapper .ts-control,
  .calculator-wrapper input {
    padding: 12px 14px;
    font-size: 15px;
    border-width: 4px;
    border-radius: 18px;
  }

  .calculator-wrapper .filter-type button {
    padding: 6px 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  .calculator-wrapper label {
    font-size: 14px;
  }

  .calculator-wrapper button[type="submit"] {
    padding: 14px;
    font-size: 15px;
  }
}

@media (max-width: 1023px) {
  .calculator-wrapper .ts-wrapper .ts-dropdown {
    max-width: min(100vw - 24px, 520px);
    box-sizing: border-box;
  }

  .calculator-wrapper .ts-wrapper.single .ts-control {
    max-width: 100%;
  }
}

/* --------------------------------------------------------------------------
 * Согласие на cookie (фикс. снизу справа).
 * -------------------------------------------------------------------------- */

.ap-cookie-consent {
  position: fixed;
  z-index: 100000;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  max-width: min(360px, calc(100vw - 32px));
  padding: 20px 20px 16px;
  margin: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  font-family: "Gilroy", system-ui, sans-serif;
  transform: translate3d(0, 0, 0);
  opacity: 1;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.ap-cookie-consent.ap-cookie-consent--off {
  transform: translate3d(0, calc(100% + 28px), 0);
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .ap-cookie-consent {
    transition-duration: 0.01ms;
  }
}

.ap-cookie-consent__text {
  margin: 0 0 16px;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: #040404;
  text-align: left;
}

.ap-cookie-consent__btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-radius: 12px;
  background-color: #cd0b0b;
  color: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ap-cookie-consent__btn:hover,
.ap-cookie-consent__btn:focus-visible {
  color: #040404;
}

.ap-cookie-consent__btn:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Простая страница (page.php): заголовок + текст.
 * -------------------------------------------------------------------------- */

.ap-page-simple {
  color: #040404;
}

.ap-page-simple__article {
  margin: 0;
  padding: 0;
}

.ap-page-simple__header {
  margin: 0;
  padding: 0;
}

.ap-page-simple__title {
  margin: 0;
  padding: 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #040404;
}

@media (min-width: 768px) {
  .ap-page-simple__title {
    font-size: 46px;
  }
}

.ap-page-simple__content {
  margin: 24px 0 0;
  padding: 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: #040404;
}

@media (max-width: 767px) {
  .ap-page-simple__content {
    font-size: 16px;
    margin-top: 20px;
  }
}

.ap-page-simple__content > *:first-child {
  margin-top: 0;
}

.ap-page-simple__content p {
  margin: 0 0 1em;
}

.ap-page-simple__content p:last-child {
  margin-bottom: 0;
}

.ap-page-simple__content ul,
.ap-page-simple__content ol {
  margin: 0 0 1em;
  padding-left: 1.25em;
}

.ap-page-simple__content a {
  color: #cd0b0b;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ap-page-simple__content a:hover,
.ap-page-simple__content a:focus-visible {
  color: #040404;
}

.ap-page-simple .entry-footer {
  margin-top: 2rem;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
}

.ap-page-simple .entry-footer a {
  color: #cd0b0b;
}

.ap-page-simple .entry-footer a:focus-visible {
  outline: 2px solid #040404;
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
 * Ленты записей (archive / index / search) и WooCommerce: три сетки + токены как на главной.
 * -------------------------------------------------------------------------- */

.ap-list-shell {
  color: #040404;
}

.ap-posts-grid {
  display: grid;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .ap-posts-grid {
    gap: 12px;
  }
}

/* Первый — широкий, остальные — две колонки (как «герой + сетка» на главной). */
.ap-posts-grid--wide-first {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .ap-posts-grid--wide-first {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ap-posts-grid--wide-first > .ap-archive-card-article--featured {
    grid-column: 1 / -1;
  }
}

/* Сетка карточек (поиск, связанные товары). */
.ap-posts-grid--dense {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .ap-posts-grid--dense {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ap-posts-grid--dense {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.ap-archive-card-article {
  margin: 0;
  min-width: 0;
}

.ap-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Gilroy", system-ui, sans-serif;
}

.ap-pagination a,
.ap-pagination span {
  display: inline-flex;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  color: #040404;
  background-color: #f6f6f6;
  border: 1px solid #d9d8d3;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.ap-pagination a:hover,
.ap-pagination a:focus-visible {
  background-color: #040404;
  color: #f6f6f6;
  border-color: #040404;
  outline: none;
}

.ap-pagination .current {
  background-color: #cd0b0b;
  color: #fff;
  border-color: #cd0b0b;
}

.ap-pagination .dots {
  background: transparent;
  border-color: transparent;
}

/* WooCommerce: кирпичная кладка в каталоге */
ul.products.ap-wc-products--masonry {
  display: block;
  column-count: 2;
  column-gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 1024px) {
  ul.products.ap-wc-products--masonry {
    column-count: 3;
    column-gap: 14px;
  }
}

ul.products.ap-wc-products--masonry > li.product {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 0 12px;
  break-inside: avoid;
  page-break-inside: avoid;
  display: block;
}

@media (min-width: 1024px) {
  ul.products.ap-wc-products--masonry > li.product {
    margin-bottom: 14px;
  }
}

/* WooCommerce: сетка связанных / апселлов на странице товара */
.ap-wc-single .related ul.products,
.ap-wc-single .upsells.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .ap-wc-single .related ul.products,
  .ap-wc-single .upsells.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

.ap-wc-single .related ul.products > li.product,
.ap-wc-single .upsells.products > li.product {
  float: none;
  width: 100% !important;
  max-width: none;
  margin: 0;
}

.ap-wc-single .related > h2,
.ap-wc-single .upsells > h2 {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.2;
  color: #040404;
  margin: 2rem 0 1rem;
}

@media (min-width: 1024px) {
  .ap-wc-single .related > h2,
  .ap-wc-single .upsells > h2 {
    font-size: 28px;
  }
}

/* --------------------------------------------------------------------------
 * Одиночная статья, навигация и комментарии
 * -------------------------------------------------------------------------- */

.ap-single-post__breadcrumb {
  margin: 0 0 20px;
}

.ap-single-post__breadcrumb-link {
  display: inline-flex;
  align-items: center;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #8b8884;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ap-single-post__breadcrumb-link:hover,
.ap-single-post__breadcrumb-link:focus-visible {
  color: #cd0b0b;
  outline: none;
}

.ap-single-post__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.3;
  color: #8b8884;
}

.ap-single-post__meta a {
  color: inherit;
  text-decoration: none;
}

.ap-single-post__meta a:hover,
.ap-single-post__meta a:focus-visible {
  color: #040404;
}

.ap-single-post__meta-sep {
  color: #d9d8d3;
}

.ap-single-post__figure {
  margin: 28px 0 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d9d8d3;
  background: #f6f6f6;
}

.ap-single-post__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ap-single-post__content h2,
.ap-single-post__content h3,
.ap-single-post__content h4 {
  margin: 1.5em 0 0.6em;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #040404;
}

.ap-single-post__content h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.ap-single-post__content h3 {
  font-size: clamp(18px, 2.5vw, 24px);
}

.ap-single-post__footer {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d9d8d3;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  color: #8b8884;
}

.ap-single-post__tags-label {
  margin-right: 8px;
  color: #040404;
}

.ap-single-post__tags a {
  display: inline-block;
  margin: 4px 8px 4px 0;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #d9d8d3;
  background: #f6f6f6;
  color: #040404;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ap-single-post__tags a:hover,
.ap-single-post__tags a:focus-visible {
  background: #040404;
  border-color: #040404;
  color: #fff;
}

.ap-post-nav {
  margin: 3rem 0 0;
  padding-top: 2rem;
  border-top: 1px solid #d9d8d3;
}

.ap-post-nav .nav-links {
  display: grid;
  gap: 12px;
}

@media (min-width: 768px) {
  .ap-post-nav .nav-links {
    grid-template-columns: 1fr 1fr;
  }
}

.ap-post-nav .nav-previous a,
.ap-post-nav .nav-next a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #d9d8d3;
  background: #f6f6f6;
  color: #040404;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ap-post-nav .nav-next a {
  text-align: right;
}

.ap-post-nav .nav-previous a:hover,
.ap-post-nav .nav-previous a:focus-visible,
.ap-post-nav .nav-next a:hover,
.ap-post-nav .nav-next a:focus-visible {
  background: #040404;
  border-color: #040404;
  color: #f6f6f6;
  outline: none;
}

.ap-post-nav__label {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8b8884;
}

.ap-post-nav .nav-previous a:hover .ap-post-nav__label,
.ap-post-nav .nav-previous a:focus-visible .ap-post-nav__label,
.ap-post-nav .nav-next a:hover .ap-post-nav__label,
.ap-post-nav .nav-next a:focus-visible .ap-post-nav__label {
  color: #d9d8d3;
}

.ap-post-nav__title {
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.25;
}

.ap-comments {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #d9d8d3;
}

.ap-comments__title {
  margin: 0 0 1.5rem;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  color: #040404;
}

.ap-comments__list {
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.ap-comments__list .children {
  margin: 12px 0 0;
  padding-left: 20px;
  list-style: none;
  border-left: 2px solid #ededed;
}

.ap-comment__body {
  margin: 0 0 16px;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #d9d8d3;
  background: #fff;
}

.ap-comment__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
}

.ap-comment__avatar-img {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.ap-comment__meta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.3;
}

.ap-comment__author {
  font-style: normal;
  font-weight: 500;
  color: #040404;
}

.ap-comment__date {
  color: #8b8884;
  text-decoration: none;
}

.ap-comment__date:hover,
.ap-comment__date:focus-visible {
  color: #cd0b0b;
}

.ap-comment__awaiting {
  display: block;
  margin: 0 0 10px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  color: #8b8884;
}

.ap-comment__content {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: #040404;
}

.ap-comment__content p {
  margin: 0 0 0.75em;
}

.ap-comment__content p:last-child {
  margin-bottom: 0;
}

.ap-comment__reply a {
  display: inline-flex;
  margin-top: 8px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  color: #cd0b0b;
  text-decoration: none;
}

.ap-comment__reply a:hover,
.ap-comment__reply a:focus-visible {
  color: #040404;
}

.ap-comments__closed {
  margin: 0 0 1.5rem;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  color: #8b8884;
}

.ap-comment-form {
  margin-top: 1.5rem;
}

.ap-comment-form .comment-reply-title {
  margin: 0 0 1rem;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 400;
  color: #040404;
}

.ap-comment-form__notes,
.ap-comment-form__field {
  margin: 0 0 14px;
  font-family: "Gilroy", system-ui, sans-serif;
}

.ap-comment-form__field label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  color: #040404;
}

.ap-comment-form__field .required {
  color: #cd0b0b;
}

.ap-comment-form__field input,
.ap-comment-form__field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #d9d8d3;
  background: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  color: #040404;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.ap-comment-form__field textarea {
  min-height: 140px;
  resize: vertical;
}

.ap-comment-form__field input:focus,
.ap-comment-form__field textarea:focus {
  border-color: #040404;
  outline: none;
  box-shadow: 0 0 0 2px rgba(4, 4, 4, 0.08);
}

.ap-comment-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 12px 22px;
  border: 0;
  border-radius: 10px;
  background: #cd0b0b;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.ap-comment-form__submit:hover,
.ap-comment-form__submit:focus-visible {
  background: #040404;
  outline: none;
}

.ap-comments__nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 1rem;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
}

.ap-comments__nav a {
  color: #cd0b0b;
  text-decoration: none;
}

.ap-comments__nav a:hover,
.ap-comments__nav a:focus-visible {
  color: #040404;
}

/* --------------------------------------------------------------------------
 * Блог (структура как Raydenko): карточки, фильтры, узкая колонка статьи
 * -------------------------------------------------------------------------- */

.ap-blog-layout {
  box-sizing: border-box;
  width: 100%;
  padding-bottom: 4rem;
}

.ap-blog-heading.gradient-heading {
  max-width: none;
  width: 100%;
  margin: 0;
  text-align: left;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
}

.ap-blog-toolbar {
  padding-top: 0.25rem;
}

.ap-tags-filter_inner {
  overflow-x: auto;
}

@media (min-width: 768px) {
  .ap-tags-filter_inner {
    overflow-x: visible;
  }
}

.ap-tags-filter {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: nowrap;
  width: max-content;
}

@media (min-width: 768px) {
  .ap-tags-filter {
    flex-wrap: wrap;
    width: 100%;
  }
}

.ap-tags-filter a {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background-color: #fff;
  color: #040404;
  border: 1px solid #d9d8d3;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}

.ap-tags-filter a.active,
.ap-tags-filter a:active {
  background-color: #040404;
  color: #fff;
  border-color: #040404;
}

@media (hover: hover) {
  .ap-tags-filter a:hover {
    background-color: #040404;
    color: #fff;
    border-color: #040404;
  }
}

.ap-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ap-blog-card {
  padding: 8px;
  border-radius: 16px;
  border: 1px solid #d9d8d3;
  background-color: #fff;
  align-self: start;
  height: 100%;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.ap-blog-card__thumbnail {
  position: relative;
}

.ap-blog-card__thumbnail img {
  border-radius: 12px;
  border: 1px solid #d9d8d3;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  object-position: top;
  width: 100%;
  height: auto;
  margin-bottom: 8px;
  display: block;
}

.ap-blog-card__category {
  position: absolute;
  top: 8px;
  left: 8px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #040404;
  text-decoration: none;
  background-color: rgba(246, 246, 246, 0.9);
  padding: 6px 12px;
  backdrop-filter: blur(5px);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.ap-blog-card__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 8px;
}

.ap-blog-card__date {
  display: block;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 12px;
  color: #8b8884;
  margin-bottom: 4px;
}

.ap-blog-card__title {
  display: block;
  width: fit-content;
  text-decoration: none;
  color: inherit;
}

.ap-blog-card__title h3 {
  margin: 0;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  color: #040404;
  transition: color 0.2s ease;
}

.ap-blog-card__excerpt {
  flex: 1;
  margin-top: 8px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #8b8884;
}

.ap-blog-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ap-blog-card__tags a {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #f6f6f6;
  color: #8b8884;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

@media (max-width: 1200px) {
  .ap-blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ap-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .ap-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: hover) {
  .ap-blog-card__title:hover h3 {
    color: #cd0b0b;
  }

  .ap-blog-card__category:hover {
    background-color: #fff;
    color: #cd0b0b;
  }

  .ap-blog-card__tags a:hover {
    background-color: #040404;
    color: #fff;
  }
}

.ap-blog-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 3rem;
  font-family: "Gilroy", system-ui, sans-serif;
}

.ap-blog-pagination a,
.ap-blog-pagination span {
  display: inline-flex;
  min-width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  color: #040404;
  background-color: #f6f6f6;
  border: 1px solid #d9d8d3;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.ap-blog-pagination a:hover,
.ap-blog-pagination a:focus-visible {
  background-color: #040404;
  color: #f6f6f6;
  border-color: #040404;
  outline: none;
}

.ap-articles-carousel {
  padding-bottom: 24px;
}

.ap-articles-carousel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ap-articles-carousel__more {
  flex-shrink: 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: #040404;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 0.2s ease;
}

.ap-articles-carousel__frame {
  position: relative;
  overflow: visible;
}

.ap-articles-carousel__slider {
  overflow: hidden;
  padding-inline: 48px;
  padding-block: 2px 6px;
  box-sizing: border-box;
}

.ap-articles-carousel__slider .swiper-wrapper {
  align-items: stretch;
}

.ap-articles-carousel__slider .swiper-slide {
  height: auto;
  overflow: visible;
  box-sizing: border-box;
}

.ap-articles-carousel__slider .ap-blog-card {
  height: 100%;
  margin-bottom: 1px;
}

.ap-articles-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid #d9d8d3;
  border-radius: 999px;
  background-color: #fff;
  color: #040404;
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.ap-articles-carousel__nav--prev {
  left: 0;
}

.ap-articles-carousel__nav--next {
  right: 0;
}

.ap-articles-carousel__nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (hover: hover) {
  .ap-articles-carousel__more:hover {
    color: #cd0b0b;
  }

  .ap-articles-carousel__nav:not(.swiper-button-disabled):hover {
    background-color: #040404;
    border-color: #040404;
    color: #fff;
  }
}

@media (max-width: 768px) {
  .ap-articles-carousel__slider {
    padding-inline: 40px;
    padding-block: 2px 6px;
  }

  .ap-articles-carousel__nav {
    width: 36px;
    height: 36px;
  }
}

.ap-blog-pagination .current {
  background-color: #cd0b0b;
  color: #fff;
  border-color: #cd0b0b;
}

.ap-blog-back {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid #d9d8d3;
  background-color: #fff;
  color: #040404;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ap-blog-back__icon {
  display: inline-flex;
  font-size: 16px;
  line-height: 1;
}

.ap-blog-article-body {
  max-width: 720px;
}

.ap-blog-article-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #040404;
  color: #fff;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease;
}

.ap-blog-article-date {
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 13px;
  color: #8b8884;
  white-space: nowrap;
}

.ap-blog-article-title {
  margin: 16px 0 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #040404;
}

.ap-blog-article-lead {
  margin: 16px 0 0;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 600;
  color: #040404;
}

.ap-blog-article-toc {
  margin-top: 20px;
  padding: 16px 20px;
  border: 1px solid #d9d8d3;
  border-radius: 16px;
  background-color: #fff;
}

.ap-blog-article-toc__title {
  display: block;
  margin-bottom: 10px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #040404;
}

.ap-blog-article-toc__list {
  margin: 0;
  padding-left: 1.25rem;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #8b8884;
}

.ap-blog-article-toc__item--level-3 {
  margin-left: 1rem;
}

.ap-blog-article-toc__item a {
  color: inherit;
  text-decoration: none;
}

.ap-blog-article-figure {
  margin: 24px 0 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid #d9d8d3;
  background: #f6f6f6;
}

.ap-blog-article-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.ap-blog-article-content {
  margin-top: 24px;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  color: #040404;
}

.ap-blog-article-content h2,
.ap-blog-article-content h3 {
  margin: 1.5em 0 0.6em;
  font-family: "Inter Tight", system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.2;
  color: #040404;
}

.ap-blog-article-content p,
.ap-blog-article-content li {
  color: #4a4a4a;
  line-height: 1.7;
}

.ap-blog-article-content a {
  color: #cd0b0b;
  text-decoration: underline;
}

.ap-blog-article-content img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 1.5rem 0;
}

.ap-blog-article-divider {
  margin: 2rem 0 1.5rem;
  height: 1px;
  border: 0;
  background-color: #d9d8d3;
}

.ap-blog-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ap-blog-article-tags a {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #d9d8d3;
  color: #8b8884;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ap-blog-post-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}

.ap-blog-post-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #d9d8d3;
  background: #f6f6f6;
  font-family: "Gilroy", system-ui, sans-serif;
  font-size: 14px;
  color: #040404;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ap-blog-post-nav__link--next {
  margin-left: auto;
}

.ap-blog-post-nav__placeholder {
  flex: 1;
  min-width: 120px;
}

@media (hover: hover) {
  .ap-blog-back:hover {
    border-color: #040404;
    background-color: #040404;
    color: #fff;
  }

  .ap-blog-article-category:hover {
    background-color: #cd0b0b;
  }

  .ap-blog-article-toc__item a:hover {
    color: #040404;
  }

  .ap-blog-article-tags a:hover {
    border-color: #040404;
    color: #040404;
  }

  .ap-blog-post-nav__link:hover {
    background: #040404;
    border-color: #040404;
    color: #fff;
  }
}