/*
File: news.css (converted from _news.scss)
This contains overrides for news pages
*/

#rf-body .rf-news--header .header-content .et_pb_module_header {
  font-size: 3rem;
  font-size: clamp(2rem, calc(2rem + ((1vw - 0.48rem) * 1.3889)), 3rem) !important;
}

#rf-body .rf-news .df-post-inner-wrap {
  padding: 2rem;
  border-radius: 24px;
}

#rf-body .rf-news .df-post-button-wrap {
  display: block;
  width: min-content;
  white-space: nowrap;
  padding: 5px 1rem 5px 1rem;
}

#rf-body .rf-news .df-post-outer-wrap {
  padding: 0px !important;
}

#rf-body .rf-news .df-post-read-more {
  display: flex !important;
  justify-content: space-between !important;
  width: 100%;
  column-gap: 1rem !important;
  align-items: center;
}

#rf-body .rf-news .et-pb-icon {
  font-size: 24px !important;
}

#rf-body .rf-news .entry-featured-image-url {
  max-width: 550px;
}

#rf-body .rf-news .entry-title {
  line-height: 0.5em;
}

#rf-body .rf-news .entry-title a {
  font-weight: 700;
  line-height: 1em;
  letter-spacing: 0px;
  text-transform: none;
  font-size: 1.5rem !important;
  font-family: var(--font-title);
}

#rf-body .rf-news a.more-link {
  /* Extends .rf-button--outline and .et_pb_button - styles duplicated */
  color: var(--color-1) !important;
  background-color: transparent;
  height: fit-content;
  box-shadow: 0 0 0 0.125rem inset var(--color-1);
  
  /* .et_pb_button styles */
  display: inline-flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: none;
  font-size: 1rem;
  font-size: clamp(0.85rem, calc(0.85rem + ((1vw - 0.48rem) * 0.2083)), 1rem);
  font-weight: 600;
  border-radius: 10px;
  letter-spacing: 1px;
  padding: var(--size-xxsmall) var(--size-medium) !important;
  text-transform: capitalize;
  transition: all 0.3s ease;
  font-family: var(--font-interactive);
  line-height: var(--line-height) !important;
  text-align: center;
  text-shadow: none;
  cursor: pointer;
  
  /* Specific overrides */
  letter-spacing: 2px;
  margin-top: 1.5rem;
  text-transform: capitalize;
  font-size: 1rem;
  font-size: clamp(.875rem, calc(.875rem + ((1vw - 0.48rem) * 0.2083)), 1rem);
}

#rf-body .rf-news a.more-link:hover {
  background-color: var(--color-1) !important;
  color: #fff !important;
  opacity: 1 !important;
}

#rf-body .et_pb_post_content h1,
#rf-body .et_pb_post_content h2,
#rf-body .et_pb_post_content h3,
#rf-body .et_pb_post_content h4,
#rf-body .et_pb_post_content h5,
#rf-body .et_pb_post_content h6 {
  text-transform: capitalize;
}
