.aivah-wp-container {
    width: 100%;
    position: relative;
}

/* Filter Bar */
.aivah-wp-filters {
    display: flex;
	justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.aivah-wp-filter-item {
    font-size: 20px;
    font-weight: 500;
    color: #cccccc;
    cursor: pointer;
    position: relative;
    padding-bottom: 8px;
    transition: color 0.3s ease;
}

.aivah-wp-filter-item:hover,
.aivah-wp-filter-item.active {
    color: #ffffff;
}

.aivah-wp-filter-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #00e5ff;
    transition: width 0.3s ease;
}

.aivah-wp-filter-item:hover:after,
.aivah-wp-filter-item.active:after {
    width: 100%;
}

/* Grid */
.aivah-wp-grid {
    display: block;
    width: 100%;
}

.aivah-wp-grid:after {
    content: '';
    display: block;
    clear: both;
}

/* Grid Item */
.aivah-wp-item {
    float: left;
    box-sizing: border-box;
}

.aivah-wp-item-inner {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    text-decoration: none !important;
    overflow: hidden;
    border-radius: 4px;
    background-color: #111;
    aspect-ratio: 1 / 1;
}

.aivah-wp-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.aivah-wp-image-placeholder {
    background-color: #222;
}

.aivah-wp-item:hover .aivah-wp-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.aivah-wp-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.aivah-wp-item-overlay-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0);
    z-index: 2;
    transition: background-color 0.4s ease;
}

.aivah-wp-item:hover .aivah-wp-item-overlay-hover {
    background-color: rgba(0,0,0,0.2);
}

.aivah-wp-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 25px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.aivah-wp-title {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0px 0;
    transition: transform 0.4s ease;
}

.aivah-wp-subtitle {
    font-size: 14px;
    color: #cccccc;
    margin: 0 0 5px 0;
}

.aivah-wp-meta {
    font-size: 12px;
    color: #888888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.aivah-wp-meta .dot {
    color: #00e5ff;
    font-size: 14px;
}

.aivah-wp-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    color: #ffffff;
    font-size: 20px;
    z-index: 3;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.aivah-wp-item:hover .aivah-wp-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Load More Button */
.aivah-wp-load-more-wrap {
    text-align: center;
    margin-top: 50px;
}

.aivah-wp-load-more {
    display: inline-block;
    padding: 15px 40px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ffffff;
    background-color: transparent;
    border: 1px solid #333333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aivah-wp-load-more:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Responsive */
@media (max-width: 1024px) {
    .aivah-wp-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .aivah-wp-grid {
        grid-template-columns: 1fr !important;
    }
    .aivah-wp-content {
        padding: 20px;
    }
    .aivah-wp-arrow {
        bottom: 20px;
        right: 20px;
    }
}

/* EXIF Data */
.aivah-wp-exif {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 4;
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aivah-wp-exif li {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    padding: 0;
    line-height: 1;
    font-family: inherit;
    opacity: 0;
    transform: translateX(-15px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
}

.aivah-wp-exif li:nth-child(1) { transition-delay: 0s; }
.aivah-wp-exif li:nth-child(2) { transition-delay: 0.05s; }
.aivah-wp-exif li:nth-child(3) { transition-delay: 0.1s; }

.aivah-wp-item:hover .aivah-wp-exif li {
    opacity: 1;
    transform: translateX(0);
}
