/*
|--------------------------------------------------------------------------
| Fitness Floors Product Documents
|--------------------------------------------------------------------------
*/

/*==============================
Product Group
==============================*/

.ffpd-product-group {
  /* max-width: 1280px; */
  margin: 80px auto;
  padding: 0 20px;
}

.ffpd-product-header {
  margin-bottom: 40px;
}

.ffpd-product-title {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 700;
  color: #08132a;
}

.ffpd-product-subtitle {
  margin: 12px 0 0;
  max-width: 820px;
  color: #6f7787;
  font-size: 18px;
  line-height: 1.7;
}

/*==============================
Grid
==============================*/

.ffpd-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/*==============================
Card
==============================*/
/*==================================================
CARD
==================================================*/

.ffpd-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 30px;
  margin-top: 35px;
}

.ffpd-card {
  position: relative;

  background: #fff;

  border-radius: 22px;

  padding: 28px;

  border: 1px solid #ececec;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);

  transition: 0.35s;
}

.ffpd-card:hover {
  transform: translateY(-6px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.ffpd-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 7px 14px;

  border-radius: 999px;

  background: #eb3b3b;

  color: #fff;

  font-size: 11px;

  font-weight: 700;

  text-transform: uppercase;

  margin-bottom: 22px;
}

.ffpd-card-title {
  font-size: 34px;

  line-height: 1.15;

  font-weight: 600;

  margin: 0 0 28px;

  min-height: 78px;
}
/*  */

.ffpd-documents-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 30px;
}

.ffpd-document-box {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 18px;
  padding: 28px;
}

.ffpd-document-heading {
  font-size: 24px;
  margin-bottom: 22px;
}

.ffpd-document {
  margin-bottom: 14px;
}

.ffpd-document:last-child {
  margin-bottom: 0;
}

.ffpd-document {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid #ececec;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #fff;
}

.ffpd-document-title {
  color: #222;
  text-decoration: none;
  font-weight: 500;
}

.ffpd-document-title:hover {
  text-decoration: underline;
}

.ffpd-download {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  color: #666;
  transition: 0.25s;
}

.ffpd-download:hover {
  background: #f5f5f5;
  color: #000;
}

/*
|--------------------------------------------------------------------------
| Search
|--------------------------------------------------------------------------
*/

.ffpd-search {
  margin-bottom: 40px;
}

.ffpd-search-wrapper {
  position: relative;
  max-width: 650px;
  margin: 0 auto;
}

#ffpd-search {
  width: 100%;
  height: 58px;
  padding: 0 60px 0 22px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  font-size: 16px;
  outline: none;
  transition: 0.3s;
  background: #fff;
}

#ffpd-search:focus {
  border-color: #000;
}

#ffpd-search::placeholder {
  color: #8a8a8a;
}

#ffpd-search-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ffpd-search-btn:hover {
  color: #000;
}

/*
|--------------------------------------------------------------------------
| Filter Buttons
|--------------------------------------------------------------------------
*/

.ffpd-types {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 40px 0 50px;
}

.ffpd-types button {
  background: #ffffff;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 600;
  color: #444;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ffpd-types button:hover {
  background: #000;
  border-color: #bdbdbd;
}

.ffpd-types button.active {
  background: #000;
  color: #fff;
  border-color: #000;
}

.ffpd-types button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

/*  */

.ffpd-document-title {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: 1;
}

.ffpd-pdf-label {
  /* color: #e53935;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0; */

  /* width: 34px;
  height: 34px; */
  border-radius: 9px;
  background: rgb(253, 236, 236);
  color: rgb(225, 27, 36);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 6px;
}

.ffpd-pdf-title {
  color: #3a3a3a;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

/*====================================================
RESOURCES PAGE ONLY
====================================================*/

.ffpd-resources-page {
  max-width: 1400px;
  margin: 80px auto;
  padding: 0 25px;
}

.ffpd-resources-page .ffpd-product-group {
  margin: 0 0 80px;
  padding: 0;
}

.ffpd-resources-page .ffpd-product-header {
  margin-bottom: 30px;
}

.ffpd-resources-page .ffpd-product-title {
  font-size: 48px;
  margin-bottom: 8px;
}

.ffpd-resources-page .ffpd-product-subtitle {
  font-size: 16px;
  color: #8b8b8b;
}

.ffpd-resources-page .ffpd-results-grid {
  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));

  gap: 30px;

  align-items: start;
}

.ffpd-resources-page .ffpd-card {
  padding: 28px;

  border-radius: 20px;

  background: #fff;

  border: 1px solid #e9e9e9;

  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.ffpd-resources-page .ffpd-card-title {
  font-size: 28px;

  line-height: 1.2;

  margin-bottom: 24px;

  min-height: auto;
}

.ffpd-resources-page .ffpd-document {
  display: flex;

  align-items: center;

  justify-content: space-between;

  padding: 14px 18px;

  margin-bottom: 14px;

  border-radius: 14px;

  background: #fff;

  border: 1px solid #ececec;
}

.ffpd-resources-page .ffpd-document:last-child {
  margin-bottom: 0;
}

.ffpd-resources-page .ffpd-document-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.ffpd-resources-page .ffpd-download {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
}

.ffpd-resources-page .ffpd-badge {
  margin-bottom: 0;
  margin-right: 12px;
  font-size: 10px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid #e5e5e5;
}

.ffpd-resource-badge {
  background: rgb(255, 255, 255);
  border: 1px solid rgb(228, 231, 236);
  color: rgb(91, 98, 109);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 99px;
}

.ffpd-resource-section-title {
  grid-column: 1/-1;
  font-size: 24px;
  color: #111;
  margin-top: 20px;
}

.ffpd-resource-section {
  margin-top: 40px;
}

.ffpd-resource-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ffpd-resource-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #f8f9fb;
}

.ffpd-resource-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 8px;
}

.ffpd-resource-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ffpd-resource-header {
  display: flex;
  align-items: end;
  gap: 30px;
}

.ffpd-resource-group {
	margin-bottom: 40px;
}
.ffpd-resource-group:last-child {
	margin-bottom: 0px;
}

@media (max-width: 992px) {
  .ffpd-resources-page .ffpd-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ffpd-resources-page .ffpd-results-grid {
    grid-template-columns: 1fr;
  }
}

/*==============================
Responsive
==============================*/

@media (max-width: 1200px) {
  .ffpd-results-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .ffpd-results-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ffpd-product-title {
    font-size: 40px;
  }
}

@media (max-width: 767px) {
  .ffpd-results-grid {
    grid-template-columns: 1fr;
  }

  .ffpd-product-title {
    font-size: 32px;
  }

  .ffpd-card {
    min-height: auto;
  }
	.ffpd-resource-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}
@media (max-width: 768px) {
  .ffpd-types {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
  }

  .ffpd-types::-webkit-scrollbar {
    display: none;
  }

  .ffpd-types button {
    white-space: nowrap;
    flex-shrink: 0;
  }
}
