.vformate-portfolio-system,
.vformate-portfolio-single {
    --vf-brand: #4B5EAA;
    --vf-accent: #FAA633;
    --vf-overlay-card-radius: 10px;
}

.project-section-6.vformate-portfolio-system {
    --vformate-portfolio-title-bg: #f5f7fc;
    --vformate-portfolio-title-header-offset: 78px;
    --vformate-portfolio-title-padding: 56px;
    --vformate-portfolio-title-content-gap: 52px;
    padding-top: var(--vformate-portfolio-title-header-offset);
}

.vformate-portfolio-system .vformate-portfolio-header {
    margin-bottom: 48px;
}

.vformate-portfolio-system .vformate-portfolio-header .project-top {
    width: 100%;
    margin-bottom: var(--vformate-portfolio-title-content-gap);
    padding-block: var(--vformate-portfolio-title-padding);
    background: var(--vformate-portfolio-title-bg);
    box-shadow: 0 0 0 100vmax var(--vformate-portfolio-title-bg);
    clip-path: inset(0 -100vmax);
}

.vformate-portfolio-system .vformate-portfolio-header__title {
    position: relative;
    display: inline-block;
    color: #5066B3;
    font-family: Roboto, sans-serif;
    font-size: clamp(42px, 4.4vw, 68px);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.04;
    margin: 0;
    text-transform: none;
}

.vformate-portfolio-system .vformate-portfolio-header__title::after {
    display: inline-block;
    width: .16em;
    height: .16em;
    margin-left: .11em;
    border-radius: 50%;
    background: var(--vf-accent);
    content: "";
}

.project-section-6.vformate-static-page-header { padding-bottom: 0; }
.vformate-static-page-header .vformate-portfolio-header,
.vformate-static-page-header .vformate-portfolio-header .project-top { margin-bottom: 0; }

.project-box-items-2,
.project-box-items-2 .thumb,
.project-box-items-2 .thumb img {
    border-radius: 10px;
}

/* The vendor Project 6 card expects two image nodes and hides the first one
 * for its reveal animation. VFORMATE cards deliberately render one semantic
 * responsive image, so fully isolate that image from the vendor effect. */
.vformate-portfolio-card .thumb {
    aspect-ratio: 4 / 3;
    background: #f3f4f6;
    min-height: 0;
    position: relative;
}

.vformate-portfolio-card .thumb > img,
.vformate-portfolio-card .thumb > img:first-child,
.vformate-portfolio-card .thumb > img:nth-child(2),
.vformate-portfolio-card:hover .thumb > img:first-child,
.vformate-portfolio-card:hover .thumb > img:nth-child(2) {
    bottom: auto;
    display: block;
    filter: none;
    height: 100%;
    left: auto;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    position: static;
    right: auto;
    top: auto;
    transform: none;
    transition: transform .35s ease;
    width: 100%;
}

.vformate-portfolio-card:hover .thumb > img {
    transform: scale(1.025);
}

