small,
.small {
  font-size: 12px;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Karma", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
  font-weight: 600;
  line-height: 1.25;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

@media (min-width: 768px) {
  h2 {
    font-size: 24px;
  }
}

h3 {
  font-size: 18px;
}

@media (min-width: 768px) {
  h3 {
    font-size: 22px;
  }
}

h4 {
  font-size: 15px;
}

h5 {
  font-size: 16px;
}

p {
  font-size: 18px;
  font-weight: 500;
}

a {
  color: #3d3434;
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 18px;
  padding: 0;
  margin: 0;
  line-height: 1.4;
  letter-spacing: normal;
  color: #3d3434;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow: auto;
}

body.active {
  overflow-y: hidden;
  overflow: hidden;
}

.medium-zoom-image--opened {
  object-fit: cover;
}

.flex {
  display: flex;
}

.flex__space-between {
  justify-content: space-between;
}

.flex__center {
  justify-content: center;
}

.flex__end {
  justify-content: flex-end;
}

.flex__direction--column {
  flex-direction: column;
}

.flex__direction--row {
  flex-direction: column;
}

@media (min-width: 768px) {
  .flex__direction--row {
    flex-direction: column;
  }
}

.flex__align--center {
  align-items: center;
}

input,
button {
  -webkit-appearance: none;
  border-radius: 0;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
  font-family: "DM Sans", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
}

input {
  border: solid 1px #d4d4d4;
  width: 360px;
  padding: 13px 13px;
  border: solid 1px #d4d4d4;
  background-color: #fff;
}

input[type="submit"],
button[type="submit"] {
  cursor: pointer;
}

.btn a {
  display: block;
  width: 100%;
  padding: 11px 24px;
  background: #900;
  color: #fff;
  line-height: 1rem;
}

.btn__submit {
  display: block;
  width: 100%;
  background-color: #000000;
  margin: 0;
  padding: 10px;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  text-align: center;
}

@media (min-width: 768px) {
  .btn a {
    padding: 13px 24px;
  }
}

.uppercase {
  text-transform: uppercase;
}

.capitalize {
  text-transform: capitalize;
}

.first-capital:first-letter {
  text-transform: uppercase;
}

.text-background {
  background: #900;
  color: #fff;
  padding: 6px 9px;
  border-radius: 3px;
  line-height: 1;
  font-size: 12px;
}

::-moz-selection {
  color: #3d3434;
  background-color: #bad6fb;
}

::-moz-selection {
  color: #3d3434;
  background-color: #bad6fb;
}

::selection {
  color: #3d3434;
  background-color: #bad6fb;
}

.pageholder {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
}

.padding {
  padding: 0;
}

.padding--top {
  padding-top: 30px;
}

.padding--top--20 {
  padding-top: 12px;
}

.rotate {
  animation: rotate 1s forwards;
}

@keyframes rotate {
  100% {transform: rotate(360deg);}
}

@media (min-width: 768px) {
  .padding--top--20 {
    padding-top: 20px;
  }
}

.padding--right {
  padding-right: 20px;
}

@media (min-width: 768px) {
  .padding--right {
    padding-right: 30px;
  }
}

.padding--bottom {
  padding-bottom: 30px;
}

.padding--bottom--20 {
  padding-bottom: 12px;
}

@media (min-width: 768px) {
  .padding--bottom--20 {
    padding-bottom: 20px;
  }
}

.padding--left {
  padding-left: 30px;
}

@media (min-width: 768px) {
  .padding--left {
    padding-left: 20px;
  }
}

.padding--row {
  padding: 0 24px;
}

@media (min-width: 768px) {
  .padding--row {
    padding: 0 40px;
  }
}

.margin {
  margin: 0;
}

.margin--row {
  margin: 0 24px;
}

@media (min-width: 768px) {
  .margin--row {
    margin: 0 40px;
  }
}

.margin--top {
  margin-top: 20px;
}

@media (min-width: 768px) {
  .margin--top {
    margin-top: 30px;
  }
}

.margin--top--20 {
  margin-top: 20px;
}

.margin--bottom {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .margin--bottom {
    margin-bottom: 20px;
  }
}

.margin--bottom--24 {
  margin-bottom: 20px;
}

.border--right {
  border-right: 1px solid #ebebeb;
}

.border--bottom {
  border-bottom: 1px solid #ebebeb;
}

.border--left {
  border-left: 1px solid #ebebeb;
}

.border--top {
  border-top: 1px solid #ebebeb;
}

.transition {
  cursor: pointer;
  transition: opacity 0.32s ease;
}

.transition:hover {
  opacity: 0.6;
}

.overlay--active {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.32s ease-in-out;
}

.container__articles {
  margin-top: 24px;
}

.container--100 {
  flex-basis: 100%;
}

.container--66 {
  flex-basis: 66.667%;
}

.container--50 {
  flex-basis: 50%;
}

@media (min-width: 768px) {
  .container--50 {
    flex-basis: 100%;
    border-right: 0;
    border-left: 0;
    padding-left: 0;
    padding-right: 0;
  }
}

.container--33 {
  flex-basis: 33.333%;
}

.grey {
  color: #707070;
}

.red {
  color: #900;
}

.background-grey {
  background: #ebebeb;
}

.background-red {
  background: #900;
}

section {
  background-color: #fff;
}

.divider--vertical {
  height: 22px;
  width: 1px;
  margin: 0 12px;
  display: block;
  position: relative;
  top: 0;
  left: 0;
  background-color: #000;
}

/* Serach form  */
.search-form {
  display: flex;
  /* border: 1px solid #ebebeb; */
}

.search-form__form {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.search-form__area {
  width: 100%;
  padding: 13px 0 13px 16px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .search-form__area {
    padding-right: 45px;
  }
}

.search-form__button {
  cursor: pointer;
  width: 43px;
  border: solid 1px #d4d4d4;
  height: 45px;
  stroke: #3d3434;
  position: relative;
  left: -1px;
}

@media (min-width: 768px) {
  .search-form__button {
    position: relative;
    border: none;
    left: -47px;
    top: -2px;
  }
}

.search-form__button svg {
  width: 41px;
}

@media (min-width: 768px) {
  .search-form__button svg {
    width: unset;
  }
}

.search-form__desktop {
  width: 100%;
  height: 0;
  visibility: hidden;
  opacity: 0;
  display: flex;
  z-index: 105;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transition: all 0.32s ease-in;
}

.search-form__desktop.active {
  position: fixed;
  height: 130px;
  background: white;
  visibility: visible;
  opacity: 1;
  transition: all 0.32s ease-out;
}

.search-form__desktop .search-form {
  width: 100%;
  max-width: 627px;
  margin: 0 20px;
}

.search-form__desktop .close__button {
  cursor: pointer;
  padding: 0 20px;
}

.author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author__single {
  padding-top: 80px;
  padding-bottom: 43px;
}

.author .photo {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  flex-shrink: 0;
  margin-right: 10px;
}

@media (min-width: 768px) {
  .author .photo {
    width: 40px;
    height: 40px;
  }
}

.author__title {
  font-size: 12px;
}

.author svg {
  margin-left: 10px;
  stroke: #3d3434;
  margin-top: 5px;
}

.author__info-box {
  background: #fbfbfb;
  display: flex;
  flex-direction: row;
  gap: 25px;
  padding: 17px 25px;
  margin-bottom: 43px;
}

.author__info-box main {
  display: flex;
  align-items: center;
}

/* Author info box, single and search */
.author__info-box main img {
  width: 82px;
  height: 82px;
  flex-shrink: 0;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

.author__info-box aside .title {
  margin: 4px 0;
}

.author__info-box aside .description {
  line-height: 1.21;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .author__info-box aside .description {
    font-size: 14px;
  }
}

.no-author-image .photo {
  display: none;
}

.no-author-image .article__meta {
  display: block;
  line-height: 1.6;
}

/* ######################################### */
