.why-patmos-interactive {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('/assets/images/why-patmos-bg.png');
    background-repeat: no-repeat, repeat;
    background-position: center, center;
    background-size: cover, auto;
    background-color: #5e676f;
    padding-top: 60px;
    padding-bottom: 0px;
    position: relative;
    overflow: hidden;
}

.wp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Link & Action Styling */
.wp-header-link {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wp-link {
    color: #F58220;
    /* Patmos Orange */
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s ease;
    border-bottom: 2px solid #F58220;
    padding-bottom: 4px;
}

.wp-create-btn {
    border: 2px solid #F58220;
    color: #F58220;
    padding: 8px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wp-create-btn:hover {
    background: #F58220;
    color: white;
}

.wp-link span {
    font-size: 24px;
    margin-left: 5px;
    vertical-align: middle;
}

.wp-link:hover {
    opacity: 0.8;
}

/* Portrait Grid */
.wp-portrait-grid {
    display: flex;
    justify-content: center;
    gap: 0px;
    /* Seamless look like the screenshot */
    width: 100%;
    margin-bottom: 40px;
}

.wp-portrait-item {
    position: relative;
    flex: 1;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wp-portrait-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Admin Styling */
.wp-admin-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.wp-portrait-item:hover .wp-admin-actions {
    opacity: 1;
}

.wp-admin-btn {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.wp-admin-btn:hover {
    transform: scale(1.1);
}

.wp-admin-btn.edit:hover {
    background: #F58220;
}

.wp-admin-btn.delete:hover {
    background: #dc3545;
}

.wp-admin-form {
    margin: 0;
}

.wp-portrait-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.9);
}

/* Overlay and Text */
.wp-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darker on hover */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}

.wp-overlay-label {
    color: #FFFFFF;
    font-size: 28px;
    font-weight: 500;
    font-family: 'DM Sans', sans-serif;
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}

/* Hover States */
.wp-portrait-item:hover .wp-overlay {
    opacity: 1;
    background: rgba(0, 0, 0, 0.6);
}

.wp-portrait-item:hover .wp-overlay-label {
    transform: translateY(0);
}

.wp-portrait-item:hover img {
    transform: scale(1.1);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .wp-portrait-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .wp-portrait-item {
        aspect-ratio: 4 / 5;
    }
}

@media (max-width: 576px) {
    .wp-portrait-grid {
        grid-template-columns: 1fr;
    }

    .wp-overlay {
        opacity: 1;
        /* Always show text on mobile */
        background: rgba(0, 0, 0, 0.3);
    }
}