:root {
	--bg: #f5f5f5;
	--bg-2: #303d4a;
	--bg-3: #26313c;
	--bg-4: #fff; --bg-d: rgba(0,0,0,0.1);
	--tt: #212228; --tt-l: #5c5c5c;
	--tt-2: #d6d6d6; --tt-2d: #959595;
	--tt-3: #6e7681;
	--bdc: rgba(0,0,0,0.1);
	--bsh: 0 10px 30px 0 rgba(0,0,0,0.2);
	--accent: #ff2e63;
	--accent-darker: #ff2e63;
	--ui-bg: #f6f6f6;
	--ui-bg-darker: #eee;
	--ui-bg-darkest: #ddd;
	--ui-bg-accent: #11222c;
	--ui-text-color-on-accent: #fff;
	--ui-bdc: #ccc;
	--indent-negative: -40px;
	--indent: 40px; /* основной отступ справа и слева */
	--maximum-width: 88%; /* максимальная ширина блока контента */
}

/* RESET, BASIC UI SETTINGS
----------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: 0;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img, iframe, video, embed, object, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Body & Typography */
body {
  font-family: 'Manrope', sans-serif !important;
  font-size: clamp(15px, 2.2vw + 0.5rem, 17px);  /* fluid typography */
  line-height: 1.65;
  font-weight: 400;
  color: var(--tt);
  background: var(--bg);
  min-height: 100dvh;
  width: 100%;
  overflow-x: hidden;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus-visible {
  color: var(--accent);
  opacity: 0.92;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.8em;
  color: var(--tt);
}

h1 { font-size: clamp(28px, 6vw, 42px); }
h2 { font-size: clamp(24px, 5vw, 34px); }
h3 { font-size: clamp(20px, 4.2vw, 28px); }
h4 { font-size: clamp(18px, 3.8vw, 24px); }
h5, h6 { font-size: clamp(16px, 3.4vw, 20px); }

/* Selection */
::selection {
  background: var(--accent);
  color: #fff;
}

/* Bold & Strong */
b, strong, .bolder {
  font-weight: 700;
}

/* Buttons & Inputs */
button,
.btn,
input[type="button"],
input[type="reset"],
input[type="submit"],
.form__btn,
.qq-upload-button,
.pm__links a,
.usp__btn a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-align: center;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  background: #eb4c65;
  color: #fff;
  border-radius: 999px;         
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.15);
}

button:hover,
.btn:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
.form__btn:hover {
  background: var(--accent-darker);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.25);
}

button:active,
input[type="button"]:active,
input[type="submit"]:active {
  transform: translateY(0);
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.15);
}

/* Neutral buttons (якщо є класи fr-, plyr-, owl- тощо) */
.color-btn,
[class*="fr-"],
[class*="plyr-"],
[class*="owl-"],
[id*="mceu"] {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0;
  border-radius: 0;
}

/* Form elements */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="search"],
textarea,
select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--tt);
  background: var(--bg-3);
  border: 1px solid var(--bdc);
  border-radius: 10px;
  transition: all 0.2s ease;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.12);
  outline: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--tt-3);
  opacity: 0.6;
  font-size: 0.9em;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: transparent;
}

/* Select arrow */
select:not([multiple]) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9l-4-4h8z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  padding-right: 36px;
  appearance: none;
  -webkit-appearance: none;
}

select option {
  padding: 8px 12px;
}

/* Accessibility improvements */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* SNIPPETS
----------------------------------------------- */
.img-box, .img-wide, .img-responsive, .img-fit-cover {overflow: hidden; position: relative;}
.img-responsive {padding-top: 55%;}
.img-responsive--portrait {padding-top: 150%;}
.img-box > img, .img-responsive > img {width: 100%; min-height: 100%; display: block;}
.img-responsive > img {position: absolute; left: 0; top: 0;}
.img-wide img, .img-wide > a {width: 100%; display: block;}
.img-fit-cover img {width: 100%; height: 100%; object-fit: cover;}
.clr {clear: both;}
.clearfix::after {content: ""; display: table; clear: both;}
.ws-nowrap {white-space: nowrap; overflow: hidden; text-overflow: ellipsis;}
.line-clamp {display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;}
.vw100 {margin:0 calc((100% - 100vw)/2); padding:0 calc((100vw - 100%)/2);}
.img-mask::before {content: ''; position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; height: 30%; 
	background: linear-gradient(to top, #000 0%, transparent 100%); opacity: 0.8;}
.d-flex, .fx-row, #dle-content {display: flex; flex-wrap: wrap; flex-direction: row;}
.fd-column, .fx-col {flex-direction: column; flex-wrap: nowrap;} 
.jc-space-between, .fx-row {justify-content: space-between;}
.jc-flex-start, .fx-start, #dle-content {justify-content: flex-start;}
.jc-center, .fx-center {justify-content: center;}
.jc-flex-end {justify-content: flex-end;}
.ai-flex-start {align-items: flex-start;}
.ai-center, .fx-middle {align-items: center;}
.ai-flex-end {align-items: flex-end;}
.order-first {order: -1;}
.order-last {order: 10;}
.flex-grow-1, .fx-1, .stretch-free-width {flex: 1 1 0; max-width: 100%; min-width: 50px;}
.btn-icon, .centered-content {display: inline-flex; justify-content: center; align-items: center;}
.icon-at-left [class*="fa-"], .icon-left .icon {margin-right: 0.5em;}
.icon-at-right [class*="fa-"], .icon-right .icon {margin-left: 10px;}
.hidden, #dofullsearch, .form__header .form__btn, .comment-item__main .quote + br, .d-none {display: none;}
.animated-element, button, .btn, .page__rating-bar-progress, .thumb, a {transition: all .3s;}

#dle-content > *:not(.grid-item), #dle-content {width: 100%;}
#dle-content, .d-grid {display: grid; grid-template-columns: repeat(auto-fill,minmax(350px,1fr)); 
	grid-gap: 10px 10px; grid-auto-flow: row dense;}
#dle-content > *:not(.grid-item), .d-grid-models > *:not(.grid-item) {grid-column: 1 / -1;}
.d-grid-models, .d-grid-models #dle-content {display: grid; grid-template-columns: repeat(auto-fill,minmax(250px,1fr)); 
	grid-gap: 10px 10px; grid-auto-flow: row dense;}

@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-400.woff2') format('woff2');
	font-weight: 400; font-style: normal; font-display: swap;}
@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-500.woff2') format('woff2');
	font-weight: 500; font-style: normal; font-display: swap;}
@font-face {font-family: 'Manrope'; src: url('../webfonts/manrope-700.woff2') format('woff2');
	font-weight: 700; font-style: normal; font-display: swap;}
	
.dt-is-active {
	--bg: #15161f;
	--bg-2: #303d4a;
	--bg-3: #292b38;
	--bg-4: #292b37; --bg-d: rgba(0,0,0,0.3);
	--tt: #eee; --tt-l: #b6b6b6;
	--tt-2: #b6b6b6; --tt-2d: #acacac;
	--tt-3: #b6b6b6;
	--bdc: rgba(0,0,0,0.3);
	--bsh: 0 10px 30px 0 rgba(0,0,0,0.5);
	--accent: #ff2e63;
    --accentt: rgb(251 202 39);
	--accent-darker: #ff2e63;
	--ui-bg: #384655;
	--ui-bg-darker: #303a44;
	--ui-bg-darkest: #26313c;
	--ui-bg-accent: #26313c;
	--ui-text-color-on-accent: #fff;
	--ui-bdc: #111;
}
.dt-is-active .thumb:hover {border-color: #000;}