/* Home "work" section (theme Portfolio V.2): give every tile the same image size so the staggered columns stay even. */
.portfolio__area .portfolio__list-1 .portfolio__item > a { display: block; overflow: hidden; }
.portfolio__area .portfolio__list-1 .portfolio__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: center;
}

/* The theme's round "load more" style button under the work list (the site-wide rule turns .wc-btn-secondary into a flat amber button). */
body .portfolio__area .portfolio__btn.btn_wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 0;
  margin: 40px auto 0;
  transform: none !important;
}
body .portfolio__area .portfolio__btn .wc-btn-secondary {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  min-width: 0;
  height: 190px;
  min-height: 0;
  padding: 0 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100%;
  background: transparent;
  color: #d8d8d8;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  text-transform: capitalize;
  white-space: normal;
  gap: 0;
  transition: color .3s, border-color .3s;
}
body .portfolio__area .portfolio__btn .wc-btn-secondary > span:empty {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--tm-color-accent);
  transform: translate(-50%, -50%);
  transition: width .7s, height .7s;
}
body .portfolio__area .portfolio__btn .wc-btn-secondary br { display: inline; }
body .portfolio__area .portfolio__btn .wc-btn-secondary > i { position: static; margin: 0; padding: 0 0 0 6px; transform: rotate(-45deg); }
body .portfolio__area .portfolio__btn .wc-btn-secondary:hover,
body .portfolio__area .portfolio__btn .wc-btn-secondary:focus-visible { background: transparent; border-color: var(--tm-color-accent); color: var(--tm-color-ink); }
body .portfolio__area .portfolio__btn .wc-btn-secondary:hover > span:empty,
body .portfolio__area .portfolio__btn .wc-btn-secondary:focus-visible > span:empty { width: 380px; height: 380px; }
body .portfolio__area .portfolio__btn .wc-btn-secondary:focus-visible { outline: 2px solid var(--tm-color-accent); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  body .portfolio__area .portfolio__btn .wc-btn-secondary, body .portfolio__area .portfolio__btn .wc-btn-secondary > span:empty { transition: none; }
}
