.yatirim-wrapper {
    padding-top: 2rem;
    padding-bottom: 3rem;
}

.yatirim-card-main {
    border-radius: 1.75rem;
    background: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(209, 213, 219, 0.9);
    overflow: hidden;
}

.yatirim-card-grid {
    align-items: stretch;
}

.yatirim-hero {
    padding: 2.25rem 2.25rem 1.25rem 2.25rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(209, 213, 219, 0.75);
}

.yatirim-hero-content {
    max-width: 100%;
}

.yatirim-title {
    font-size: clamp(1.7rem, 1.4rem + 1vw, 2.35rem);
    font-weight: 800;
    color: var(--tiski-dark);
    margin-bottom: .4rem;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.yatirim-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.yatirim-status-badge {
    display: inline-flex;
    align-items: center;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .01em;
    border-radius: 999px;
    padding: .35rem .9rem;
    margin-left: .75rem;
    vertical-align: middle;
    border: 1px solid transparent;
}

.yatirim-status-tamamlanan {
    background: rgba(34, 197, 94, 0.12);
    color: #15803d;
    border-color: rgba(34, 197, 94, 0.22);
}

.yatirim-status-devam {
    background: rgba(0, 111, 158, 0.12);
    color: var(--tiski-blue);
    border-color: rgba(0, 111, 158, 0.22);
}

.yatirim-status-planlanan {
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.22);
}

.yatirim-body {
    padding: .25rem 2.25rem 2.25rem 2.25rem;
}

.yatirim-detay-body {
    line-height: 1.85;
    font-size: 1rem;
    color: var(--tiski-text-dark);
}

    .yatirim-detay-body p {
        margin-bottom: 1rem;
    }

.yatirim-side {
    border-left: 1px solid rgba(209, 213, 219, 0.75);
    background: #f8fafc;
}

.yatirim-side-inner {
    padding: 2rem;
}

.yatirim-cover-panel,
.yatirim-gallery-panel,
.yatirim-empty-state {
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 0.82);
    border-radius: 1.35rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.yatirim-cover-panel {
    padding: .9rem;
    margin-bottom: 1.25rem;
}

.yatirim-detay-img-main {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 1rem;
    margin-bottom: 0;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
}

.yatirim-gallery-title {
    font-size: .9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: .35rem;
}

.yatirim-info-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    background: #f8fafc;
    font-size: .83rem;
    font-weight: 600;
    color: #475569;
    border: 1px solid rgba(209, 213, 219, 0.8);
}

.yatirim-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: .45rem;
    color: #475569;
}

.yatirim-progress-wrapper {
    margin-top: 1.1rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: #f8fafc;
    border: 1px solid rgba(209, 213, 219, 0.82);
}

.yatirim-progress-wrapper .progress {
    height: .75rem !important;
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
    overflow: hidden;
}

.yatirim-progress-wrapper .progress-bar {
    border-radius: 999px;
    background: var(--tiski-blue);
}

.yatirim-section-heading {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    margin-bottom: 1rem;
}

.yatirim-section-kicker {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--tiski-blue);
}

.yatirim-gallery-heading {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tiski-dark);
}

.yatirim-gallery-panel {
    padding: 1.15rem;
}

.yatirim-empty-state {
    margin: 0;
    padding: 1rem 1.1rem;
    color: var(--tiski-muted);
}

#lightgallery {
    margin-top: .25rem;
}

@media (max-width: 991.98px) {
    .yatirim-side {
        border-left: none;
        border-top: 1px solid rgba(209, 213, 219, 0.75);
    }

    .yatirim-card-main {
        border-radius: 1rem;
    }

    .yatirim-hero,
    .yatirim-body,
    .yatirim-side-inner {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .yatirim-hero {
        padding-top: 1.5rem;
    }

    .yatirim-body {
        padding-bottom: 1.5rem;
    }

    .yatirim-side-inner {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }
}

#lightgallery .gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    background: #ffffff;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
    border: 1px solid rgba(209, 213, 219, 0.82);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

    #lightgallery .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
        display: block;
        transition: transform .3s ease;
    }

    #lightgallery .gallery-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 24px rgba(15, 23, 42, 0.12);
    }

    #lightgallery .gallery-item:hover img {
        transform: scale(1.04);
    }

    #lightgallery .gallery-item::after {
        content: '\f00e';
        font-family: "Font Awesome 7 Free";
        font-weight: 900;
        position: absolute;
        right: .8rem;
        bottom: .8rem;
        width: 2.4rem;
        height: 2.4rem;
        display: grid;
        place-items: center;
        border-radius: 999px;
        color: #ffffff;
        background: var(--tiski-blue);
        box-shadow: 0 8px 16px rgba(0, 111, 158, 0.24);
        opacity: 0;
        transform: translateY(6px);
        transition: opacity .25s ease, transform .25s ease;
        pointer-events: none;
    }

    #lightgallery .gallery-item:hover::after {
        opacity: 1;
        transform: translateY(0);
    }
