/* Headers */
#heading h1,
#heading h2,
#heading h3,
#heading h4,
#heading h5,
#heading h6 {
  font-weight: 600;
  font-size: 2.5rem;
}
#heading.bold h1,
#heading.bold h2,
#heading.bold h3,
#heading.bold h4,
#heading.bold h5,
#heading.bold h6 {
  font-weight: bold !important;
}
#heading p {
  max-width: 850px;
  margin: 0 auto;
}
#heading span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 1em;
  margin-bottom: 1em;
}
#heading.center span:after {
  content: "";
  display: block;
  height: 2px;
  width: 100px;
  background: #eee;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

/* --> Heading Style 2 */
#heading.heading-1 span {
  display: none;
}

/* --> Heading Style 3 */
#heading.heading-2 span {
  display: none;
}
#heading.heading-2 h1:after,
#heading.heading-2 h2:after,
#heading.heading-2 h3:after,
#heading.heading-2 h4:after,
#heading.heading-2 h5:after,
#heading.heading-2 h6:after {
  content: "";
  display: block;
  height: 2px;
  width: 100px;
  background: #eee;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}


/* Areas */
#featured-areas.container {
  max-width: 1440px;
  margin: 0 auto;
}
#featured-areas img {
  max-width: 100% !important;
  width: 100% !important;
  height: 350px;
  object-fit: cover;
  object-position: center;
}
#featured-areas a:not(.btn-primary) {
  position: relative;
  padding: 5px;
  padding-top: 0;
  padding-bottom: 0;
}
#featured-areas a * {
  transition: all 0.25s ease;
}
#featured-areas a.half {
  width: 49.5% !important;
}
@media (max-width: 767px) {
  #featured-areas a.half {
    width: 100% !important;
  }
}
#featured-areas .area-tag {
  font-size: 1em;
}
#featured-areas .area-name {
  font-size: 2em;
}
#featured-areas .flex.big img {
  height: 550px;
}

/* Areas (Style: Flex) */
#featured-areas .flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
#featured-areas .flex.flex-1 a {
  width: 100%;
  margin-bottom: 1em;
}
#featured-areas .flex.flex-2 a {
  width: 50%;
  margin-bottom: 1em;
}
#featured-areas .flex.flex-3 a {
  width: 33%;
  margin-bottom: 1em;
}
@media (max-width: 992px) {
  #featured-areas .flex.flex-3 a {
    width: 49.3%;
    margin-bottom: 1em;
  }
}
@media (max-width: 767px) {
  #featured-areas a {
    width: 100% !important;
    padding: 0px !important;
    margin-bottom: 2em;
  }
}

/* Areas (Style: Grid) */
#featured-areas .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(33%, 1fr));
}
#featured-areas .grid a {
  width: 100%;
  margin-bottom: 1em;
}
#featured-areas .grid a:nth-child(1) {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 1;
}
#featured-areas .grid a:nth-child(4) {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 2;
}
#featured-areas .grid a:nth-child(5) {
  grid-column-start: 1;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
}
@media (max-width: 992px) {
  #featured-areas .grid {
    display: flex;
    flex-direction: column;
  }
}

/* --> Area Style 1 */
#featured-areas a.area-1 .area-title-wrapper {
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  padding: 1em;
  margin: 5px;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.2em;
}
#featured-areas a.area-1 .area-tag {
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6.9px;
  margin-bottom: 0.7em;
}
#featured-areas a.area-1 .area-name {
  display: block;
  font-weight: 600;
}
@media (max-width: 767px) {
  #featured-areas a.area-1 .area-title-wrapper {
    margin: 0 !important;
  }
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-1:hover .area-title-wrapper {
    padding-bottom: 1.5rem;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-1:hover .area-tag {
    padding-left: 15px;
    transition-delay: 0.1s;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-1:hover .area-name {
    padding-left: 5px;
    transition-delay: 0.2s;
  }
}

/* --> Area Style 2 */
#featured-areas a.area-2 .area-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  padding-top: 2rem;
  margin: 5px;
  margin-bottom: 0;
  text-align: center;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.99), rgba(0, 0, 0, 0.01));
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.2em;
}
#featured-areas a.area-2 .area-tag {
  display: block;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6.9px;
  margin-bottom: 0.7em;
}
#featured-areas a.area-2 .area-name {
  display: block;
  font-weight: 600;
}
@media (max-width: 767px) {
  #featured-areas a.area-2 .area-title-wrapper {
    margin: 0 !important;
  }
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-2:hover .area-title-wrapper {
    padding-bottom: 3rem;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-2:hover .area-tag {
    letter-spacing: 10.5px;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-2:hover .area-name {
    font-size: 1.8em;
  }
}

/* --> Area Style 3 */
#featured-areas a.area-3 {
  text-decoration: none !important;
  border: 5px solid #fff;
  align-self: flex-start;
  background: #fff;
  margin-top: 0;
  padding-left: 0;
  padding-right: 0;
  box-shadow: 0px 6px 20px -10px rgba(0, 0, 0, 0.2);
  max-width: 31%;
  margin: 10px;
  transition: all 0.5s ease;
}
#featured-areas a.area-3 img {
  max-height: 250px;
}
#featured-areas a.area-3 .area-title-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.3em;
  color: #444;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#featured-areas a.area-3 .area-title-wrapper.btn-primary {
  color: #fff !important;
}
#featured-areas a.area-3 .area-tag {
  letter-spacing: 6px;
}
#featured-areas a.area-3 .area-name {
  font-weight: 600;
  margin: 0 !important;
  margin-top: 0.5em !important;
  text-align: center;
}
@media (max-width: 855px) {
  #featured-areas a.area-3 {
    max-width: 47%;
  }
}
@media (max-width: 667px) {
  #featured-areas a.area-3 {
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  #featured-areas > .container .area-3 {
    max-width: 47% !important;
  }
}
@media (max-width: 767px) {
  #featured-areas > .container .area-3 {
    max-width: 100% !important;
  }
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-3:hover {
    transform: translateY(-10px);
    box-shadow: 0px 20px 40px -10px rgba(0, 0, 0, 0.1) !important;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-3:hover .area-tag {
    transform: translateY(-3px);
  }
  #froala-editor:not(.fr-box) #featured-areas .area-3:hover .area-name {
    transform: scale(1.1);
  }
}

