/**
 * Frontend Styles for Retreat Details Shortcode
 */

.ws-retreat-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Section */
.ws-retreat-details-section {
    background: #fff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 28px 30px;
}

.ws-details-heading {
    margin: 0 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
    font-size: 1.2em;
    color: #333;
}

/* Grid */
.ws-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 30px;
}

/* Item */
.ws-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ws-detail-icon {
    font-size: 1.3em;
    line-height: 1.4;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
}

.ws-detail-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ws-detail-label {
    font-size: 0.8em;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.ws-detail-value {
    font-size: 1em;
    color: #333;
    font-weight: 500;
    word-break: break-word;
}

.ws-detail-price {
    font-size: 1.15em;
    font-weight: 700;
    color: #2271b1;
}

/* Badges */
.ws-detail-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.ws-badge-open {
    background: #edfaef;
    color: #008a20;
    border: 1px solid #68de7c;
}

.ws-badge-full {
    background: #fff8e5;
    color: #8a6d3b;
    border: 1px solid #f2c779;
}

.ws-badge-closed {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

/* Spots */
.ws-spots-few {
    color: #c0392b;
}

.ws-date-passed {
    color: #999;
    font-size: 0.9em;
}

/* CTA */
.ws-details-cta {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.ws-details-register-btn {
    display: inline-block;
    padding: 12px 36px;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 1.05em;
    font-weight: 600;
    transition: background 0.2s;
}

.ws-details-register-btn:hover {
    background: #135e96;
    color: #fff;
}

/* Individual field shortcode wrapper */
.ws-retreat-field {
    margin-bottom: 20px;
}

.ws-retreat-field__title {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #333;
}

/* Gallery (from shortcode) */
.ws-retreat-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.ws-gallery-link {
    display: block;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

.ws-gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.2s;
}

.ws-gallery-link:hover .ws-gallery-img {
    transform: scale(1.03);
}

/* Spots (standalone shortcode) */
.ws-spots-zero {
    color: #999;
}

/* Responsive */
@media (max-width: 600px) {
    .ws-details-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ws-retreat-details-section {
        padding: 20px 18px;
    }
}
