:root {
    --forma-bg-cream: #EAE4DA;
    --forma-card-bg: #F4EFEA;
    --forma-dark-green: #1B332B;
    --forma-dark-green-hover: #12241E;
    --forma-gold: #C5A059;
    --forma-gold-light: #E8D7B5;
    --forma-text-dark: #2B332F;
    --forma-text-muted: #6B7570;
    --forma-white: #FFFFFF;
    --forma-border-color: #D8CEBE;
    --forma-radius: 16px;
    --forma-transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --forma-font: 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, sans-serif;
    --forma-header-offset: 130px
}

body,
html {
    overflow-x: clip
}

.forma-single-project-wrapper {
    background-color: var(--forma-bg-cream);
    color: var(--forma-text-dark);
    font-family: var(--forma-font);
    line-height: 1.8;
    padding-bottom: 80px;
    direction: rtl;
    text-align: right
}

.forma-single-project-wrapper * {
    min-width: 0
}

.forma-single-project-wrapper iframe,
.forma-single-project-wrapper img,
.forma-single-project-wrapper svg,
.forma-single-project-wrapper video {
    max-width: 100%
}

.forma-hero-excerpt,
.forma-hero-excerpt p,
.forma-project-content,
.forma-project-title,
.forma-related-excerpt,
.forma-related-title,
.forma-section-title {
    overflow-wrap: break-word;
    word-break: break-word
}

.forma-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px
}

.forma-hero-section {
    position: relative;
    padding: var(--forma-header-offset) 0 60px;
    overflow: hidden;
    background-image: linear-gradient(rgba(197, 160, 89, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(197, 160, 89, .09) 1px, transparent 1px);
    background-size: 46px 46px;
    background-position: center top
}

.forma-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 70% 65% at 50% 40%, transparent 0, var(--forma-bg-cream) 78%)
}

.forma-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 45px;
    align-items: center
}

.forma-main-image-container {
    position: relative;
    border-radius: var(--forma-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
    background-color: #d8cebe;
    aspect-ratio: 16/10;
    cursor: pointer
}

.forma-main-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--forma-transition)
}

.forma-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--forma-gold);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(197, 160, 89, .6);
    transition: var(--forma-transition);
    z-index: 2
}

.forma-video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: #d4af66
}

.forma-thumbnails-slider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    max-width: 100%
}

.forma-thumbs-track-wrapper {
    overflow: hidden;
    flex: 1 1 0%;
    min-width: 0
}

.forma-thumbs-track {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none
}

.forma-thumbs-track::-webkit-scrollbar {
    display: none
}

.forma-thumb-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    flex: 0 0 80px;
    height: 60px;
    border: 2px solid transparent;
    transition: var(--forma-transition);
    opacity: .7;
    scroll-snap-align: center
}

.forma-thumb-item.active,
.forma-thumb-item:hover {
    border-color: var(--forma-gold);
    opacity: 1
}

.forma-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.thumb-video-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--forma-gold);
    font-size: .9rem;
    background: rgba(0, 0, 0, .5);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center
}

.forma-thumb-arrow {
    background: var(--forma-card-bg);
    border: 1px solid var(--forma-border-color);
    color: var(--forma-dark-green);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--forma-transition);
    flex-shrink: 0
}

.forma-thumb-arrow:hover {
    background: var(--forma-dark-green);
    color: var(--forma-white)
}

.forma-subheading {
    display: block;
    font-size: 1.1rem;
    color: var(--forma-text-muted);
    margin-bottom: 5px
}

.forma-project-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--forma-dark-green);
    margin: 0 0 20px 0;
    line-height: 1.3
}

.forma-hero-excerpt {
    font-size: 1.05rem;
    color: var(--forma-text-dark);
    margin-bottom: 35px;
    text-align: justify;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis
}

.forma-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

.forma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--forma-transition);
    cursor: pointer;
    border: none
}

.forma-btn svg {
    flex-shrink: 0
}

.forma-btn-primary {
    background-color: var(--forma-dark-green);
    color: var(--forma-white)
}

.forma-btn-primary:hover {
    background-color: var(--forma-dark-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(27, 51, 43, .25)
}

.forma-btn-outline {
    background-color: transparent;
    color: var(--forma-dark-green);
    border: 1.5px solid var(--forma-gold)
}

.forma-btn-outline:hover {
    background-color: var(--forma-gold);
    color: var(--forma-white);
    transform: translateY(-2px)
}

.forma-about-section {
    padding: 60px 0
}

.forma-about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 45px;
    align-items: start
}

.forma-section-header {
    margin-bottom: 25px
}

.forma-section-header.center {
    text-align: center
}

