/* Added fallbacks to help with CLS, feel free to remove if it doesn't help on your project */
/* Colours */
/* Fluid heading sizes - set your min/max sizes and you're done! */
/* Some device sizes to use with min-width */
/* adjusted breakpoints for above */
/* 100% widths look better than "Snapping" IMO */
/* Utility */
/* Additional Spacers -- don't think you'll need more than 10, but if you do -- maybe just use a custom class  :)  */
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 730px;
}
#hero picture.main-image {
  width: 100% !important;
  max-width: 100% !important;
  z-index: -1;
  top: 0;
}
#hero picture.main-image img {
  width: 100% !important;
}
#hero h1 {
  color: #FFFFFF;
  opacity: 0.17;
  font-weight: bold;
}
#hero p.h5 {
  letter-spacing: 1px;
  color: #FFFFFF;
  font-weight: 900;
  margin-top: -45px;
}
#hero p.h4 {
  color: #FFFFFF;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 35px;
}
#hero picture.main-image img {
  height: 730px;
  object-fit: cover;
}
@media screen and (min-width: 1025px) {
  #hero p.h5 {
    margin-top: -49px;
  }
}

/*Breadcrumb*/
#breadcrumb a, #breadcrumb p {
  font: normal normal normal 14px/40px "Lato", "sans-serif";
  letter-spacing: 0.7px;
  color: #2D3126;
  text-transform: uppercase;
}
#breadcrumb span.last {
  font-weight: 900;
}

#hero {
  min-height: 830px;
  position: relative;
}
#hero h1 {
  opacity: 0.3;
}
#hero .container-content {
  margin-top: 3em;
}
#hero picture.main-image img {
  height: 830px;
  object-fit: cover;
}
#hero .container-content {
  z-index: 1;
}
#hero.sexual-offences h1 {
  font-size: clamp(3.375rem, 3.375rem + 0.0390625 * (100vw - 640px), 7.5rem);
}
@media screen and (min-width: 1025px) {
  #hero {
    min-height: 730px;
  }
  #hero .container-content {
    margin-top: 0;
  }
  #hero h1 {
    opacity: 0.17;
  }
  #hero picture.main-image img {
    height: 730px;
  }
}
@media screen and (max-width: 500px) {
  #hero.other-areas-of-practice h1 {
    font-size: clamp(3rem, 3rem + 0.0390625 * (100vw - 640px), 7.5rem) !important;
    line-height: 50px !important;
  }
  #hero.property-offences h1 {
    font-size: clamp(3.375rem, 3.375rem + 0.0390625 * (100vw - 640px), 7.5rem) !important;
  }
}

/*Overview*/
#overview {
  margin-bottom: 2em;
}
#overview h2 {
  color: #F2F0EF;
  font-weight: bold;
}
#overview p.h5 {
  letter-spacing: 1px;
  color: #2D3126;
  font-weight: 900;
  margin-top: -45px;
}
#overview p.h4 {
  color: #2D3126;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 30px;
}
@media screen and (min-width: 1025px) {
  #overview {
    margin-bottom: 4em;
  }
  #overview p.h5 {
    margin-top: -49px;
  }
  #overview p.h4 {
    padding-top: 10px;
    margin-bottom: 30px;
  }
}

/*Rights*/
#rights .container-inner-card {
  background: #F8F8F7;
  height: 100%;
  border-radius: 10px;
  transition: background 0.2s ease-in-out;
}
#rights .container-inner-card .index {
  font-size: clamp(4.375rem, 4.375rem + 0.0234375 * (100vw - 640px), 6.25rem) !important;
  line-height: clamp(60 / 16 * 1rem, 60px + (86 - 60) * (100vw - 640px) / 1280, 86 / 16 * 1rem) !important;
  font-family: "Playfair Display", "sans-serif";
  color: #464A3F;
  opacity: 0.16;
  text-align: right;
  margin-bottom: 0.75em;
}
#rights .container-inner-card p.h5 {
  font-weight: 900;
  letter-spacing: 1px;
}
#rights .container-inner-card p:not(.h5) {
  font-size: 16px;
  line-height: 30px;
  transition: color 0.4s ease-in-out;
}
#rights .container-inner-card .btn-transparent-black {
  transition: background 0.4s ease-in-out, border 0.4s ease-in-out, color 0.4s ease-in-out;
}
#rights .container-inner-card:hover {
  background: #464A3F;
}
#rights .container-inner-card:hover p {
  color: #FFFFFF;
}
#rights .container-inner-card:hover .btn-transparent-black {
  background: #F8F8F7;
  border: 2px solid transparent;
  color: #282B22;
}

