/* HYN Portfolio Full Template
   Uses flex layouts only.
*/

.hyn-portfolio-single,
.hyn-portfolio-single * {
    box-sizing: border-box;
}

.hyn-portfolio-single {
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: #151515;
}

.hyn-portfolio-shell {
    width: min(1380px, calc(100% - 80px));
    margin: 0 auto;
}

.hyn-project-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 78vh;
    background: #111;
    overflow: hidden;
}

.hyn-project-hero-media,
.hyn-project-hero-overlay {
    position: absolute;
    inset: 0;
}

.hyn-project-hero-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 78vh;
    object-fit: cover;
}

.hyn-project-hero-overlay {
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .72) 0%,
        rgba(0, 0, 0, .20) 52%,
        rgba(0, 0, 0, .06) 100%
    );
}

.hyn-project-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 130px;
    padding-bottom: 70px;
    color: #fff;
}

.hyn-project-categories {
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .13em;
    line-height: 1.5;
    text-transform: uppercase;
}

.hyn-project-hero h1 {
    max-width: 1000px;
    margin: 0;
    color: inherit;
    font-size: clamp(44px, 6.2vw, 96px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: .98;
}

.hyn-project-body {
    padding: 110px 0 130px;
}

.hyn-project-sections {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.hyn-project-section {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.hyn-project-section-heading {
    display: flex;
    align-items: baseline;
    gap: 18px;
}

.hyn-project-section-number {
    flex: 0 0 auto;
    color: #8b8b8b;
    font-size: 12px;
    letter-spacing: .1em;
}

.hyn-project-section-heading h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(30px, 3.4vw, 54px);
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.hyn-project-images {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
}

.hyn-project-image-link {
    display: block;
    flex: 0 0 calc(33.333333% - 12px);
    overflow: hidden;
    border-radius: 10px;
    background: #f1f1f1;
}

.hyn-project-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.hyn-project-image-link:hover .hyn-project-image {
    transform: scale(1.025);
}

.hyn-other-projects {
    padding: 110px 0 120px;
    background: #111;
    color: #fff;
}

.hyn-other-projects-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 42px;
}

.hyn-eyebrow {
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hyn-other-projects-heading h2 {
    margin: 0;
    color: inherit;
    font-size: clamp(38px, 4.6vw, 68px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1;
}

.hyn-other-projects-list {
    display: flex;
    gap: 20px;
    width: 100%;
}

.hyn-other-project-card {
    flex: 1 1 0;
    min-width: 0;
}

.hyn-other-project-link {
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: inherit;
    text-decoration: none;
}

.hyn-other-project-media {
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #242424;
}

.hyn-other-project-image,
.hyn-other-project-placeholder {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .45s ease;
}

.hyn-other-project-link:hover .hyn-other-project-image {
    transform: scale(1.025);
}

.hyn-other-project-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.hyn-other-project-content h3 {
    margin: 0;
    color: inherit;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -.015em;
}

.hyn-project-arrow {
    flex: 0 0 auto;
    font-size: 23px;
    line-height: 1;
}

@media (max-width: 1024px) {
    .hyn-portfolio-shell {
        width: min(100% - 48px, 1380px);
    }

    .hyn-project-body {
        padding: 85px 0 100px;
    }

    .hyn-project-sections {
        gap: 90px;
    }

    .hyn-project-image-link {
        flex-basis: calc(50% - 9px);
    }

    .hyn-other-projects-list {
        flex-wrap: wrap;
    }

    .hyn-other-project-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 767px) {
    .hyn-portfolio-shell {
        width: calc(100% - 32px);
    }

    .hyn-project-hero {
        min-height: 68vh;
    }

    .hyn-project-hero-image {
        min-height: 68vh;
    }

    .hyn-project-hero-content {
        padding-top: 110px;
        padding-bottom: 38px;
    }

    .hyn-project-categories {
        margin-bottom: 10px;
        font-size: 11px;
    }

    .hyn-project-body {
        padding: 64px 0 78px;
    }

    .hyn-project-sections {
        gap: 70px;
    }

    .hyn-project-section {
        gap: 24px;
    }

    .hyn-project-section-heading {
        gap: 12px;
    }

    .hyn-project-images {
        gap: 14px;
    }

    .hyn-project-image-link {
        flex-basis: 100%;
    }

    .hyn-project-image {
        min-height: 240px;
    }

    .hyn-other-projects {
        padding: 72px 0 80px;
    }

    .hyn-other-projects-heading {
        margin-bottom: 30px;
    }

    .hyn-other-projects-list {
        flex-direction: column;
        gap: 38px;
    }

    .hyn-other-project-card {
        flex: 0 0 auto;
        width: 100%;
    }
}


/* Portfolio pages do not use breadcrumbs.
   Hide breadcrumb components that may be injected by the active theme. */
body.single-portfolio .breadcrumb,
body.single-portfolio .breadcrumbs,
body.single-portfolio .breadcrumb-area,
body.single-portfolio .breadcrumb-wrap,
body.single-portfolio .breadcrumb-wrapper,
body.single-portfolio .breadcrumb-section,
body.single-portfolio .page-breadcrumb,
body.single-portfolio .site-breadcrumb,
body.single-portfolio nav[aria-label="breadcrumb"],
body.single-portfolio nav[aria-label="Breadcrumb"],
body[class*="single-portfolio"] .breadcrumb,
body[class*="single-portfolio"] .breadcrumbs,
body[class*="single-portfolio"] .breadcrumb-area,
body[class*="single-portfolio"] .breadcrumb-wrap,
body[class*="single-portfolio"] .breadcrumb-wrapper,
body[class*="single-portfolio"] .breadcrumb-section,
body[class*="single-portfolio"] .page-breadcrumb,
body[class*="single-portfolio"] .site-breadcrumb {
    display: none !important;
}


/* ---------------------------------------------------------
   Portfolio single pages start directly with the image hero
   --------------------------------------------------------- */

/* Remove theme-generated page title / breadcrumb banners that
   may be printed by the active theme immediately after header.php. */
body.single-portfolio .page-title-area,
body.single-portfolio .page-title-section,
body.single-portfolio .page-title-wrapper,
body.single-portfolio .page-title-wrap,
body.single-portfolio .page-title,
body.single-portfolio .page-header:not(.site-header),
body.single-portfolio .inner-page-header,
body.single-portfolio .inner-banner,
body.single-portfolio .inner-banner-area,
body.single-portfolio .inner-banner-wrapper,
body.single-portfolio .breadcrumb-area,
body.single-portfolio .breadcrumb-section,
body.single-portfolio .breadcrumb-wrapper,
body.single-portfolio .breadcrumb-wrap,
body.single-portfolio .breadcrumb,
body.single-portfolio .breadcrumbs,
body.single-portfolio .breadcumb-area,
body.single-portfolio .breadcumb-section,
body.single-portfolio .breadcumb-wrapper,
body.single-portfolio .breadcumb-wrap,
body.single-portfolio .page-breadcrumb,
body.single-portfolio .site-breadcrumb,
body.single-portfolio .titlebar,
body.single-portfolio .title-bar,
body.single-portfolio .sub-banner,
body.single-portfolio nav[aria-label="breadcrumb"],
body.single-portfolio nav[aria-label="Breadcrumb"],
body[class*="single-portfolio"] .page-title-area,
body[class*="single-portfolio"] .page-title-section,
body[class*="single-portfolio"] .page-title-wrapper,
body[class*="single-portfolio"] .page-title-wrap,
body[class*="single-portfolio"] .inner-page-header,
body[class*="single-portfolio"] .inner-banner,
body[class*="single-portfolio"] .inner-banner-area,
body[class*="single-portfolio"] .breadcrumb-area,
body[class*="single-portfolio"] .breadcrumb-section,
body[class*="single-portfolio"] .breadcrumb-wrapper,
body[class*="single-portfolio"] .breadcrumb-wrap,
body[class*="single-portfolio"] .breadcrumb,
body[class*="single-portfolio"] .breadcrumbs,
body[class*="single-portfolio"] .breadcumb-area,
body[class*="single-portfolio"] .breadcumb-wrapper,
body[class*="single-portfolio"] .page-breadcrumb,
body[class*="single-portfolio"] .site-breadcrumb,
body[class*="single-portfolio"] .titlebar,
body[class*="single-portfolio"] .title-bar {
    display: none !important;
}

/* Make sure the generated project starts directly below the site header. */
body.single-portfolio .hyn-portfolio-single,
body[class*="single-portfolio"] .hyn-portfolio-single {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.single-portfolio .hyn-project-hero,
body[class*="single-portfolio"] .hyn-project-hero {
    margin-top: 0 !important;
}

/* The hero itself is the first visual section. */
.hyn-project-hero {
    min-height: 76vh;
}

.hyn-project-hero-image {
    min-height: 76vh;
}

.hyn-project-hero-content {
    padding-bottom: 64px;
}

@media (max-width: 767px) {
    .hyn-project-hero {
        min-height: 68vh;
    }

    .hyn-project-hero-image {
        min-height: 68vh;
    }

    .hyn-project-hero-content {
        padding-bottom: 34px;
    }
}


/* =========================================================
   v2.3 PROJECT GALLERY CAROUSEL
   ========================================================= */

.hyn-project-carousel {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.hyn-project-carousel-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    cursor: grab;
}

.hyn-project-carousel-viewport::-webkit-scrollbar {
    display: none;
}

.hyn-project-carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    user-select: none;
}

.hyn-project-images {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px;
    width: max-content;
    min-width: 100%;
    align-items: stretch;
}

.hyn-project-image-link {
    display: block;
    flex: 0 0 calc((min(1380px, calc(100vw - 80px)) - 36px) / 3) !important;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f1f1f1;
    scroll-snap-align: start;
}

.hyn-project-image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.hyn-carousel-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #151515;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity .2s ease, transform .2s ease;
}

.hyn-carousel-arrow span {
    display: block;
    font-size: 21px;
    line-height: 1;
}

.hyn-carousel-prev {
    left: 18px;
}

.hyn-carousel-next {
    right: 18px;
}

.hyn-carousel-arrow:hover:not(:disabled) {
    transform: translateY(-50%) scale(1.05);
}

.hyn-carousel-arrow:disabled {
    opacity: .3;
    cursor: default;
}

/* Extra fallback hiding for the old theme title/breadcrumb region. */
body.single-portfolio .hyn-portfolio-single ~ .breadcrumb,
body.single-portfolio .hyn-portfolio-single ~ .breadcrumbs {
    display: none !important;
}

@media (max-width: 1024px) {
    .hyn-project-image-link {
        flex-basis: calc((100vw - 66px) / 2) !important;
    }

    .hyn-carousel-prev {
        left: 12px;
    }

    .hyn-carousel-next {
        right: 12px;
    }
}

@media (max-width: 767px) {
    .hyn-project-images {
        gap: 14px;
    }

    .hyn-project-image-link {
        flex-basis: calc(100vw - 32px) !important;
    }

    .hyn-project-image {
        min-height: 240px;
    }

    .hyn-carousel-arrow {
        width: 42px;
        height: 42px;
    }

    .hyn-carousel-prev {
        left: 10px;
    }

    .hyn-carousel-next {
        right: 10px;
    }
}


/* =========================================================
   v2.4 CAROUSEL INTERACTION + PAGE SPACING FIXES
   ========================================================= */

/* Remove the large vertical spacing around the project content. */
.hyn-project-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.hyn-project-sections {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Keep a reasonable gap only BETWEEN project sections. */
.hyn-project-sections {
    gap: 64px !important;
}

/* Prevent browser text/image selection while dragging. */
.hyn-project-carousel-viewport {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.hyn-project-carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto !important;
}

.hyn-project-carousel-viewport.is-dragging .hyn-project-image-link {
    pointer-events: none;
}

.hyn-project-image,
.hyn-project-image-link {
    -webkit-user-drag: none;
    user-drag: none;
}

/* Force carousel controls to stay visible despite theme button hover styles. */
.hyn-carousel-arrow,
.hyn-carousel-arrow:hover,
.hyn-carousel-arrow:focus,
.hyn-carousel-arrow:focus-visible,
.hyn-carousel-arrow:active {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    background: #fff !important;
    color: #151515 !important;
    border: 0 !important;
    opacity: 1 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16) !important;
}

.hyn-carousel-arrow span,
.hyn-carousel-arrow:hover span,
.hyn-carousel-arrow:focus span,
.hyn-carousel-arrow:active span {
    display: block !important;
    visibility: visible !important;
    color: #151515 !important;
    opacity: 1 !important;
}

/* Disabled controls remain visible, just softer. */
.hyn-carousel-arrow:disabled,
.hyn-carousel-arrow:disabled:hover {
    visibility: visible !important;
    opacity: .35 !important;
    background: #fff !important;
    color: #151515 !important;
}

/* Keep controls above images on every interaction state. */
.hyn-carousel-arrow {
    z-index: 20 !important;
    pointer-events: auto !important;
}

@media (max-width: 1024px) {
    .hyn-project-body {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hyn-project-sections {
        gap: 52px !important;
    }
}

@media (max-width: 767px) {
    .hyn-project-body {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .hyn-project-sections {
        gap: 42px !important;
    }
}


/* =========================================================
   v2.5 PXL MAIN SPACING + SMOOTH DRAG SNAP
   ========================================================= */

/* This is the actual full-page spacing requested. */
body.single-portfolio #pxl-main,
body[class*="single-portfolio"] #pxl-main {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Restore the project layout spacing that v2.4 removed by mistake. */
.hyn-project-body {
    padding-top: 110px !important;
    padding-bottom: 130px !important;
}

.hyn-project-sections {
    gap: 120px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Let the pointer track freely during drag, then JS smoothly snaps on release. */
.hyn-project-carousel-viewport.is-dragging {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

@media (max-width: 1024px) {
    .hyn-project-body {
        padding-top: 85px !important;
        padding-bottom: 100px !important;
    }

    .hyn-project-sections {
        gap: 90px !important;
    }
}

@media (max-width: 767px) {
    .hyn-project-body {
        padding-top: 64px !important;
        padding-bottom: 78px !important;
    }

    .hyn-project-sections {
        gap: 70px !important;
    }
}


/* =========================================================
   v2.6 OPTIONAL PROJECT DESCRIPTION
   ========================================================= */

.hyn-project-description {
    max-width: 900px;
    margin: 0 0 80px;
    font-size: 18px;
    line-height: 1.75;
}

.hyn-project-description p {
    margin: 0 0 18px;
}

.hyn-project-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .hyn-project-description {
        margin-bottom: 52px;
        font-size: 16px;
    }
}


/* v2.7 Other Projects redesign */
.hyn-other-projects{
    padding:88px 0 96px!important;
    background:#111!important;
    color:#fff
}
.hyn-other-projects-header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:34px
}
.hyn-other-projects-header h2{
    margin:0;
    color:#fff;
    font-size:clamp(38px,4vw,62px);
    font-weight:500;
    letter-spacing:-.035em;
    line-height:1
}
.hyn-other-project-controls{
    display:flex;
    align-items:center;
    gap:10px
}
.hyn-other-arrow{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:46px;
    height:46px;
    padding:0!important;
    border:1px solid rgba(255,255,255,.28)!important;
    border-radius:50%!important;
    background:transparent!important;
    color:#fff!important;
    cursor:pointer;
    transition:background .2s ease,border-color .2s ease,opacity .2s ease
}
.hyn-other-arrow svg,.hyn-other-project-open svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round
}
.hyn-other-arrow:hover:not(:disabled),.hyn-other-arrow:focus-visible:not(:disabled){
    background:#fff!important;
    border-color:#fff!important;
    color:#111!important
}
.hyn-other-arrow:disabled{opacity:.28!important;cursor:default}
.hyn-other-projects-viewport{
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:none;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    overscroll-behavior-x:contain;
    cursor:grab;
    user-select:none
}
.hyn-other-projects-viewport::-webkit-scrollbar{display:none}
.hyn-other-projects-viewport.is-dragging{
    cursor:grabbing;
    scroll-snap-type:none;
    scroll-behavior:auto
}
.hyn-other-projects-list{
    display:flex!important;
    flex-wrap:nowrap!important;
    gap:20px!important;
    width:max-content;
    min-width:100%
}
.hyn-other-project-card{
    flex:0 0 calc((min(1380px,calc(100vw - 80px)) - 40px)/3)!important;
    min-width:0;
    scroll-snap-align:start
}
.hyn-other-project-link{
    display:flex;
    flex-direction:column;
    gap:16px;
    color:inherit;
    text-decoration:none
}
.hyn-other-project-media{
    position:relative;
    width:100%;
    overflow:hidden;
    border-radius:10px;
    background:#1e1e1e
}
.hyn-other-project-image,.hyn-other-project-placeholder{
    display:block;
    width:100%;
    aspect-ratio:16/11;
    object-fit:cover;
    transition:transform .45s ease
}
.hyn-other-project-link:hover .hyn-other-project-image{transform:scale(1.025)}
.hyn-other-project-open{
    position:absolute;
    right:16px;
    bottom:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:50%;
    background:rgba(255,255,255,.94);
    color:#111;
    opacity:0;
    transform:translateY(8px);
    transition:opacity .25s ease,transform .25s ease
}
.hyn-other-project-link:hover .hyn-other-project-open{opacity:1;transform:none}
.hyn-other-project-content{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:6px!important
}
.hyn-other-project-category{
    color:rgba(255,255,255,.56);
    font-size:11px;
    font-weight:500;
    letter-spacing:.11em;
    line-height:1.4;
    text-transform:uppercase
}
.hyn-other-project-content h3{
    margin:0;
    color:#fff;
    font-size:24px;
    font-weight:500;
    letter-spacing:-.02em;
    line-height:1.15
}
.hyn-project-arrow,.hyn-eyebrow,.hyn-other-projects-heading{display:none!important}
@media(max-width:1024px){
    .hyn-other-projects{padding:72px 0 80px!important}
    .hyn-other-project-card{flex-basis:calc((100vw - 68px)/2)!important}
}
@media(max-width:767px){
    .hyn-other-projects{padding:58px 0 64px!important}
    .hyn-other-projects-header{align-items:center;margin-bottom:26px}
    .hyn-other-projects-header h2{font-size:36px}
    .hyn-other-arrow{width:40px;height:40px}
    .hyn-other-projects-list{gap:14px!important}
    .hyn-other-project-card{flex-basis:calc(100vw - 32px)!important}
    .hyn-other-project-content h3{font-size:21px}
    .hyn-other-project-open{right:12px;bottom:12px;width:38px;height:38px;opacity:1;transform:none}
}


/* =========================================================
   v2.8 OTHER PROJECTS LIGHT EDITORIAL REDESIGN
   ========================================================= */

.hyn-other-projects {
    padding: 82px 0 90px !important;
    background: #f5f4f1 !important;
    color: #151515 !important;
}

.hyn-other-projects-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 24px !important;
    margin-bottom: 34px !important;
}

.hyn-other-projects-header h2 {
    margin: 0 !important;
    color: #151515 !important;
    font-size: clamp(36px, 3.3vw, 54px) !important;
    font-weight: 500 !important;
    letter-spacing: -.03em !important;
    line-height: 1 !important;
}

.hyn-other-project-controls {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
}

.hyn-other-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    padding: 0 !important;
    border: 1px solid rgba(21, 21, 21, .22) !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #151515 !important;
    box-shadow: none !important;
}

.hyn-other-arrow:hover:not(:disabled),
.hyn-other-arrow:focus-visible:not(:disabled) {
    background: #151515 !important;
    border-color: #151515 !important;
    color: #fff !important;
}

.hyn-other-arrow:disabled {
    opacity: .25 !important;
}

.hyn-other-projects-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.hyn-other-projects-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 18px !important;
    width: max-content;
    min-width: 100%;
}

.hyn-other-project-card {
    flex: 0 0 calc((min(1380px, calc(100vw - 80px)) - 36px) / 3) !important;
    min-width: 0;
    scroll-snap-align: start;
}

.hyn-other-project-link {
    position: relative !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    color: #fff !important;
    text-decoration: none !important;
    background: #222 !important;
}

.hyn-other-project-media {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 10px !important;
    background: #222 !important;
}

.hyn-other-project-media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .72) 0%,
        rgba(0, 0, 0, .18) 42%,
        rgba(0, 0, 0, 0) 70%
    );
}