.forma-section-title {
    font-size: 1.8rem;
    color: var(--forma-dark-green);
    margin: 0 0 8px 0
}

.forma-gold-divider {
    height: 3px;
    width: 60px;
    background: var(--forma-gold);
    border-radius: 2px
}

.forma-section-header.center .forma-gold-divider {
    margin: 0 auto
}

.forma-project-content {
    font-size: 1rem;
    color: var(--forma-text-dark);
    margin-bottom: 40px;
    text-align: justify
}

.forma-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px
}

.forma-feature-card {
    background: var(--forma-card-bg);
    border: 1px solid var(--forma-border-color);
    padding: 22px 15px;
    border-radius: 12px;
    text-align: center;
    transition: var(--forma-transition)
}

.forma-feature-card:hover {
    border-color: var(--forma-gold);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .05)
}

.forma-feature-icon {
    margin-bottom: 12px
}

.forma-feature-card h3 {
    font-size: 1rem;
    color: var(--forma-dark-green);
    margin: 0 0 6px 0
}

.forma-feature-card p {
    font-size: .82rem;
    color: var(--forma-text-muted);
    margin: 0;
    line-height: 1.5
}

.forma-summary-sidebar {
    position: relative
}

@media (min-width:1025px) {
    .forma-summary-sidebar {
        position: sticky;
        top: 130px
    }
}

.forma-summary-card {
    position: relative;
    background-color: var(--forma-dark-green);
    color: var(--forma-white);
    padding: 35px 25px;
    border-radius: 16px;
    border: 1px solid var(--forma-gold);
    box-shadow: 0 15px 35px rgba(27, 51, 43, .2)
}

.summary-corner {
    position: absolute;
    width: 14px;
    height: 14px;
    border: 2px solid var(--forma-gold)
}

.corner-tl {
    top: 8px;
    right: 8px;
    border-left: none;
    border-bottom: none
}

.corner-tr {
    top: 8px;
    left: 8px;
    border-right: none;
    border-bottom: none
}

.corner-bl {
    bottom: 8px;
    right: 8px;
    border-left: none;
    border-top: none
}

.corner-br {
    bottom: 8px;
    left: 8px;
    border-right: none;
    border-top: none
}

.forma-summary-title {
    text-align: center;
    font-size: 1.4rem;
    color: var(--forma-gold-light);
    margin: 0
}

.forma-summary-ornament {
    text-align: center;
    color: var(--forma-gold);
    font-size: .8rem;
    margin-bottom: 25px;
    letter-spacing: 2px
}

.forma-summary-list {
    list-style: none;
    padding: 0;
    margin: 0
}

.forma-summary-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(197, 160, 89, .3);
    font-size: .95rem
}

.forma-summary-list li:last-child {
    border-bottom: none
}

.forma-summary-list span {
    color: #a8b8b0
}

.forma-summary-list strong {
    color: #fff;
    font-weight: 500
}

.forma-gallery-section {
    padding: 60px 0
}

.forma-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: 20px;
    margin-top: 35px
}

.forma-bento-item {
    position: relative;
    border-radius: var(--forma-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06)
}

.bento-item-1 {
    grid-column: 3;
    grid-row: 1/span 2
}

.bento-item-2 {
    grid-column: 2;
    grid-row: 1
}

.bento-item-3 {
    grid-column: 2;
    grid-row: 2
}

.bento-item-4 {
    grid-column: 1;
    grid-row: 1
}

.bento-item-5 {
    grid-column: 1;
    grid-row: 2
}

.forma-bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease
}

.forma-bento-overlay {
    position: absolute;
    inset: 0;
    background: rgba(27, 51, 43, .15);
    opacity: 0;
    transition: var(--forma-transition)
}

.forma-bento-item:hover img {
    transform: scale(1.06)
}

.forma-bento-item:hover .forma-bento-overlay {
    opacity: 1
}

.forma-gallery-footer {
    text-align: center;
    margin-top: 35px
}

.forma-related-section {
    padding: 60px 0 20px
}

.forma-related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
    direction: rtl;
    container-type: inline-size;
    container-name: forma-related-grid
}

.forma-related-card {
    position: relative;
    background: linear-gradient(145deg, #fff 0, var(--forma-card-bg) 100%);
    border: 1px solid var(--forma-border-color);
    border-radius: 12cqw 12cqw 28px 28px;
    padding: 4px 4px 22px 4px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .06), inset 0 1px 0 rgba(255, 255, 255, .8);
    overflow: hidden;
    transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s cubic-bezier(.16, 1, .3, 1), border-color .4s ease
}

.forma-related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(197, 160, 89, .08), transparent);
    pointer-events: none;
    z-index: 1
}

