/* style.css */
.instagram-feed-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.instagram-feed-filters {
    text-align: center;
    margin-bottom: 25px;
}

.filter-button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    background: #f0f0f0;
    color: #333;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-button.active {
    background: #3897f0;
    color: white;
}

/* Layout styles */
.custom-instagram-feed.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.custom-instagram-feed.masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.custom-instagram-feed.columns {
    column-count: 3;
    column-gap: 15px;
}

/* Simple layout styles */
.custom-instagram-feed.simple {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

.custom-instagram-feed.simple .instagram-post {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.custom-instagram-feed.simple .instagram-post img,
.custom-instagram-feed.simple .instagram-post video {
    width: 100%;
    height: auto;
    display: block;
}

.instagram-post-description {
    padding: 15px;
    background: #fff;
    border-top: 1px solid #eee;
}

.instagram-post-date {
    margin-bottom: 10px;
    color: #666;
    font-size: 13px;
}

.instagram-post-date time {
    font-style: italic;
}

.instagram-post-description p {
    margin: 0;
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

.instagram-post {
    break-inside: avoid; /* Fix for columns layout */
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.instagram-post img,
.instagram-post video {
    width: 100%;
    height: auto;
    display: block;
}


/* Add/Update these styles in style.css */
.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.carousel-slide {
    display: none;
    width: 100%;
    height: auto;
}

.carousel-slide.active {
    display: block;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    padding: 0 10px;
    z-index: 10; /* Ensure buttons are above slides */
}

.carousel-prev,
.carousel-next {
    background: rgba(0,0,0,0.7);
    border: none;
    color: white;
    padding: 10px;
    cursor: pointer;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 20; /* Higher than slides */
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.9);
}