/* --> Area Style 4 */
#featured-areas a.area-4 {
  overflow: hidden;
}
#featured-areas a.area-4:before {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-top: 6px double #eae3d4;
  border-bottom: 6px double #eae3d4;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  transition: all 0.25s ease;
}
#featured-areas a.area-4:after {
  content: "";
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border-left: 6px double #eae3d4;
  border-right: 6px double #eae3d4;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.8);
  transition: all 0.25s ease;
}
#featured-areas a.area-4 .area-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  padding-bottom: 3rem;
  margin: 5px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.2em;
}
#featured-areas a.area-4 .area-tag {
  display: block;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6.9px;
  margin-bottom: 0.7em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
#featured-areas a.area-4 .area-name {
  display: block;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
@media (max-width: 767px) {
  #featured-areas a.area-4 .area-title-wrapper {
    margin: 0 !important;
  }
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-4:hover:before {
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.5s ease;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-4:hover:after {
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.8);
    transition: all 0.5s ease;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-4:hover .area-title-wrapper {
    padding-bottom: 5rem;
    transition: all 0.5s ease;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-4:hover .area-tag {
    letter-spacing: 10.5px;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-4:hover .area-name {
    font-size: 1.8em;
  }
}

/* --> Area Style 5 */
#featured-areas a.area-5 {
  overflow: hidden;
}
#featured-areas a.area-5 .area-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  margin: 5px;
  margin-bottom: 0;
  text-align: right;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.2em;
  background: rgba(0, 0, 0, 0.7);
}
#featured-areas a.area-5 .area-tag {
  display: none;
}
#featured-areas a.area-5 .area-name {
  display: block;
  font-weight: 600;
  text-shadow: 1px 1px 1px #000;
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-5:hover .area-title-wrapper {
    padding: 1.5em;
  }
}

/* --> Area Style 6 */
#featured-areas a.area-6 {
  overflow: hidden;
}
#featured-areas a.area-6:before {
  content: "";
  position: absolute;
  top: 0px;
  right: 0px;
  height: 0;
  bottom: 0px;
  left: 0px;
}
#featured-areas a.area-6:after {
  content: "";
  position: absolute;
  top: 0px;
  right: 0;
  height: 0;
  bottom: 0px;
  left: 0;
}
#featured-areas a.area-6 .area-title-wrapper {
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  right: 0;
  padding: 1em;
  margin: 5px;
  margin-bottom: 0;
  text-align: center;
  color: #fff;
  font-weight: bold;
  background: transparent;
  letter-spacing: 0.2em;
}
#featured-areas a.area-6 .area-tag {
  display: block;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 6.9px;
  margin-bottom: 0.7em;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
#featured-areas a.area-6 .area-name {
  display: block;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-6:hover .area-title-wrapper {
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.5s ease;
    padding-bottom: 10rem;
    padding-top: 1rem;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-6:hover .area-tag {
    letter-spacing: 10.5px;
    margin-top: 8rem;
  }
  #froala-editor:not(.fr-box) #featured-areas .area-6:hover .area-name {
    font-size: 1.8em;
  }
}
/* --> Area Style 7 */
#featured-areas a.area-7 {
  overflow: hidden;
}
#featured-areas a.area-7 .area-title-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1em;
  margin: 5px;
  margin-bottom: 0;
  text-align: right;
  color: #fff;
  font-weight: bold;
  letter-spacing: 0.2em;
}
@media screen and (max-width: 767px) {
  #featured-areas a.area-7 .area-title-wrapper {
    margin: 0px !important;
  }
}
#featured-areas a.area-7 .area-tag {
  display: none;
}
#featured-areas a.area-7 .area-name {
  display: block;
  font-weight: 600;
  text-shadow: 1px 1px 1px #000;
}
@media (min-width: 992px) {
  #froala-editor:not(.fr-box) #featured-areas .area-7:hover .area-title-wrapper {
    padding: 1.5em;
  }
}