/*Protection*/
#protection {
  background: #464A3F;
  margin-top: 4em;
}
#protection h2 {
  color: #F2F0EF;
  opacity: 0.23;
}
#protection h3, #protection h4, #protection h5, #protection h6, #protection p {
  color: #FFFFFF;
}
#protection p.h5.subtitle {
  letter-spacing: 1px;
  color: #FFFFFF;
  font-weight: 900;
  margin-top: -45px;
}
#protection p.h4 {
  font-weight: bold;
  margin-bottom: 1.4em;
  margin-top: 1.4em;
}
#protection p.h5.main-subtitle {
  font-weight: 900;
  letter-spacing: 1px;
  margin-top: 1.4em;
  margin-bottom: 1em;
}
#protection .container-subcontent p:not(.h5) {
  font-size: 16px;
  line-height: 30px;
}
#protection .main-subtitle-card {
  font-weight: 900;
}
#protection .card-content {
  height: 100%;
  border-bottom: 8px solid #63665C;
  padding-bottom: 2em;
}
@media screen and (min-width: 1025px) {
  #protection {
    margin-top: 9em;
  }
  #protection .card-content {
    padding-bottom: 3em;
  }
}
@media screen and (max-width: 500px) {
  #protection h2 {
    font-size: clamp(3.2rem, 3.2rem + 0.0390625 * (100vw - 640px), 7.5rem) !important;
    line-height: 50px !important;
  }
}

/*Cases*/
#cases h2 {
  color: #F2F0EF;
  font-size: clamp(3.5rem, 3.5rem + 0.0390625 * (100vw - 640px), 7.5rem) !important;
}
#cases p.h5 {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}
#cases {
  /*
   * Owl Carousel
   * Makes all cards use the height of the tallest card
   */
}
#cases .cases-carousel .owl-stage {
  display: flex;
}
#cases .cases-carousel .owl-item {
  display: flex;
  height: auto;
}
#cases .cases-carousel .card-case {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
#cases .cases-carousel .main-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#cases .card-case {
  background: #F8F8F7;
  padding: 30px;
  border-radius: 10px;
  height: 100%;
}
#cases .attachment-post-thumbnail {
  max-width: 110px;
}
#cases .container-image {
  margin-left: auto;
  width: fit-content;
}
#cases p.h5.subtitle {
  margin-top: -45px;
}
#cases .btn-transparent-black {
  width: 100%;
}
#cases .owl-prev,
#cases .owl-next {
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #282B22;
  border-radius: 5px;
}
#cases .owl-prev.disabled,
#cases .owl-next.disabled {
  opacity: 0.1;
}
#cases .owl-prev:hover,
#cases .owl-next:hover {
  background: #282B22;
}
#cases .owl-prev:hover .icon-chevron-right,
#cases .owl-prev:hover .icon-dhevron-left,
#cases .owl-next:hover .icon-chevron-right,
#cases .owl-next:hover .icon-dhevron-left {
  color: #FFFFFF;
}
#cases .owl-prev .icon-chevron-right,
#cases .owl-prev .icon-dhevron-left,
#cases .owl-next .icon-chevron-right,
#cases .owl-next .icon-dhevron-left {
  color: #282B22;
}
#cases .owl-nav {
  display: flex;
  justify-content: center;
  margin-top: 3em;
  margin-bottom: 1em;
  gap: 12px;
}
#cases .container-location {
  gap: 8px;
  margin-top: 1.3em;
  margin-bottom: 1.3em;
}
#cases .owl-nav.disabled {
  display: none;
}
#cases .container-location img {
  display: block;
  max-width: 30px;
}
#cases p.location {
  font: normal normal bold 14px/30px "Lato", "sans-serif";
}
#cases .js-case-text {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
#cases .js-case-text p {
  font-size: 16px;
  line-height: 30px;
}
#cases .js-case-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
#cases .case-read-more {
  background: none;
  border: none;
  color: #282B22;
  cursor: pointer;
  padding: 0;
  margin-top: 5px;
  font-weight: 600;
  display: block;
  text-align: left;
}
@media screen and (min-width: 641px) {
  #cases .btn-transparent-black {
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}
@media screen and (min-width: 1025px) {
  #cases .main-link {
    padding-left: 20px;
  }
  #cases .attachment-post-thumbnail {
    max-width: 100px;
  }
  #cases .btn-transparent-black {
    margin-left: auto;
  }
  #cases p.h5.subtitle {
    margin-top: -49px;
  }
  #cases .card-case {
    padding: 30px 50px 70px;
    min-height: 575px;
  }
  #cases .owl-prev {
    position: absolute;
    top: 37%;
    left: -3vw;
  }
  #cases .owl-next {
    position: absolute;
    top: 37%;
    right: -3vw;
  }
}
@media screen and (min-width: 1640px) {
  #cases .attachment-post-thumbnail {
    max-width: 178px;
  }
  #cases .container-image {
    height: 178px;
  }
}
@media screen and (min-width: 1640px) {
  #cases .owl-prev {
    left: -5vw;
  }
  #cases .owl-next {
    right: -5vw;
  }
}

/*Contact*/
#contact {
  background: #F8F8F7;
  border-bottom: 4px solid #EEEEED;
  margin-top: 2em;
}
#contact h2 {
  color: #EBE9E8;
}
#contact p.h5 {
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}
#contact p.h5.subtitle {
  margin-top: -45px;
}
#contact p.h4 {
  font-weight: bold;
  margin-bottom: 20px;
}
@media screen and (min-width: 1025px) {
  #contact {
    margin-top: 8em;
  }
  #contact.property-offences {
    margin-top: 11em;
  }
  #contact picture img {
    transform: translateY(-100px);
  }
  #contact p.h5.subtitle {
    margin-top: -49px;
  }
}