/* PlaceAut Voxel Widgets Unified Stylesheet */

/* ==========================================
   1. Shared Layout & Grid Styles
   ========================================== */
.placeaut-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
}

.placeaut-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

@media (max-width: 1024px) {
    .placeaut-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .placeaut-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .placeaut-grid-4, .placeaut-grid-3 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   2. Places Cards (Voxel Native)
   ========================================== */
.placeaut-place-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0eeff;
    box-shadow: 0 4px 20px rgba(63, 58, 100, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.placeaut-place-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(63, 58, 100, 0.08);
}

.placeaut-place-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.placeaut-place-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeaut-place-card:hover .placeaut-place-card-thumb img {
    transform: scale(1.05);
}

/* Rating Badge */
.placeaut-place-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff9f43;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 159, 67, 0.2);
}

/* Wishlist Bookmark Button */
.placeaut-place-wishlist {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d4d;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.placeaut-place-wishlist:hover {
    background: #ff4d4d;
    color: #ffffff;
}

/* Places Card Content */
.placeaut-place-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.placeaut-place-category {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #7d5fff;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.placeaut-place-title {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: #3f3a64;
    margin: 0 0 8px 0;
}

.placeaut-place-title a {
    color: inherit;
    text-decoration: none;
}

.placeaut-place-title a:hover {
    color: #7d5fff;
}

.placeaut-place-location {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
}

.placeaut-place-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0eeff;
    padding-top: 12px;
    margin-top: auto;
}

.placeaut-place-status {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 800;
}

.placeaut-place-status.open {
    color: #1dd1a1;
}

.placeaut-place-status.closed {
    color: #ff9f43;
}

/* ==========================================
   3. Events Cards (Voxel Native)
   ========================================== */
.placeaut-event-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0eeff;
    box-shadow: 0 4px 20px rgba(63, 58, 100, 0.02);
    overflow: hidden;
    display: flex;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.placeaut-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(63, 58, 100, 0.08);
}

/* Left Date Badge */
.placeaut-event-date-badge {
    background: #fff5eb;
    border-right: 1px solid #f0eeff;
    width: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-shrink: 0;
}

.placeaut-event-month {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ff9f43;
    letter-spacing: 0.5px;
}

.placeaut-event-day {
    font-family: 'Nunito', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: #3f3a64;
    line-height: 1;
    margin-top: 4px;
}

/* Right Content Area */
.placeaut-event-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.placeaut-event-title {
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: #3f3a64;
    margin: 0 0 10px 0;
    line-height: 1.4;
}

.placeaut-event-title a {
    color: inherit;
    text-decoration: none;
}

.placeaut-event-title a:hover {
    color: #7d5fff;
}

.placeaut-event-meta {
    font-family: 'Nunito', sans-serif;
    font-size: 12px;
    color: #a0aec0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.placeaut-event-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.placeaut-event-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* ==========================================
   4. Blog Cards
   ========================================== */
.placeaut-blog-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0eeff;
    box-shadow: 0 4px 20px rgba(63, 58, 100, 0.02);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
}

.placeaut-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(63, 58, 100, 0.08);
}

.placeaut-blog-card-thumb {
    position: relative;
    width: 100%;
    padding-top: 66%; /* 3:2 Aspect Ratio */
    overflow: hidden;
}

.placeaut-blog-card-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.placeaut-blog-card:hover .placeaut-blog-card-thumb img {
    transform: scale(1.05);
}

.placeaut-blog-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #7d5fff;
    color: #ffffff;
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 6px;
    z-index: 2;
}

.placeaut-blog-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.placeaut-blog-title {
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
    color: #3f3a64;
    margin: 0 0 8px 0;
}

.placeaut-blog-title a {
    color: inherit;
    text-decoration: none;
}

.placeaut-blog-title a:hover {
    color: #7d5fff;
}

.placeaut-blog-excerpt {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #5a5a7a;
    margin-bottom: 15px;
}

.placeaut-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0eeff;
    padding-top: 12px;
    margin-top: auto;
}

.placeaut-blog-meta {
    font-family: 'Nunito', sans-serif;
    font-size: 11px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.placeaut-blog-readmore {
    font-family: 'Nunito', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: #7d5fff;
    text-decoration: none;
}

/* ==========================================
   5. Partners Logo Bar
   ========================================== */
.placeaut-partners-bar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f0eeff;
    padding: 30px 40px;
    width: 100%;
}

.placeaut-partners-title {
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #3f3a64;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.placeaut-partners-logos {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.placeaut-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    max-width: 150px;
    transition: opacity 0.3s ease;
}

.placeaut-partner-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.placeaut-partner-item:hover img {
    filter: none;
    opacity: 1;
}
