:root {
  --light_grey: #f1efeb;
  --dark_grey: #5f5f5f;
  --text_black: #3f3f3f;
  --border_grey: #c0bfbc;
  --side_category_grey: #969595;
  --active_menu_border_grey: #dfdedd;
  --block_border_top_grey: #e3e3e3;
  --trusted_source_grey: #d9d8d5;
  --menu_border_grey: #f1f1f1;
  --button_grey: #dedcd9;
  --text_grey: #888785;
  --mean_grey: #b5af9e;
  --tweet_grey: #808080;
  --purple: #56328c;
  --button_pink: #eb168b;
  --link_pink: #f49ecf;
  --arrow_pink: #ee5ea1;
  --over_purple_pink: #fe69bc;
  --checkbox_purple: #d6cce3;
  --link_blue: #1dafec;
  --status-online: #28ce13;

  --extra_bold: 800;
  --bold: 700;
  --semi_bold: 600;
  --regular: 400;

  --desktop_width: 75rem;
  --mobile_width: 23.4375rem;
  --mobile_max_width: 20.9375rem;
}

.subheader {
  margin-bottom: 3.125rem;
  position: relative;
  z-index: 1; /* make sure share links are always clickable */
}

@media (max-width: 920px) {
  .subheader {
    margin-bottom: 0;
  }
}

.subheader .header_width {
  border-radius: 0.3125rem;
  overflow: hidden;
  height: 15rem;
}

.subheader .content_width {
  position: absolute;
  left: 0;
  right: 0;
  color: white;
  padding-left: 0.625rem;
  bottom: 1.25rem;
}

@media (max-width: 920px) {
  .subheader .content_width {
    position: relative;
    padding-left: 0.9375rem;
    border-bottom-left-radius: 0.1875rem;
    border-bottom-right-radius: 0.1875rem;
    overflow: hidden;
  }
  .subheader .content_width h1 {
    position: relative;
    font-size: 1.5rem;
    bottom: 0;
    margin: 0;
    padding: 0.25em 0;
  }
}

.subheader .content_width h1 {
  margin-bottom: 0;
}

.content_width.flex {
  align-items: flex-start;
}

.content_width.flex > * {
  padding: 0;
}

.one_column_block h3,
.two_columns_block h3 {
  margin: 0;
  margin-bottom: 0.25em;
  margin-top: 1em;
  clear: both;
}

.one_column_block p:empty,
.two_columns_block p:empty,
.one_column_block h1,
.two_columns_block h1,
.one_column_block h2,
.two_columns_block h2 {
  margin: 0;
  clear: both;
}

.one_column_block p:first-of-type,
.two_columns_block p:first-of-type {
  margin-bottom: 0;
  margin-top: 1em;
  font-size: 1.625rem;
  line-height: 1.6;
}

@media (max-width: 920px) {
  .one_column_block p:first-of-type,
  .two_columns_block p:first-of-type {
    font-size: 1.0625rem;
    line-height: 1.625rem;
  }
}

.one_column_block h1,
.one_column_block section,
.one_column_block .rich-text {
  margin: 0 auto;
  padding-left: 0;
  padding-right: 0;
  width: 39.0625rem;
}

@media (max-width: 920px) {
  .one_column_block h1,
  .one_column_block section,
  .one_column_block .rich-text {
    width: auto;
  }
}

@media (min-width: 1400px), (min-width: 921px) and (max-width: 1399px) {
  .two_columns_block .one {
    padding: 0 0.9375rem;
    padding-top: 1.875rem;
  }
}

.two_columns_block .one .flex {
  padding: 0;
}

.two_columns_block .one .flex > * {
  width: 100%;
  margin-right: 0;
}

.two_columns_block .one .content_wrapper > * {
  border-radius: 0.1875rem;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  overflow: hidden;
  padding: 1.5625rem;
  position: relative;
}

.two_columns_block .content_width .content_width {
  padding: 0;
}

.two_columns_block .side_block {
  background-color: #f1efeb;
  border-radius: 0.1875rem;
}

.two_columns_block .side_block .bottom {
  background-color: #f1efeb;
}

.two_columns_block .side_block .category {
  color: #969595;
}

.two_columns_block .side_block .list ul {
  padding-bottom: 3em;
}

.also_interesting .category {
  font-size: 0.9375rem;
  font-weight: bold;
  color: #888785;
}

.rich-text {
  padding: 0;
}

.template-contentpage .subheader .header_width {
  height: 15rem;
}

@media (max-width: 920px) {
  .template-contentpage .subheader .header_width {
    height: 9.375rem;
  }
}

.template-contentpage .subheader img {
  width: 100%;
  height: auto;
}

@media (max-width: 920px) {
  .template-contentpage .subheader img {
    display: none;
  }
  .template-contentpage .subheader img.image_mobile {
    display: block;
  }
}

@media (min-width: 1400px), (min-width: 921px) and (max-width: 1399px) {
  .template-contentpage .subheader + .two_columns_block .content_width {
    padding-top: 0;
  }
  .template-contentpage
    .subheader
    + .two_columns_block
    .content_width
    > .one
    > .content_wrapper {
    margin-top: 2em;
  }
}

.template-contentpage footer {
  border-top: 0.0625rem solid #e3e3e3;
}

.template-error .subheader .header_width {
  height: 21.25rem;
}

@media (max-width: 920px) {
  .template-error .subheader .header_width {
    height: auto;
  }
  .template-error .subheader .header_width img:not(.image_mobile) {
    height: 9.375rem;
    display: block;
    position: relative;
    margin-left: -20%;
  }
  .template-error .subheader .header_width h1 {
    bottom: 0;
  }
}

.template-error .footercontact {
  border-top: 0.0625rem solid rgba(0, 0, 0, 0.15);
  margin-top: 2.5rem;
}

.template-error .subheader .header_width.social_block.social_block {
  display: none;
}

/* Prevent title to be output more than once */

.one_column_block + .one_column_block .content_width h1:first-child,
.two_columns_block + .one_column_block .content_width h1:first-child,
.one_column_block + .two_columns_block .content_width h1:first-child,
.two_columns_block + .two_columns_block .content_width h1:first-child {
  display: none;
}

.subheader .social_block .share_links {
  padding-top: 0.5em;
}

.readmore_list {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.readmore_list > div {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

@media (max-width: 920px) {
  .readmore_list > div {
    flex-direction: column;
  }
}

.readmore_list .readmore_item {
  flex: 1;
  border-radius: 0.4375rem;
  border: 0.0625rem solid #f1efeb;
  display: flex;
  flex-direction: column;
}

.readmore_list .readmore_item img {
  border-top-left-radius: 0.4375rem;
  border-top-right-radius: 0.4375rem;
}

.readmore_list .readmore_item .inner {
  padding: 1rem;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.readmore_list .readmore_item .inner h3 {
  margin: 0;
  color: #eb168b;
}

.readmore_list .readmore_item .button-container {
  display: flex;
  justify-content: center;
}

.readmore_list .readmore_item .primary {
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  border-radius: 1.875rem;
  color: #fff;
  background: #56328c;
  padding: 0.625rem 1.25rem 0.625rem;
  margin-top: 1.5rem;
}

.readmore_list .readmore_item .primary:focus,
.readmore_list .readmore_item .primary:hover {
  background-color: #eb168b;
  color: white;
}

.text_block iframe[src*='youtube.com'] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
