:root {
  --color-white: #fff;
  --color-black: #000;
  --color-yellow: #fffae7;
  --color-red: #900;
  --color-grey: #707070;
  --color-darkgrey: #383838;
  --color-lightgrey: #b4b4b4;
  --color-green: #67d978;
  --color-blue: #eef2f8;
  --color-border: #ebebeb;
  --color-light-pink: #fff3f3;
  --color-lightblue: #E6F2F7;
  --color-darkblue: #097EA9;
}

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

h1,
h2,
h3,
h4,
h5 {
  font-family: "Times New Roman", serif, "Sharp Grotesk Bold 15",
    "-apple-system", "BlinkMacSystemFont", "Segoe UI", "Helvetica", "Arial",
    "Apple Color Emoji", "Segoe UI Emoji";
  font-weight: 400;
  line-height: 1.15;
}

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: 400;
  line-height: 1.56;
}

a {
  color: var(--color-black);
  text-decoration: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica", sans-serif, "Sharp Grotesk Bold 15", "-apple-system",
    "BlinkMacSystemFont", "Segoe UI", "Arial", "Apple Color Emoji",
    "Segoe UI Emoji";
  font-size: 18px;
  padding: 0;
  margin: 0;
  line-height: 1.3;
  letter-spacing: normal;
  color: #000;
  background-color: #fbfbfb;
  overflow-x: hidden;
  overflow: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

body:has(.overlay.active),
body.active {
  overflow-y: hidden;
  overflow: hidden;
}

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

.not-clickable .medium-zoom-image {
  cursor: default;
  pointer-events: none;
}

.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;
}

.big-space {
  display: block;
  height: 160px;
  background-color: var(--color-white);
}

@media (min-width: 768px) {
  .big-space {
    height: 200px;
  }
}

.more-button__wrap:has(~ .big-space ) .more-button {
  padding-bottom: 0;
}

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

input[type="submit"],
button[type="submit"] {
  cursor: pointer;
  padding: 12px 18px;
}

.btn a {
  display: block;
  width: 100%;
  padding: 11px 24px;
  background: var(--color-red);
  color: #fff;
}

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

.btn__submit--red {
  background-color: var(--color-red);
  border: 1px solid var(--color-red);
}

.btn__submit--black {
  background-color: var(--color-black);
  border: 1px solid var(--color-black);
}

.label {
  font-size: 14px;
  font-weight: 400;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--color-black);
  font-size: 12px;
  font-weight: 600;
  padding: 16px 0;
  justify-content: flex-end;
}

.transparent-btn {
  display: flex;
  padding: 5px 10px;
  justify-content: center;
  align-items: flex-center;
  gap: 5px;
  font-size: 14px;
  color: var(--color-grey);
  border-radius: 4px;
  border: 1px solid var(--color-grey);
  cursor: pointer;
  transition: opacity 0.32s ease;
}

.transparent-btn:hover,
.transparent-btn:focus {
  opacity: 0.7;
  transition: opacity 0.32s ease;
}

.transparent-btn svg g,
.transparent-btn svg path,
.transparent-btn a {
  color: var(--color-grey);
  stroke: var(--color-grey);
}


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

.uppercase {
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

.capitalize {
  text-transform: capitalize;
}

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

.text-background {
  background: #900;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 5px;
}

@media (min-width: 768px) {
  .text-background {
    padding: 0 16px;
    font-size: 12px;
  }
}

.separator,
.article__meta > .separator:first-child {
  display: none;
}

.article__meta .separator {
  display: inline-block;
  width: 1px;
  height: 9px;
  background-color: #707070;
}

::-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;
}

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

.hover:hover {
  opacity: 0.7;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  transition: background 0.32s ease-in-out;
  /* backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px); */
  display: none;
}


.overlay.video {
  background: rgba(0, 0, 0, 0.8);
}

.overlay:has(~ .header).active {
  display: block;
  visibility: visible;
  opacity: 1;
  z-index: 11;
}

.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: var(--color-red);
}

.black {
  color: var(--color-black);
}

.background-grey {
  background: #f5f5f5;
}

.background-yellow {
  background-color: var(--color-yellow);
}

.background-pink {
  background-color: var(--color-light-pink);
}

.background-blue {
  background-color: var(--color-blue);
}

.background-red {
  background: #900;
}

/* section {
  background-color: var(--color-white);
} */

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

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

.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__url {
  line-height: 1;
}

.author__url:hover,
.author__url:focus {
  text-decoration: underline;
}

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

.author .author__title--wrap {
  display: flex;
  flex-direction: column;
}

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

@media (min-width: 1024px) {
  .author__info-box {
    padding: 18px 0;
  }
}

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

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

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

.author__info-box aside a {
  font-size: 22px;
}

.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;
}

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


/* More button  */
.more-button {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  padding: 30px;
  padding-top: 64px;
  font-weight: 400;
  color: #707070;
  line-height: 1;
  border-color: #707070;
  gap: 2px;
}

@media (min-width: 768px) {
  .more-button {
    padding: 32px 15px;
  }
}

.more-button .button--outline {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
  padding: 0px 32px 0 40px;
}

.more-button .button--outline svg path {
  stroke: var(--color-white);
}

.button--outline {
  background: transparent;
  color: #707070;
  border: 1px solid #707070;
  gap: 5px;
  font-size: 14px;
  line-height: 1;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 16px;
}

.more-button svg path {
  fill: var(--color-white);
  stroke: var(--color-white);
}

.result {
  background-color: var(--color-white);
}

/* Most readed section */
.section__most-readed {
  position: relative;
  margin-left: 24px;
  margin-right: 24px;
  padding-top: 25px;
  padding-bottom: 48px;
}

.section__most-readed .category {
  padding-bottom: 16px;
}

.section__most-readed .category__title {
  padding: 0;
  padding-bottom: 15px;
}

.section__most-readed .select {
  display: flex;
  gap: 10px;
}

.section__most-readed .select a {
  font-size: 14px;
  border-radius: 4px;
  border: 0.8px solid #707070;
  color: #707070;
  flex-basis: 33.333%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 26px;
}

.section__most-readed .select a.selected {
  background-color: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}

.section__most-readed .most-readed-content {
  display: none;
  margin-top: 5px;
}

.section__most-readed .most-readed-content.selected {
  display: flex;
}

.layout__2of3 .article__text::after,
.layout__3of3 .article__text::after {
  content: '';
  position: absolute;
  bottom: 6px;
  right: 0;
  width: 100px;
  height: 1.5rem; 
  background: linear-gradient(to right, transparent, rgb(255, 255, 255) 83%, rgba(255,255,255,1) 100%); 
}

.layout__2of3.background-pink .article__text::after,
.layout__3of3.background-pink .article__text::after {
  background: linear-gradient(to right, transparent, rgb(255, 243, 243) 83%, rgba(255,243,243,1) 100%); 
}

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

/* Fix iOS zooming in when focusing on inputs */
@media screen and (-webkit-min-device-pixel-ratio:0) {
  select,
  textarea,
  input {
    font-size: 16px;
  }
}

