/* Cards deliberately inherit the homepage's wptb-project / effect-gradient rules. */
.kimono-projects { color: #f2f3f5; }
/* Keep the theme's standard frame independent of uploaded image dimensions. */
.kimono-projects.wptb-project .grid-item .wptb-item--image {
    width: 100%;
    height: auto !important;
    aspect-ratio: 403 / 523;
}
.kimono-projects.wptb-project .grid-item .wptb-item--image > picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/* Support both img and responsive picture markup without cropping or zoom. */
.kimono-projects.wptb-project .grid-item .wptb-item--image img,
.kimono-projects.wptb-project .grid-item .wptb-item--inner:hover .wptb-item--image img,
.kimono-projects.wptb-project .grid-item:focus-within .wptb-item--image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    inset: 0;
    object-fit: fill !important;
    object-position: center !important;
    transform: none !important;
    scale: none !important;
}
.kimono-projects .kimono-projects__card-link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; cursor: pointer; }
.kimono-projects .wptb-item--meta h4 a, .kimono-projects .wptb-item--image .wptb-item--link { position: relative; z-index: 3; }
.kimono-projects .wptb-item--image .wptb-item--link { position: absolute; }
.kimono-projects.wptb-project { padding-top: 40px !important; padding-bottom: 40px !important; }
.kimono-projects .kimono-projects__heading { margin: 0 0 28px; padding: 0; text-align: center; }
.kimono-projects .kimono-projects__heading .content-area { width: 100%; max-width: none; margin: 0 auto; padding: 0; min-height: 0; }
@media (min-width: 1024px) {
    .kimono-projects .kimono-projects__heading .subtitle { font-size: clamp(14px, 1.3vw, 18px); white-space: nowrap; text-align: center; }
}
.kimono-projects .kimono-projects__wrapper { margin-top: 0; padding-top: 0; }
.kimono-projects__heading .content-area::before, .kimono-projects__heading .content-area::after { display: none; }
.kimono-projects__heading .pre-title { display: block; margin: 0 0 8px; color: #09aff4; font-size: 16px; font-weight: 600; }
.kimono-projects .kimono-projects__heading .title { margin: 0 0 16px; font-size: clamp(28px, 3vw, 44px); font-weight: 600; line-height: 1.25; color: #f2f3f5; text-wrap: balance; }
.kimono-projects__heading .subtitle { margin: 0; color: #b4bec3; font-size: 18px; line-height: 1.7; }
.kimono-projects__heading .subtitle p { margin: 0; }
.kimono-projects__filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin: 0 0 24px; padding: 4px 0; }
.kimono-projects__filter { position: relative; display: inline-flex; align-items: center; min-height: 46px; padding: 8px 0 8px 12px; color: #f2f3f5; font-size: 20px; line-height: 1.5; text-decoration: none; }
.kimono-projects__filter.active { color: #09aff4; }
.kimono-projects__filter.active::before { content: ""; position: absolute; left: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.kimono-projects__filter:is(:hover, :focus-visible) { color: #ff8a00; }
.kimono-projects__placeholder { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #162d37, #0c1216); color: #43606e; font-size: 80px; }
.kimono-projects a:focus-visible { outline: 2px solid #09c8ff; outline-offset: -3px; }
.kimono-projects .grid-item:focus-within .wptb-item--holder { bottom: 0; }
.kimono-projects .grid-item:focus-within :is(.wptb-item--meta h4, .wptb-item--meta p, .wptb-item--link) { opacity: 1; transform: none; }
.kimono-projects .projects-page-pagination-footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 48px; color: #b4bec3; font-size: 15px; line-height: 1.6; }
.kimono-projects .projects-page-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.kimono-projects .projects-page-btn, .kimono-projects .projects-page-ellipsis { display: inline-flex; flex: 0 0 42px; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; color: #f2f3f5; font-size: 20px; font-weight: 500; line-height: 1; text-decoration: none; background: transparent; }
.kimono-projects .projects-page-btn svg { width: 20px; height: 20px; }
.kimono-projects .projects-page-btn.is-active { background: #1cb8d7; color: #fff; }
.kimono-projects .projects-page-btn.is-disabled:not(.is-active) { opacity: .45; }
.kimono-projects a.projects-page-btn:hover { background: rgb(28 184 215 / 12%); color: #1cb8d7; }
@media (max-width: 767px) {
  .kimono-projects__heading .subtitle { font-size: 16px; }
  .kimono-projects__filter { font-size: 17px; }
  .kimono-projects .projects-page-pagination-footer { display: flex; flex-direction: column; text-align: center; margin-top: 32px; }
}