.hyn-other-project-image,
.hyn-other-project-placeholder {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    object-fit: cover !important;
    transition: transform .45s ease !important;
}

.hyn-other-project-link:hover .hyn-other-project-image {
    transform: scale(1.035) !important;
}

.hyn-other-project-content {
    position: absolute !important;
    z-index: 3 !important;
    left: 24px !important;
    right: 72px !important;
    bottom: 22px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 7px !important;
    pointer-events: none;
}

.hyn-other-project-category {
    color: rgba(255, 255, 255, .72) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: .13em !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
}

.hyn-other-project-content h3 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(22px, 1.8vw, 30px) !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    line-height: 1.08 !important;
}

.hyn-other-project-open {
    position: absolute !important;
    z-index: 4 !important;
    right: 18px !important;
    bottom: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    border: 1px solid rgba(255, 255, 255, .4) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .12) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff !important;
    opacity: 1 !important;
    transform: none !important;
    transition: background .25s ease, color .25s ease, border-color .25s ease !important;
}

.hyn-other-project-link:hover .hyn-other-project-open {
    background: #fff !important;
    border-color: #fff !important;
    color: #151515 !important;
    opacity: 1 !important;
    transform: none !important;
}

.hyn-other-project-open svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 1.7 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

@media (max-width: 1024px) {
    .hyn-other-projects {
        padding: 68px 0 76px !important;
    }

    .hyn-other-project-card {
        flex-basis: calc((100vw - 66px) / 2) !important;
    }
}