.forma-related-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--forma-gold);
    box-shadow: 0 30px 60px rgba(27, 51, 43, .18), 0 0 20px rgba(197, 160, 89, .2)
}

.forma-related-frame-wrapper {
    position: relative;
    width: 100%;
    border-radius: 11.5cqw 11.5cqw 20px 20px;
    overflow: hidden;
    background-color: #e2d7c8;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
    z-index: 2
}

.forma-related-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3.4;
    overflow: hidden;
    border-radius: inherit
}

.forma-related-image-link {
    display: block;
    width: 100%;
    height: 100%
}

.forma-related-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .5s ease;
    filter: brightness(.98)
}

.forma-related-card:hover .forma-related-image-link img {
    transform: scale(1.08);
    filter: brightness(1.04)
}

.forma-related-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e2d7c8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--forma-dark-green);
    font-weight: 700
}

.forma-related-badge {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(27, 51, 43, .82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(197, 160, 89, .35);
    padding: 6px 18px;
    border-radius: 50px;
    color: var(--forma-white);
    font-size: .82rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    z-index: 5;
    white-space: nowrap;
    pointer-events: none;
    transition: all .3s cubic-bezier(.16, 1, .3, 1);
    max-width: 90%
}

.forma-related-badge span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap
}

.forma-related-badge svg {
    color: var(--forma-gold);
    flex-shrink: 0;
    transition: transform .3s ease
}

.forma-related-card:hover .forma-related-badge {
    transform: translateX(-50%) translateY(-2px);
    background: rgba(27, 51, 43, .95);
    border-color: var(--forma-gold);
    box-shadow: 0 12px 25px rgba(27, 51, 43, .4)
}

.forma-related-info {
    padding: 18px 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
    z-index: 2
}

.forma-related-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--forma-dark-green);
    width: 100%;
    max-width: 100%;
    text-align: center;
    overflow: hidden
}

.forma-related-title a {
    color: var(--forma-dark-green);
    text-decoration: none;
    transition: color .3s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%
}

.forma-related-title a:hover {
    color: var(--forma-gold)
}

.forma-related-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    margin: 10px auto 14px;
    background: var(--forma-gold);
    border-radius: 2px;
    transition: width .4s cubic-bezier(.16, 1, .3, 1), background-color .3s ease
}

.forma-related-card:hover .forma-related-title::after {
    width: 75px
}

.forma-related-excerpt {
    font-size: .8rem;
    color: var(--forma-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 94%
}

.forma-related-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    row-gap: 6px;
    margin-bottom: 16px;
    width: 100%;
    font-size: .76rem;
    color: var(--forma-text-dark);
    background: rgba(197, 160, 89, .06);
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(197, 160, 89, .15);
    flex-wrap: wrap
}

.forma-related-meta-row .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap
}

.forma-related-meta-row .meta-item svg {
    color: var(--forma-gold);
    flex-shrink: 0
}

.forma-related-meta-row .meta-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(197, 160, 89, .3)
}

.forma-related-footer {
    margin-top: auto;
    width: 100%;
    display: flex;
    justify-content: center
}

.forma-related-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--forma-dark-green);
    color: var(--forma-white);
    font-size: .82rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(27, 51, 43, .2);
    transition: var(--forma-transition);
    width: 100%;
    max-width: 200px;
    border: 1px solid transparent
}

.forma-related-btn svg {
    color: var(--forma-gold);
    transition: transform .3s cubic-bezier(.16, 1, .3, 1)
}

.forma-related-btn:hover {
    background: linear-gradient(135deg, var(--forma-gold) 0, var(--forma-gold-light) 100%);
    color: var(--forma-dark-green);
    box-shadow: 0 10px 25px rgba(197, 160, 89, .4);
    transform: translateY(-2px)
}

.forma-related-btn:hover svg {
    color: var(--forma-dark-green);
    transform: translateX(5px)
}

.forma-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease
}

.forma-modal.active {
    opacity: 1;
    pointer-events: auto
}

.forma-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 26, 22, .88);
    backdrop-filter: blur(6px)
}

.forma-modal-container {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px
}

.forma-modal-close {
    position: absolute;
    top: -45px;
    left: 0;
    background: 0 0;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer
}

.forma-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000
}

.forma-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.lightbox-container {
    max-width: 1000px;
    text-align: center
}

.lightbox-container img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .5)
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: none;
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--forma-transition)
}

.lightbox-arrow:hover {
    background: var(--forma-gold)
}

.lightbox-arrow.prev {
    right: -65px
}

.lightbox-arrow.next {
    left: -65px
}

@media (max-width:1400px) {
    .forma-related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px
    }

    .forma-related-card {
        border-radius: 16cqw 16cqw 28px 28px
    }

    .forma-related-frame-wrapper {
        border-radius: 15.5cqw 15.5cqw 20px 20px
    }
}

