/* ==========================================================
   FOOTER
   PCCL logo, social icons, copyright and the "Designed by" credit.
========================================================== */

footer {
  position: relative;
  padding: 32px 16px calc(40px + env(safe-area-inset-bottom,0px));
  text-align: center;
  color: var(--mut);
  font-size: 12.5px;
  border-top: 1px solid var(--ln);
}

.flogo {
  display: block;
  margin: 0 auto;
  height: 28px;
  width: auto;
}

.dby {
  position: absolute;
  right: 14px;
  bottom: calc(10px + env(safe-area-inset-bottom,0px));
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--mut);
  padding: 3px 9px;
  border: 1px solid color-mix(in srgb, var(--or) 20%, #fff);
  border-radius: 99px;
  background: #fff7f1;
}

.dby b {
  color: #ff6a0d;
  font-weight: 600;
}

.dby a {
  color: inherit;
  text-decoration: none;
}

.dby a:hover,
.dby a:focus-visible {
  text-decoration: underline;
}

.fs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 14px 0 12px;
}

.fs a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: .25s;
  text-decoration: none;
}

.fs a:hover {
  transform: translateY(-3px);
}

.fs a.off {
  opacity: .4;
  pointer-events: none;
}

.fs svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fs b {
  font: 700 15px Oswald;
  color: #fff;
  line-height: 1;
}

.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 5px 18px rgba(15, 23, 42, .24);
  transition: transform .2s, box-shadow .2s;
}

.wa-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .3);
}

.wa-float:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-popup {
  position: fixed;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: min(210px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, .22);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
}

.news-popup.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.news-popup-link {
  display: block;
  color: var(--ink);
  text-decoration: none;
}

.news-popup-link img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: cover;
  object-position: center;
  background: var(--alt);
}

.news-popup-link span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
}

.news-popup-link b {
  color: var(--or);
  white-space: nowrap;
}

.news-popup-close {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 25px;
  height: 25px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, .72);
  color: #fff;
  font: 20px/1 system-ui, sans-serif;
  cursor: pointer;
}

@media (max-width: 560px) {
  .wa-float {
    width: 48px;
    height: 48px;
  }

  .wa-float svg {
    width: 25px;
    height: 25px;
  }

  .news-popup {
    width: min(175px, calc(100vw - 32px));
  }

  .news-popup-link img {
    height: 96px;
  }
}
