/* ================= CARE HOME STAFF PAGE ================= */
/* Page-specific styles only. Global reset, typography, headings, buttons,
   container, header, footer and basket styles are supplied by core.css. */

.care-home-staff-page {
  overflow-x: hidden;
}

.care-home-staff-page .margin-block {
  margin-block: clamp(3.5rem, 7vw, 10rem);
}

.care-home-staff-page .max-width110 {
  max-width: 110rem;
  margin-inline: auto;
}

.care-home-staff-page .fw-500 {
  font-weight: 500;
}

.care-home-staff-page .shine-effect {
  position: relative;
  overflow: hidden;
}

.care-home-staff-page .shine-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
}

.care-home-staff-page .shine-effect:hover::before {
  animation: care-home-shine 1.3s forwards;
}

@keyframes care-home-shine {
  0% { left: -80%; }
  100% { left: 100%; }
}

/* ================= HERO ================= */
.carehome-hero-area__image-wrapper img {
  width: 100%;
  min-height: 36rem;
  object-fit: cover;
}

/* ================= STAFF ORGANISATION ================= */
.staff-organisation.margin-block {
  margin-block: clamp(3rem, 6vw, 7rem);
}

.staff-organisation__heading {
  color: #03a6aa;
}

.staff-organisation__description {
  max-width: 95rem;
  margin-inline: auto;
}

.staff-organisation__btn {
  margin-top: 3rem;
  padding-inline: clamp(2rem, 5vw, 6rem);
}

.staff-organisation__bottom-text {
  margin-top: 1rem;
  font-style: italic;
}

.staff-organisation__link {
  color: var(--button-color);
  font-weight: 600;
  text-decoration: underline;
}

/* ================= HOW LABELS HELP ================= */
.how-labels-help-staff__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 7rem;
  column-gap: 2rem;
  justify-items: center;
  margin-top: 5rem;
}

.how-labels-help-staff__item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
}

.how-labels-help-staff__item picture {
  flex: 0 0 auto;
}

.how-labels-help-staff__item img {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
}

.how-labels-help-staff__item-text {
  max-width: 30rem;
}

.how-labels-help-staff__title {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  color: #03a6aa;
}

/* ================= CLOTHING LABELS ================= */
.clothing-labels__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

.clothing-labels__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem;
  background: #f5f5f5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.clothing-labels__title-wrapper {
  min-height: 10rem;
  padding: 2.5rem 2rem;
  color: #fff;
  background: #03a6aa;
  text-align: center;
}

.clothing-labels__item:nth-child(2) .clothing-labels__title-wrapper {
  background: #f79a46;
}

.clothing-labels__item:nth-child(3) .clothing-labels__title-wrapper {
  background: #ed2144;
}

.clothing-labels__subtitle {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clothing-labels__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.clothing-labels__list-wrapper {
  padding: 2rem;
}

.clothing-labels__list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.clothing-labels__list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.clothing-labels__icon {
  width: 27px;
  height: auto;
  object-fit: contain;
}

/* ================= APPLY LABELS ================= */
.apply-labels .text-center > p {
  max-width: 90rem;
  margin-inline: auto;
}

.apply-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

.apply-labels__item {
  padding: 2.5rem 1.5rem;
  border-radius: 1.8rem;
  background: #f5f5f5;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-labels__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
}

.apply-labels__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #fff;
}

.apply-labels__img-wrapper img {
  object-fit: contain;
}

.apply-labels__title {
  margin-bottom: 0.5rem;
  color: #03a6aa;
}

/* ================= CARE PRODUCTS ================= */
.care-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  text-align: center;
}

.care-product__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3rem;
  background: #f5f5f5;
}

.care-product__card__img2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 2.5rem 0;
  background: transparent;
}

.care-product__card__img2 picture,
.care-product__card__img2 a {
  display: block;
  width: 100%;
}

.care-product__card__img2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 2rem;
}

.care-product__card .content {
  padding: 2.5rem;
}

.care-product__card .content h3 {
  margin-bottom: 1rem;
}

.care-product__card .content h3 a:hover {
  color: var(--button-color);
}

