/*
  Light template — no darkest colors.
  Drop-in replacement: same structure as style.css, soft mist & teal palette.
*/
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,600;0,9..40,700;1,9..40,400&display=swap");

:root {
  --c-body: #3d4a3d;
  --c-a: #3d4a3d;
  --c-a-h: #2d7a6e;
  --c-search-i: #2d3a2d;
  --c-red: #c45c4a;
  --b-body: #eef2f0;
  --b-search-i: #fff;
  --b-search-b: #3d8b7d;
  --b-footer: #e2e6e4;
  --b-pag-a: #dce0de;
  --b-panel: #f0f3f2;
  --white: #fff;
  --f-rate-l: #2d8a6e;
  --f-rate-d: #c45c4a;
  --f-svg: #2d7a6e;
}

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  transition: all 0.3s;
}

html,
body {
  height: 100%;
}

body {
  position: relative;
  min-width: 320px;
  background: var(--b-body, #eef2f0) center top no-repeat;
  font: 17px "DM Sans", "Source Sans 3", Arial, sans-serif;
  padding: 0;
  margin: 0;
  color: var(--c-body, #3d4a3d);
  width: 100%;
  font-weight: 400;
}

img {
  max-width: 100%;
}

ul,
ol {
  list-style: none;
}

a {
  outline: 0;
  color: var(--c-a, #3d4a3d);
  text-decoration: none;
}

a:hover,
a.active,
.logo span,
footer span:hover {
  color: var(--c-a-h, #2d7a6e);
}

button,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="button"],
input[type="submit"] {
  height: 40px;
  line-height: 40px;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  outline: none;
  font-size: 16px;
  font-family: "DM Sans", "Source Sans 3", Arial, sans-serif !important;
}

input:focus {
  border: 0;
  outline: none;
}

button:hover {
  cursor: pointer;
}

svg {
  position: relative;
  display: inline-block;
  width: 24px;
  height: 24px;
  fill: var(--c-body, #3d4a3d);
  vertical-align: middle;
}

.main_description a svg {
  fill: var(--white, #fff);
}

h1, h2, h3, h4, h5 {
  font-weight: 600;
  font-size: 24px;
}

h1 {
  display: block;
  margin-bottom: 20px;
  font-size: 28px;
  font-weight: 700;
}

article h1 {
  display: block;
  font-size: 21px;
  font-weight: 700;
  margin: 10px 0 0 0;
  width: 100%;
  border-bottom: 1px solid var(--c-a-h, #2d7a6e);
  padding-bottom: 10px;
}

h2 {
  display: block;
  margin-bottom: 20px;
  font-weight: 700;
}

.h3 {
  text-align: center;
  margin-top: 15px;
  font-weight: 600;
}

.rel h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}

.flex-1,
header,
header nav,
.info {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.flex-2,
.cats,
.cats div,
.tags div {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.basic {
  width: 1170px;
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

.basic.main {
  min-height: calc(100vh - 136px);
}

header {
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid rgba(45, 122, 110, 0.25);
  background: var(--white, #fff);
  box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 38px;
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 40px;
}

header nav {
  -ms-flex-positive: 1;
  flex-grow: 1;
}

header nav ul {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

header nav li > a {
  display: block;
  text-transform: uppercase;
  margin: 0 20px;
}

.search:hover {
  fill: var(--c-a-h, #2d7a6e);
  cursor: pointer;
}

.search-block {
  position: relative;
  width: 100%;
  margin-top: 20px;
  display: none;
}

.search-block.open,
.dmca-abuse-modal.open {
  display: block;
}

.search-block input {
  width: 100%;
  padding: 0 65px 0 20px;
  background: var(--b-search-i, #fff);
  color: var(--c-search-i, #2d3a2d);
  border-radius: 20px;
  border: 1px solid #d0d5d2;
}

.search-block button {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 2;
  width: 60px;
  background: var(--b-search-b, #3d8b7d);
  color: var(--white, #fff);
  font-size: 18px;
  padding: 0;
  border-radius: 20px;
}

.search-block button svg {
  width: 18px;
  height: 18px;
  fill: var(--white, #fff);
}

main {
  padding: 30px 0 0 0;
}

footer {
  padding: 30px 0;
  margin-top: 30px;
  line-height: 1.6;
  background: var(--b-footer, #e2e6e4);
}

footer .basic {
  text-align: center;
  text-transform: uppercase;
}

footer span,
footer a {
  text-decoration: none;
  margin: 0 20px;
}

.main_description {
  padding: 40px 0 90px;
  line-height: 1.5;
  text-align: center;
}

.main_description h1 {
  font-size: 38px;
  font-weight: 700;
  margin: 0;
}

.main_description p,
.seo_description p {
  margin-top: 15px;
}

.main_description a {
  display: inline-block;
  text-align: center;
  padding: 0 20px;
  margin-top: 30px;
  height: 60px;
  font-size: 19px;
  line-height: 60px;
  border-radius: 8px;
  background: var(--b-search-b, #3d8b7d);
  color: var(--white, #fff);
  box-shadow: 0 4px 14px rgba(45, 139, 125, 0.35);
}

.main_description a svg {
  width: 20px;
  height: 22px;
}

.seo_description {
  line-height: 1.5;
  text-align: justify;
}

.central,
.fullstory {
  margin-bottom: 30px;
}

.content {
  margin: 0 -10px;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: justify;
  -webkit-justify-content: flex-start;
  justify-content: flex-start;
}

.short {
  display: block;
  width: 33.33%;
  padding: 0 10px;
  margin-bottom: 15px;
}

.img-block {
  position: relative;
  display: block;
  overflow: hidden;
  padding-top: 60%;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.duration {
  position: absolute;
  z-index: 5;
  left: 6px;
  bottom: 6px;
  background-color: rgba(45, 122, 110, 0.88);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
}

.short p {
  display: block;
  line-height: 1.2;
  height: 20.4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.short img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pagination {
  font-size: 18px;
  padding-top: 20px;
}

.pagination ul {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
}

.pagination a {
  display: inline-block;
  padding: 0 10px;
  margin: 5px;
  line-height: 60px;
  min-width: 60px;
  text-align: center;
  border-radius: 8px;
  background: var(--b-pag-a, #dce0de);
  border: 1px solid transparent;
}

.pagination a:hover {
  border: 1px solid var(--b-search-b, #3d8b7d);
}

.pagination .chosen a {
  background: var(--b-search-b, #3d8b7d);
  color: var(--white, #fff);
  cursor: default;
}

.main-tags {
  padding: 25px 0 25px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.main-tags a {
  order: 0;
  margin: 10px;
  background-color: transparent;
  border-radius: 10px;
  -webkit-transition: background-color 0.3s, color 0.3s;
  transition: background-color 0.3s, color 0.3s;
  text-transform: uppercase;
  color: var(--c-body, #3d4a3d);
  font-weight: 500;
  letter-spacing: 0.9px;
}

.main-tags a:hover {
  color: var(--c-red, #c45c4a);
}

.cats {
  -ms-flex-pack: left;
  -webkit-justify-content: left;
  justify-content: left;
}

.cats,
.cats div,
.tags div {
  font-size: 15px;
}

.cats div,
.tags div {
  margin-bottom: 15px;
  width: 25%;
  padding-right: 2%;
}

.cats div:nth-child(4n),
.tags div:nth-child(4n) {
  padding: 0;
}

.cats span,
.tags span {
  margin-left: 15px;
}

.cats a,
.cats a:after,
.tags a,
.tags a:after {
  -ms-flex-positive: 1;
  flex-grow: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cats a:after,
.tags a:after {
  content: "";
  height: 1px;
  border-bottom: 2px dotted #a8b0ab;
  margin: 0 0 0 15px;
}

.cats span {
  opacity: 0.6;
}

.tags {
  margin: 0;
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.panel,
.cat-teg {
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  background: var(--b-panel, #f0f3f2);
  border-radius: 0 0 8px 8px;
  border: 1px solid #e2e6e4;
}

.result {
  vertical-align: middle;
}

.rate-like svg {
  fill: var(--f-rate-l, #2d8a6e);
}

.rate-dislike svg {
  fill: var(--f-rate-d, #c45c4a);
}

[class^="rate-"] {
  display: inline-block;
  margin-right: 15px;
  height: 40px;
  line-height: 40px;
}

[class^="rate-"]:hover {
  fill: var(--c-a-h, #2d7a6e);
}

.panel [class^="rate-"] svg {
  width: 31px;
  height: 31px;
  margin-right: 10px;
  vertical-align: middle;
}

.info svg {
  fill: var(--f-svg, #2d7a6e);
  height: 24px;
  margin-right: 10px;
}

.info div:first-child {
  margin: 0;
}

.info div {
  margin-left: 36px;
}

.rate {
  -ms-flex-preferred-size: 0;
  flex-basis: 0;
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.cat-teg span {
  margin-right: 15px;
}

.cat-teg svg {
  width: 20px;
  height: 18px;
  vertical-align: middle;
  position: relative;
  top: -2px;
}

.cat-teg a {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.counter {
  margin-top: 10px;
}

.jw-flag-top {
  margin-top: 0 !important;
}

.dmca-on {
  cursor: pointer;
}

.dmca-abuse-modal-content {
  border-radius: 8px;
  border: 1px solid var(--c-a-h, #2d7a6e) !important;
  background-color: var(--b-panel, #f0f3f2) !important;
  color: var(--c-body, #3d4a3d) !important;
}

.dmca-abuse-modal-content h2 {
  color: var(--c-body, #3d4a3d) !important;
  font-size: 20px !important;
  margin-bottom: 10px;
}

.dmca-abuse-close {
  color: var(--c-body, #3d4a3d) !important;
}

.dmca-abuse-close:hover,
.dmca-abuse-close:focus {
  color: var(--c-a-h, #2d7a6e) !important;
}

.dmca-abuse-modal-content input[type="submit"] {
  background-color: var(--b-search-b, #3d8b7d) !important;
  color: var(--white, #fff) !important;
  line-height: normal;
  height: auto;
}

@media screen and (max-width: 1220px) {
  .basic {
    width: 1000px;
  }
  .main_description {
    padding: 5px 0 30px;
  }
  .main_description h1 {
    font-size: 22px;
  }
  .main_description p {
    margin-top: 5px;
  }
  .main_description a {
    margin-top: 15px;
  }
  .cats div,
  .tags div {
    width: 33.333%;
  }
  .cats div:nth-child(3n),
  .tags div:nth-child(3n) {
    padding: 0 !important;
  }
  .cats div:nth-child(4n),
  .tags div:nth-child(4n) {
    padding-right: 2%;
  }
}

@media screen and (max-width: 950px) {
  .basic {
    width: 768px;
  }
  header {
    padding: 20px 0;
  }
  nav {
    min-width: 100%;
    -ms-flex-order: 5;
    -webkit-order: 5;
    order: 5;
    margin-top: 20px;
  }
  .logo,
  nav li {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
  }
  nav ul {
    width: 100%;
  }
  nav li > a {
    margin: 0;
    text-align: center;
  }
  .short {
    width: 50%;
  }
  article h1 {
    font-size: 19px;
  }
  .cats div,
  .tags div {
    width: 50%;
  }
  .cats div:nth-child(3n),
  .tags div:nth-child(3n) {
    padding-right: 2% !important;
  }
  .cats div:nth-child(2n),
  .tags div:nth-child(2n) {
    padding-right: 0 !important;
  }
  .info {
    display: none;
  }
}

@media screen and (max-width: 760px) {
  .basic {
    width: 640px;
  }
}

@media screen and (max-width: 590px) {
  .basic {
    width: 480px;
  }
  .logo {
    font-size: 22px;
  }
  .short {
    width: 100%;
  }
  .main-tags {
    padding: 20px 0;
  }
  .rate {
    -ms-flex-preferred-size: unset;
    flex-basis: unset;
    -webkit-box-flex: unset;
    -ms-flex-positive: unset;
    flex-grow: unset;
    margin: 0 auto;
  }
  .cat-teg {
    font-size: 15px;
  }
  .cats div,
  .tags div {
    width: 100%;
  }
  .cats div:nth-child(n),
  .tags div:nth-child(n) {
    padding-right: 0 !important;
  }
}

@media screen and (max-width: 470px) {
  .basic {
    width: 360px;
  }
}

@media screen and (max-width: 340px) {
  .cat-teg a {
    display: block;
    margin-top: 10px;
  }
}