@media (max-width: 767px) {
    .hyn-other-projects {
        padding: 52px 0 60px !important;
    }

    .hyn-other-projects-header {
        margin-bottom: 24px !important;
    }

    .hyn-other-projects-header h2 {
        font-size: 34px !important;
    }

    .hyn-other-project-controls {
        gap: 6px !important;
    }

    .hyn-other-arrow {
        width: 39px !important;
        height: 39px !important;
    }

    .hyn-other-projects-list {
        gap: 14px !important;
    }

    .hyn-other-project-card {
        flex-basis: calc(100vw - 32px) !important;
    }

    .hyn-other-project-content {
        left: 18px !important;
        right: 64px !important;
        bottom: 18px !important;
    }

    .hyn-other-project-content h3 {
        font-size: 24px !important;
    }

    .hyn-other-project-open {
        right: 14px !important;
        bottom: 14px !important;
        width: 38px !important;
        height: 38px !important;
    }
}


/* =========================================================
   v2.9 OTHER PROJECTS ALIGNMENT
   ========================================================= */

.hyn-other-projects {
    padding-top: 0 !important;
    padding-bottom: 90px !important;
    background: #fff !important;
}

.hyn-other-projects-header {
    position: relative !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    margin-bottom: 34px !important;
}

.hyn-other-projects-header h2 {
    width: 100% !important;
    text-align: center !important;
}

.hyn-other-project-controls {
    position: absolute !important;
    right: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

@media (max-width: 1024px) {
    .hyn-other-projects {
        padding-top: 0 !important;
        padding-bottom: 76px !important;
    }
}

@media (max-width: 767px) {
    .hyn-other-projects {
        padding-top: 0 !important;
        padding-bottom: 60px !important;
    }

    .hyn-other-projects-header {
        margin-bottom: 24px !important;
    }

    .hyn-other-projects-controls {
        right: 0 !important;
    }
}