.use-for-title {
  margin-top: 1.5rem;
  color: #03a6aa;
}

/* ================= WHY NAMETAGS ================= */
.why-nametags__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5rem;
  max-width: 95rem;
  margin: 5rem auto 0;
  text-align: center;
}

.why-nametags__item {
  max-width: 15rem;
  justify-self: center;
}

.why-nametags__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 8rem;
}

.why-nametags__icon img {
  margin-inline: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.why-nametags__item:hover img {
  transform: scale(1.12);
}

.why-nametags__text h3 {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
  font-weight: 500;
}

/* ================= PERFECT CARE HOME ================= */
.perfect-care-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 6rem;
  background-color: #e9f5f8;
}

.perfect-care-home__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  padding-inline: 4rem;
}

.perfect-care-home__image img {
  max-height: 45rem;
  border-radius: 3.5rem;
  object-fit: scale-down;
}

.perfect-care-home__text p {
  margin: 1rem 0 3rem;
  line-height: 2;
}

.perfect-care-home__deco {
  position: absolute;
  right: -2rem;
  bottom: 0;
  z-index: -1;
  width: 22rem;
  opacity: 0.05;
}

/* ================= IRON-ON LABELS ================= */
.iron-on-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5rem;
  justify-items: center;
  margin-top: 5rem;
  text-align: center;
}

.iron-on-labels__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.iron-on-labels__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 87px;
  height: 27px;
  margin: 0 auto 2.5rem;
  border-radius: 13px;
  background-color: #03a6aa;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.iron-on-labels__image {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 1.4rem;
}

.iron-on-labels__image picture {
  display: block;
  width: 100%;
}

.iron-on-labels__image img {
  width: 100%;
  margin-inline: auto;
  border-radius: 1.4rem;
}

.iron-on-labels__description {
  max-width: 28ch;
  margin-inline: auto;
}

.iron-on-labels__instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 110rem;
  margin: 5rem auto 0;
  padding: 1rem 5rem;
  border-radius: 16px;
  background-color: #fff1c1;
}

.iron-on-labels__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex: 0 0 auto;
}

.iron-on-labels__icons img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.iron-on-labels__note {
  width: 100%;
}

/* ================= STAFF SAYS ================= */
.staff-says__content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem;
  justify-items: center;
  margin-top: 5rem;
}

.staff-says__item {
  position: relative;
  max-width: 51rem;
  padding: 3.4rem;
  border-radius: 3.1rem;
  background-color: #79c7c9;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-says__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.staff-says__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.staff-says__quote--start,
.staff-says__quote--end {
  position: absolute;
  width: 85px;
  height: 63px;
  object-fit: contain;
  opacity: 0.4;
}

.staff-says__quote--start {
  top: 2rem;
  left: 2rem;
}

.staff-says__quote--end {
  right: 2rem;
  bottom: 2rem;
}

.staff-says__person {
  margin-top: 2rem;
  font-weight: 600;
  text-align: left;
}

/* ================= RESOURCES ================= */
.fundraising {
  position: relative;
  margin-top: 12vw;
  padding-top: 3rem;
  padding-bottom: 7rem;
  background-color: #fbf6c2;
}

.fundraising .wave-deco {
  position: absolute;
  top: -10vw;
  left: 0;
  width: 100%;
}

.fundraising__item {
  max-width: 42rem;
  margin: 3rem auto 0;
  padding-inline: 2rem;
  text-align: center;
}

.fundraising__item .image {
  height: 10rem;
  margin-inline: auto;
  object-fit: contain;
}

.fundraising__item .title {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
  font-weight: 700;
}

.fundraising__item .link {
  margin-top: 1rem;
  color: var(--button-color);
  font-weight: 700;
}

/* ================= FAQ ================= */
.care-faq .faq__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 3rem;
  max-width: 90rem;
  margin-inline: auto;
}

.care-faq .faq__left {
  margin-top: 6rem;
}

.care-faq .faq__left img {
  margin-inline: auto;
  object-fit: contain;
}