@media (max-width:1024px) {

    .forma-about-grid,
    .forma-hero-grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .forma-hero-section {
        padding-top: calc(var(--forma-header-offset) - 20px)
    }

    .forma-related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .forma-related-card {
        border-radius: 24cqw 24cqw 28px 28px
    }

    .forma-related-frame-wrapper {
        border-radius: 23cqw 23cqw 20px 20px
    }

    .forma-features-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .forma-thumb-item {
        flex-basis: 70px
    }

    .forma-bento-grid {
        grid-template-rows: repeat(2, 190px)
    }
}

@media (max-width:768px) {
    .forma-container {
        padding: 0 16px
    }

    .forma-hero-section {
        padding: calc(var(--forma-header-offset) - 40px) 0 40px;
        background-size: 32px 32px
    }

    .forma-subheading {
        font-size: 1rem
    }

    .forma-project-title {
        font-size: 1.8rem
    }

    .forma-hero-excerpt {
        font-size: .95rem;
        margin-bottom: 26px;
        -webkit-line-clamp: 4
    }

    .forma-hero-actions {
        gap: 10px
    }

    .forma-btn {
        flex: 1 1 auto;
        justify-content: center;
        gap: 6px;
        padding: 11px 14px;
        font-size: .78rem
    }

    .forma-btn svg {
        width: 14px;
        height: 14px
    }

    .forma-video-play-btn {
        width: 56px;
        height: 56px
    }

    .forma-thumb-item {
        flex-basis: 64px;
        height: 52px
    }

    .forma-thumbs-track {
        gap: 8px
    }

    .forma-thumb-arrow {
        width: 32px;
        height: 32px
    }

    .forma-about-section,
    .forma-gallery-section,
    .forma-related-section {
        padding: 45px 0 30px
    }

    .forma-section-title {
        font-size: 1.5rem
    }

    .forma-summary-card {
        padding: 26px 20px
    }

    .forma-bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 14px
    }

    .bento-item-1,
    .bento-item-2,
    .bento-item-3,
    .bento-item-4,
    .bento-item-5 {
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 16/10
    }

    .forma-related-grid {
        grid-template-columns: 1fr;
        gap: 22px
    }

    .forma-related-card {
        border-radius: 47cqw 47cqw 28px 28px
    }

    .forma-related-frame-wrapper {
        border-radius: 45cqw 45cqw 20px 20px
    }

    .forma-related-info {
        padding: 16px 12px 8px
    }

    .forma-related-meta-row {
        gap: 8px;
        padding: 8px 10px
    }

    .forma-modal-container {
        width: 92%
    }

    .lightbox-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.4rem
    }

    .lightbox-arrow.prev {
        right: 10px
    }

    .lightbox-arrow.next {
        left: 10px
    }
}

@media (max-width:600px) {
    .forma-project-title {
        font-size: 1.55rem
    }

    .forma-hero-actions {
        gap: 8px
    }

    .forma-btn {
        padding: 10px 12px;
        font-size: .72rem;
        gap: 5px
    }

    .forma-btn svg {
        width: 12px;
        height: 12px
    }

    .forma-thumb-item {
        flex-basis: 58px;
        height: 46px
    }

    .forma-thumbnails-slider {
        gap: 6px
    }

    .forma-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px
    }

    .forma-feature-card {
        padding: 16px 10px
    }

    .forma-badge-completed {
        padding: 5px 14px;
        font-size: .78rem;
        top: 14px;
        right: 14px
    }

    .forma-related-badge {
        font-size: .74rem;
        padding: 5px 14px;
        top: 12px
    }

    .forma-related-title {
        font-size: 1.1rem
    }

    .forma-related-excerpt {
        font-size: .78rem;
        max-width: 100%
    }

    .forma-related-btn {
        max-width: 100%;
        padding: 10px 20px;
        font-size: .8rem
    }

    .forma-related-meta-row .meta-divider {
        display: none
    }

    .forma-related-meta-row {
        justify-content: space-around
    }

    .forma-modal-close {
        top: -38px;
        font-size: 1.8rem;
        left: 4px
    }
}

@media (max-width:420px) {
    .forma-project-title {
        font-size: 1.32rem
    }

    .forma-hero-excerpt {
        font-size: .88rem
    }

    .forma-features-grid {
        grid-template-columns: 1fr
    }

    .forma-thumb-item {
        flex-basis: 52px;
        height: 42px
    }

    .forma-thumbs-track {
        gap: 6px
    }

    .forma-summary-card {
        padding: 22px 16px
    }

    .forma-summary-title {
        font-size: 1.2rem
    }
}