.other-projects {
    position: relative;
    padding: 30px 0;
}

/* featured-projects background bleeds 40% into this section */
.other-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -45px;
    right: -45px;
    height: 50%;                    /* ← bleed amount — adjust this */
    background-color: #242734;
    z-index: 0;
}

.other-projects .content {
    position: relative;
    z-index: 1;
}

.op-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 50px;
}

.op-header h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
}

.op-header-line {
    width: 80px;
    height: 3px;
    background-color: #F7C461;
}

/* ---- CARDS LIST ---- */
.op-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ---- SINGLE CARD ---- */
.op-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #424657;
    border-radius: 0;
    padding: 40px 48px;
    min-height: 240px;              /* ← adjust this */
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

/* ---- LEFT: TEXT ---- */
.op-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    padding-right: 40px;
}

.op-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.op-title-row h3 {
    color: #F7C461;
    font-size: 20px;
    margin: 0;
}

.op-github {
    color: #F7C461;
    font-size: 13px;
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.op-github:hover { opacity: 1; }

.op-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.op-badges img {
    height: 22px;
}

.op-info ul {
    padding-left: 18px;
    margin: 0;
}

.op-info li {
    font-size: 14px;
    line-height: 1.75;
    opacity: 0.85;
}

/* ---- RIGHT: IMAGE ---- */
.op-image {
    position: relative;
    width: 300px;                   /* ← image width — adjust this */
    margin-top: -40px;
    margin-bottom: -40px;
    margin-right: -48px;
    height: 240px;
    flex-shrink: 0;
    cursor: pointer;
    overflow: hidden;
}
.op-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.op-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    color: #242734;
    transition: transform 0.3s ease;
    overflow: hidden;
}
.op-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: filter 0.3s ease;
}
.op-image:hover .op-placeholder {
    transform: none;
}
.op-image:hover .op-placeholder img {
    filter: blur(3px) brightness(0.6);
}

.op-click-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 11px;
    color: #242734;
    background-color: rgba(247, 196, 97, 0.85);
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.op-image:hover .op-click-hint {
    opacity: 1;
}