/*
Theme name: The Freeman

Theme URI: https://freeman.maintask.dev/

Author: Maintask

Author URI: https://maintask.io/

Description: Theme created for the The Freeman website project

Version: 1.0.0.
*/
/*Main styles*/

html {
  font-size: 100%;
  line-height: 1.15;
}

body,
body p {
  margin: 0;
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: "Montserrat";
}

p,
.elementor-widget-heading p.elementor-heading-title {
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  font-family: "Montserrat";
}

h1,
.elementor-widget-heading h1.elementor-heading-title {
  font-size: 2.5rem;
  font-family: "Montserrat";
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -2px;
}

h2,
.elementor-widget-heading h2.elementor-heading-title {
  font-family: "Montserrat";
  line-height: 1.125;
  font-weight: 500;
  font-size: 1.75rem;
}

h3,
.elementor-widget-heading h3.elementor-heading-title {
  font-family: "Montserrat";
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.125;
}

h4,
.elementor-widget-heading h4.elementor-heading-title {
  font-family: "Montserrat";
  font-weight: 400;
  line-height: 1.125;
  font-size: 1.25rem;
}

h5,
.elementor-widget-heading h5.elementor-heading-title {
}

h6,
.elementor-widget-heading h6.elementor-heading-title {
}

.elementor-section > .elementor-container {
  max-width: 1440px;
}

/* header */
.main-nav-list a:hover {
  text-decoration: underline;
}

.main-nav-list .elementor-nav-menu li:last-child {
  background-color: #eb4032;

  a {
    color: #ffffff !important;

    &:hover {
      color: #ffffffcc !important;
    }
  }
}

/*-------*/

/* footer */
.footer-list a:hover {
  text-decoration: underline;
  color: #ffffff !important;
  text-decoration-color: #ffffff !important;
}

/*-------*/

/* filtering */
.facetwp-template .elementor-widget-container {
  min-height: 210px;
}

.facet-wrap h3 {
  display: none;
}

.facetwp-facet-year {
  margin: 0;
}

.facetwp-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: url("/wp-content/uploads/2025/02/caret-down-solid-white.svg")
    no-repeat right 40px center;
  background-size: 12px;
  border: none;
  border-radius: 12px;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 20px 60px;
  font-size: 1rem;
  font-family: "Montserrat", Sans-serif;
  text-transform: uppercase;
  height: 60px;
}

.facetwp-dropdown:focus {
  outline: none;
}

.facetwp-dropdown option {
  transform: translateY(-5px);
}

.facetwp-template .elementor-widget-container .elementor-pagination {
  position: absolute;
  top: -120px;
  left: 25%;
  display: flex;
  align-items: center;
  gap: 10px;
}

.facetwp-template
  .elementor-widget-container
  .elementor-pagination
  .page-numbers {
  border: none;
  border-radius: 12px;
  background-color: #000;
  color: #fff;
  margin: 0;
  padding: 20px 60px;
  line-height: 1.25em;
  height: 60px;
}

/*-------*/

/*Responsive styles*/
@media screen and (max-width: 1150px) {
  .facetwp-template .elementor-widget-container .elementor-pagination {
    left: 30.5%;
  }
}

@media screen and (max-width: 1024px) {
  .facetwp-template .elementor-widget-container .elementor-pagination {
    top: -50px;
    left: 0%;
  }
}

@media only screen and (max-width: 767px) {
  html {
    font-size: 90%;
  }
}

@media only screen and (max-width: 500px) {
  html {
    font-size: 80%;
  }

  .facetwp-template
    .elementor-widget-container
    .elementor-pagination
    .page-numbers {
    margin-right: 10px;
    padding: 15px 30px;
    height: 45px;
  }

  .facetwp-dropdown {
    padding: 15px 30px;
    height: 45px;
    background: url(/wp-content/uploads/2025/02/caret-down-solid-white.svg)
      no-repeat right 12px center;
    background-color: #000;
    background-size: 10px;
  }

  .facetwp-template .elementor-widget-container .elementor-pagination {
    display: block;
    top: -35px;
  }

  .facetwp-elementor-widget .elementor-posts .elementor-post {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  a {
    width: 100% !important;
  }
}
/*-------*/
@keyframes fadeInAnimation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}