.vformate-portfolio-card .content-items {
    align-items: start;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.vformate-portfolio-card .content-items .content {
    min-width: 0;
}

.vformate-portfolio-card .content-items .title,
.vformate-portfolio-card .content-items .title a {
    overflow-wrap: anywhere;
}

.vformate-portfolio-card .content-items .tag-items {
    flex-wrap: wrap;
}

.vformate-portfolio-card .content-items .year-text {
    white-space: nowrap;
}

.vformate-portfolio-card__placeholder {
    align-items: center;
    color: #697080;
    display: flex;
    font-size: 14px;
    height: 100%;
    justify-content: center;
    letter-spacing: .04em;
    text-transform: uppercase;
    width: 100%;
}

/* Compact image-led cards used by the public Gallery and Projects lists. */
.vformate-portfolio-card--overlay {
    border-radius: var(--vf-overlay-card-radius);
    height: 100%;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.vformate-portfolio-card--overlay .vformate-portfolio-card__overlay-link {
    color: #fff;
    display: block;
    min-height: 100%;
    position: relative;
}

.vformate-portfolio-card--overlay .thumb {
    aspect-ratio: 3 / 2;
    border-radius: 0;
    display: block;
    overflow: hidden;
}

.vformate-portfolio-card--overlay .thumb > img {
    border-radius: 0;
}

.vformate-portfolio-card--overlay .vformate-portfolio-card__shade {
    background: linear-gradient(180deg, rgba(5, 8, 15, 0) 35%, rgba(5, 8, 15, .82) 100%);
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.vformate-portfolio-card--overlay .vformate-portfolio-card__overlay-content {
    bottom: 0;
    display: grid;
    gap: 7px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    left: 0;
    padding: 24px 28px;
    position: absolute;
    right: 0;
    z-index: 1;
}

.vformate-portfolio-card__overlay-meta {
    color: rgba(255, 255, 255, .82);
    font-size: 14px;
    grid-column: 1 / -1;
}

.vformate-portfolio-card__overlay-title {
    align-self: center;
    color: #fff;
    font-size: clamp(18px, 1.45vw, 24px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.vformate-portfolio-card__overlay-arrow {
    align-self: center;
    font-size: 25px;
    line-height: 1;
    transition: transform .25s ease;
}

.vformate-portfolio-card--overlay:hover .thumb > img,
.vformate-portfolio-card--overlay:focus-within .thumb > img {
    transform: scale(1.045);
}

.vformate-portfolio-card--overlay:hover .vformate-portfolio-card__overlay-arrow,
.vformate-portfolio-card--overlay:focus-within .vformate-portfolio-card__overlay-arrow {
    transform: translateX(5px);
}

.vformate-portfolio-system .vformate-portfolio-grid {
    --bs-gutter-x: 24px;
    row-gap: 48px;
}

.vformate-portfolio-system .project-box-items-2 {
    margin-top: 0;
    max-width: none;
}

.vformate-portfolio-system .vformate-columns-3 .project-box-items-2 .content-items .content .title {
    font-size: 26px;
}

.vformate-portfolio-pagination {
    margin-top: 48px;
}

.vformate-gallery-filter {
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.vformate-gallery-grid {
    column-count: var(--gallery-columns, 3);
    column-gap: 24px;
}

.vformate-gallery-card {
    break-inside: avoid;
    margin: 0 0 48px !important;
}

.vformate-gallery-card[hidden] {
    display: none;
}

.vformate-portfolio-filterable .vformate-portfolio-grid,
.vformate-portfolio-gallery .vformate-gallery-grid {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .16s ease, transform .16s ease;
}

.vformate-portfolio-filterable.is-filtering .vformate-portfolio-grid,
.vformate-portfolio-gallery.is-filtering .vformate-gallery-grid {
    opacity: 0;
    transform: translateY(8px);
}

@media (max-width: 991px) {
    .vformate-gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 767px) {
    .project-section-6.vformate-portfolio-system {
        --vformate-portfolio-title-padding: 36px;
        --vformate-portfolio-title-content-gap: 48px;
    }

    .vformate-portfolio-system .vformate-portfolio-header {
        margin-bottom: 32px;
    }

    .vformate-portfolio-card .content-items {
        gap: 10px;
    }

    .vformate-portfolio-card--overlay .vformate-portfolio-card__overlay-content {
        padding: 18px 20px;
    }
}

@media (max-width: 1199px) {
    .vformate-portfolio-system .vformate-columns-3 .project-box-items-2 .content-items .content .title {
        font-size: 22px;
    }
}

@media (max-width: 575px) {
    .vformate-gallery-grid {
        column-count: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vformate-portfolio-filterable .vformate-portfolio-grid,
    .vformate-portfolio-gallery .vformate-gallery-grid {
        transition: none;
    }
}

.vformate-portfolio-single .project-single__outer--hero {
    padding-top: 120px;
}

.vformate-portfolio-single .details-image-item .row > [class*="col-"] {
    display: flex;
}

.vformate-portfolio-single .details-image-item .thumb {
    align-items: center;
    display: flex;
    height: 100%;
    width: 100%;
}

.vformate-portfolio-single .details-image-item .thumb img {
    display: block;
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.vformate-portfolio-single .project-single__nav {
    align-items: center;
    display: grid;
    gap: 32px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.vformate-portfolio-single .project-single__nav-link {
    align-items: center;
    color: var(--vf-brand);
    display: inline-flex;
    gap: 24px;
    min-height: 56px;
    min-width: 0;
    text-decoration: none;
    transition: color .25s ease;
}

.vformate-portfolio-single .project-single__nav-link--previous {
    justify-self: start;
    text-align: left;
}

.vformate-portfolio-single .project-single__nav-link--next {
    justify-self: end;
    text-align: right;
}

.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .previus-text {
    color: inherit;
    line-height: 1.3;
    text-transform: none !important;
}

.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-prev,
.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-next {
    border-color: var(--vf-brand);
    color: var(--vf-brand);
    flex: 0 0 56px;
}

.vformate-portfolio-single .project-single__nav-link:hover,
.vformate-portfolio-single .project-single__nav-link:focus-visible {
    color: var(--vf-accent);
}

.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link:hover .cmn-prev,
.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link:hover .cmn-next,
.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link:focus-visible .cmn-prev,
.vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link:focus-visible .cmn-next {
    background-color: var(--vf-accent);
    border-color: var(--vf-accent);
    color: var(--white);
}

.vformate-portfolio-single .project-single__nav-link:focus-visible,
.vformate-portfolio-single .project-single__all-projects:focus-visible {
    outline: 2px solid var(--vf-accent);
    outline-offset: 4px;
}

.vformate-portfolio-single .project-single__nav .icon-gird {
    justify-self: center;
}

.vformate-portfolio-single .project-single__all-projects {
    border: 1px solid transparent;
    color: var(--vf-brand);
    display: flex;
    flex: 0 0 56px;
    height: 56px;
    overflow: visible;
    transition: color .25s ease;
    width: 56px;
}

.vformate-portfolio-single .project-single__grid-icon {
    display: block;
    flex: 0 0 auto;
    height: 36px;
    overflow: visible;
    width: 36px;
}

.vformate-portfolio-single .project-single__all-projects:hover,
.vformate-portfolio-single .project-single__all-projects:focus-visible {
    color: var(--vf-accent);
}

@media (max-width: 767px) {
    .vformate-portfolio-single .project-single__outer--hero {
        padding-top: 80px;
    }

    .vformate-portfolio-single .project-single__nav {
        gap: 8px;
        padding: 12px 0;
    }

    .vformate-portfolio-single .project-single__nav-link {
        gap: 8px;
        min-height: 42px;
    }

    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .previus-text {
        display: -webkit-box;
        font-size: 12px;
        line-height: 1.2;
        max-width: 76px;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-prev,
    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-next,
    .vformate-portfolio-single .project-single__all-projects {
        flex-basis: 42px;
        height: 42px;
        line-height: 42px;
        width: 42px;
    }

    .vformate-portfolio-single .project-single__grid-icon {
        height: 28px;
        width: 28px;
    }
}

@media (max-width: 420px) {
    .vformate-portfolio-single .project-single__nav {
        gap: 4px;
    }

    .vformate-portfolio-single .project-single__nav-link {
        gap: 5px;
    }

    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .previus-text {
        font-size: 11px;
        max-width: 76px;
    }

    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-prev,
    .vformate-portfolio-single .project-details-wrapper .project-details-top-item .project-single__nav-link .cmn-next,
    .vformate-portfolio-single .project-single__all-projects {
        flex-basis: 38px;
        height: 38px;
        line-height: 38px;
        width: 38px;
    }
}

/* Independent Portfolio detail composition. */
.vformate-portfolio-single {
    color: #0b1e48;
}

.vformate-project-hero,
.vformate-project-section,
.vformate-project-navigation {
    padding: clamp(56px, 7vw, 100px) 0;
}

.vformate-project-hero {
    padding-top: clamp(96px, 10vw, 150px);
}

.vformate-project-hero__copy {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    margin-bottom: 40px;
}

.vformate-project-hero h1 {
    font-size: clamp(42px, 6.5vw, 96px);
    letter-spacing: -.04em;
    line-height: .98;
    margin: 0;
    overflow-wrap: anywhere;
}

.vformate-project-hero__excerpt {
    align-self: end;
    color: #59657a;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.55;
}

.vformate-project-hero__excerpt > :last-child {
    margin-bottom: 0;
}

.vformate-project-facts {
    border-bottom: 1px solid #d7ddea;
    border-top: 1px solid #d7ddea;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0 0 24px;
}

.vformate-project-facts > div {
    border-right: 1px solid #d7ddea;
    min-width: 0;
    padding: 22px 24px;
}

.vformate-project-facts > div:last-child {
    border-right: 0;
}

.vformate-project-facts dt {
    color: #697080;
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.vformate-project-facts dd {
    font-size: 18px;
    font-weight: 650;
    margin: 0;
    overflow-wrap: anywhere;
}

.vformate-project-facts a,
.vformate-project-services a {
    color: var(--vf-brand);
}

.vformate-project-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.vformate-project-services a {
    border: 1px solid #d7ddea;
    border-radius: 999px;
    padding: 7px 13px;
}

.vformate-project-hero__image {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin: 0;
    overflow: hidden;
}

.vformate-project-hero__image img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.vformate-project-section:nth-of-type(even) {
    background: #f6f8fb;
}

.vformate-project-section h2,
.vformate-related-projects > .container > h2 {
    font-size: clamp(30px, 4vw, 52px);
    letter-spacing: -.025em;
    line-height: 1.08;
    margin: 0 0 32px;
}

.vformate-project-prose {
    font-size: clamp(17px, 1.4vw, 20px);
    line-height: 1.75;
    max-width: 1060px;
}

.vformate-project-prose img,
.vformate-project-prose iframe {
    height: auto;
    max-width: 100%;
}

.vformate-project-features ul {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.vformate-project-features li {
    background: #fff;
    border: 1px solid #d7ddea;
    border-radius: 999px;
    padding: 11px 18px;
}

.vformate-project-videos__grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vformate-project-video {
    margin: 0;
}

.vformate-project-video__embed {
    aspect-ratio: 16 / 9;
    background: #091328;
    border-radius: 10px;
    overflow: hidden;
}

.vformate-project-video__embed iframe {
    height: 100%;
    width: 100%;
}

.vformate-project-video figcaption {
    margin-top: 10px;
}

.vformate-project-steps ol {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.vformate-project-steps li {
    background: #fff;
    border: 1px solid #d7ddea;
    border-radius: 10px;
    padding: 24px;
}

.vformate-project-steps li > span {
    color: var(--vf-brand);
    font-weight: 700;
}

.vformate-project-steps h3 {
    font-size: 22px;
    margin: 24px 0 12px;
}

.vformate-project-steps li > :last-child {
    margin-bottom: 0;
}

.vformate-project-gallery__grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vformate-service-content-gallery.vformate-project-gallery__grid {
    margin-top: 0;
}

.vformate-project-gallery__item {
    aspect-ratio: 4 / 3;
    background: #eef1f5;
    border-radius: 8px;
    display: block;
    overflow: hidden;
}

.vformate-project-gallery__item img {
    display: block;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .3s ease;
    width: 100%;
}

.vformate-project-gallery__item:hover img,
.vformate-project-gallery__item:focus-visible img {
    transform: scale(1.035);
}

.vformate-project-gallery__more {
    background: var(--vf-brand);
    border: 0;
    border-radius: 999px;
    color: #fff;
    display: none;
    margin: 24px auto 0;
    padding: 12px 20px;
}

.vformate-related-projects .vformate-portfolio-grid {
    row-gap: 36px;
}

.vformate-project-navigation {
    border-top: 1px solid #d7ddea;
}

.vformate-project-navigation__inner {
    align-items: center;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.vformate-project-navigation a {
    color: var(--vf-brand);
    display: flex;
    gap: 14px;
    min-width: 0;
}

.vformate-project-navigation a > span {
    overflow: hidden;
    text-overflow: ellipsis;
}

.vformate-project-navigation small {
    color: #697080;
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.vformate-project-navigation__all {
    border: 1px solid var(--vf-brand);
    border-radius: 50%;
    font-size: 24px;
    height: 52px;
    justify-content: center;
    line-height: 48px;
    width: 52px;
}

.vformate-project-navigation__next {
    justify-self: end;
    text-align: right;
}

.vformate-project-manager .vformate-service-manager {
    align-items: center;
    background: linear-gradient(135deg, #fff 18%, #f3f7fd 100%);
    border: 1px solid #b8d7ff;
    border-radius: 10px;
    display: grid;
    gap: 30px;
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    padding: clamp(28px, 3.5vw, 44px);
}

.vformate-project-manager .vformate-service-manager__intro h2 {
    font-size: 21px;
    margin: 10px 0 14px;
}

.vformate-project-manager .vformate-service-manager__card {
    align-items: center;
    border-left: 1px solid #d7ddea;
    display: grid;
    gap: 22px;
    grid-template-columns: 116px minmax(0, 1fr);
    padding-left: 36px;
}

.vformate-project-manager .vformate-service-manager__card--no-photo {
    grid-template-columns: 1fr;
}

.vformate-project-manager .vformate-service-manager__photo,
.vformate-project-manager .vformate-service-manager__photo img {
    border-radius: 10px;
    display: block;
    height: 116px;
    object-fit: cover;
    width: 116px;
}

.vformate-project-manager .vformate-service-manager__contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    margin: 14px 0 0;
}

.vformate-project-manager .vformate-service-manager__contacts dd {
    margin: 2px 0 0;
}

@media (max-width: 1199px) {
    .vformate-project-gallery__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .vformate-project-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .vformate-portfolio-single .vformate-service-detail {
        width: calc(100% - 30px);
    }

    .vformate-project-hero__copy { grid-template-columns: 1fr; }
    .vformate-project-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vformate-project-facts > div:nth-child(2n) { border-right: 0; }
    .vformate-project-gallery__grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .vformate-project-gallery:not(.is-expanded) .is-mobile-collapsed { display: none; }
    .vformate-project-gallery__more { display: block; }
    .vformate-project-videos__grid, .vformate-project-steps ol { grid-template-columns: 1fr; }
    .vformate-project-navigation__inner { gap: 10px; }
    .vformate-project-navigation a:not(.vformate-project-navigation__all) { font-size: 13px; }
    .vformate-project-navigation a:not(.vformate-project-navigation__all) small { display: none; }
    .vformate-project-manager .vformate-service-manager { grid-template-columns: 1fr; }
    .vformate-project-manager .vformate-service-manager__card { border-left: 0; border-top: 1px solid #d7ddea; grid-template-columns: 80px minmax(0, 1fr); padding: 24px 0 0; }
    .vformate-project-manager .vformate-service-manager__photo,
    .vformate-project-manager .vformate-service-manager__photo img { height: 80px; width: 80px; }
}

/* Project detail uses the service-page design system; only project-specific blocks live here. */
.vformate-project-detail {
    padding-bottom: 40px;
}

.vformate-project-detail .vformate-project-facts {
    overflow: hidden;
    margin: 0 0 var(--vf-heading-gap);
    border: 1px solid var(--vf-border);
    border-radius: var(--vf-radius-card);
    background: var(--vf-surface);
}

.vformate-project-detail .vformate-project-facts > div {
    border-color: var(--vf-border);
}

.vformate-project-detail .vformate-project-facts dt {
    color: var(--vf-text-muted);
    font-weight: 600;
    letter-spacing: .04em;
}

.vformate-project-detail .vformate-project-facts dd {
    color: var(--vf-text);
}

.vformate-project-detail .vformate-project-facts a,
.vformate-project-detail .vformate-project-services a {
    color: var(--vf-brand);
}

.vformate-project-detail .vformate-project-services {
    align-items: center;
    margin: calc(var(--vf-heading-gap) * -0.35) 0 var(--vf-heading-gap);
}

.vformate-project-detail .vformate-project-services > span {
    color: var(--vf-text-muted);
    font-size: 14px;
    font-weight: 600;
}

.vformate-project-detail .vformate-project-services a {
    border-color: var(--vf-border);
    background: var(--vf-surface-soft);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.vformate-project-detail .vformate-project-features ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--vf-content-gap);
}

.vformate-project-detail .vformate-project-features li {
    position: relative;
    min-width: 0;
    padding: 22px 22px 22px 54px;
    border-color: var(--vf-border);
    border-radius: var(--vf-radius-card);
    background: var(--vf-surface);
    line-height: 1.5;
}

.vformate-project-detail .vformate-project-features li::before {
    position: absolute;
    top: 22px;
    left: 22px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--vf-accent);
    color: var(--vf-brand);
    content: "✓";
    font-size: 13px;
    font-weight: 800;
}

.vformate-project-detail .vformate-project-video__embed,
.vformate-project-detail .vformate-project-gallery__item {
    border-radius: var(--vf-radius-image);
}

.vformate-project-detail .vformate-project-video figcaption {
    color: var(--vf-text-muted);
    font-size: 14px;
    line-height: 1.5;
}

.vformate-project-detail .vformate-project-result__note {
    margin-top: 24px;
    padding: 20px 24px;
    border-left: 4px solid var(--vf-brand);
    border-radius: var(--vf-radius-card);
    background: var(--vf-surface-soft);
}

.vformate-project-detail .vformate-project-result__note > :first-child {
    margin-top: 0;
}

.vformate-project-detail .vformate-project-result__note > :last-child {
    margin-bottom: 0;
}

.vformate-project-detail .vformate-related-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--vf-content-gap);
}

.vformate-project-detail .vformate-project-card__meta {
    display: block;
    margin-bottom: 10px;
    color: var(--vf-text-muted);
    font-size: 13px;
    line-height: 1.4;
}

.vformate-project-detail .vformate-project-navigation {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    margin-bottom: 40px;
    padding: 32px 0 0;
    border-top-color: var(--vf-border);
}

.vformate-project-detail .vformate-project-navigation__all {
    align-items: center;
    border-color: var(--vf-brand);
    line-height: 1;
}

@media (max-width: 991px) {
    .vformate-project-detail .vformate-project-features ul,
    .vformate-project-detail .vformate-related-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .vformate-project-detail .vformate-project-facts {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: var(--vf-heading-gap-mobile);
    }

    .vformate-project-detail .vformate-project-facts > div,
    .vformate-project-detail .vformate-project-facts > div:nth-child(2n) {
        padding: 17px 18px;
        border-right: 0;
        border-bottom: 1px solid var(--vf-border);
    }

    .vformate-project-detail .vformate-project-facts > div:last-child {
        border-bottom: 0;
    }

    .vformate-project-detail .vformate-project-services {
        margin-bottom: var(--vf-heading-gap-mobile);
    }

    .vformate-project-detail .vformate-project-services > span {
        flex-basis: 100%;
    }

    .vformate-project-detail .vformate-project-features ul,
    .vformate-project-detail .vformate-related-projects__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--vf-content-gap-mobile);
    }

    .vformate-project-detail .vformate-project-navigation {
        gap: 10px;
        padding-top: 24px;
    }
}