.care-faq details {
  border-bottom: 1px solid #c7c5c5;
  padding-block: 1.8rem;
}

.care-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  list-style: none;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  transition: margin 150ms ease-out;
}

.care-faq summary::-webkit-details-marker {
  display: none;
}

.care-faq summary::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAANCAYAAAB2HjRBAAAA4klEQVQokZXRMS6EURTF8d8LidCNQjIh0SlEawMSsQGJaKbRKVgBO5iGNYhCoVAoLIAd6EV0hJCRkMzV3JExvu8bXnKLe8/5v/NyX0Eb7xHx7I+nlDKNuYJzvEZE5x/wEVbgAoHNiDCusI4+rmERL3hEewzYwj16WB4MO5l+idIAn6ZvPyIMC2cp7NaA26lfDQKGxVk84A1LI+ACnrLmv+cjpo1cxg0mc1YyLbD1w1/xvOM0Hma/l/3JL28FPINbfOYie7hDayycF6ziIxP7WKv0NXzLQcLdWk8DPIEdTNV5vgCTE1PKNm/KjgAAAABJRU5ErkJggg==);
  position: absolute;
  right: 0;
  font-weight: 700;
  transform: rotate(0);
  transition: transform 0.3s ease;
}

.care-faq details[open] summary {
  margin-bottom: 1.5rem;
  user-select: none;
}

.care-faq details[open] summary::after {
  transform: rotate(180deg);
}

.care-faq details [itemprop="acceptedAnswer"] {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.45s ease,
    opacity 0.35s ease;
}

.care-faq details[open] [itemprop="acceptedAnswer"] {
  grid-template-rows: 1fr;
  opacity: 1;
}

.care-faq details [itemprop="acceptedAnswer"] > p {
  overflow: hidden;
  padding-inline: 2rem;
}

.care-faq details p::before {
  display: none;
  content: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .care-home-staff-page .margin-block,
  .staff-organisation.margin-block {
    margin-block: 5rem;
  }

  .clothing-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clothing-labels__item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .apply-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .care-products {
    grid-template-columns: 1fr;
    max-width: 62rem;
  }

  .why-nametags__grid {
    gap: 2.5rem;
  }

  .why-nametags__icon img {
    transform: scale(0.9);
  }

  .perfect-care-home__content {
    grid-template-columns: 1fr;
    padding-inline: 2rem;
    text-align: center;
  }

  .perfect-care-home__image img {
    max-height: 40rem;
    margin-inline: auto;
  }

  .iron-on-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .how-labels-help-staff__grid,
  .clothing-labels__grid,
  .staff-says__content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .clothing-labels__item:nth-child(3) {
    grid-column: auto;
  }

  .how-labels-help-staff__item {
    align-items: center;
  }

  .how-labels-help-staff__item img {
    width: 11rem;
    height: 11rem;
  }

  .apply-labels__grid {
    row-gap: 2.5rem;
  }

  .why-nametags__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
  }

  .why-nametags__item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .perfect-care-home__content {
    padding-inline: 1rem;
  }

  .perfect-care-home__text p {
    line-height: 1.6;
  }

  .iron-on-labels__instructions {
    align-items: flex-start;
    padding: 1.5rem;
  }

  .staff-says__item {
    padding: 2.5rem;
  }

  .staff-says__quote--start,
  .staff-says__quote--end {
    width: 65px;
    height: 48px;
  }

  .care-faq .faq__inner {
    grid-template-columns: 1fr;
  }

  .care-faq .faq__left {
    margin-top: 0;
    text-align: center;
  }

  .care-faq .faq__left img {
    max-height: 8rem;
  }
}

@media (max-width: 576px) {
  .carehome-hero-area__image-wrapper img {
    min-height: 24rem;
  }

  .how-labels-help-staff__item {
    gap: 1.5rem;
  }

  .apply-labels__grid,
  .iron-on-labels__grid {
    grid-template-columns: 1fr;
  }

  .iron-on-labels__instructions {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .iron-on-labels__icons img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .how-labels-help-staff__item {
    flex-direction: column;
    text-align: center;
  }
}