/* Events grid */
.rasende-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.rasende-event-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.rasende-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.rasende-event-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.rasende-event-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.rasende-event-content {
    padding: 25px;
}

.rasende-event-title {
    font-size: 1.4rem;
    margin: 0 0 15px 0;
    color: #333;
}

.rasende-event-meta {
    margin-bottom: 15px;
}

.rasende-event-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: #666;
}

.rasende-event-meta-item .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.rasende-event-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
}

.rasende-event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.rasende-event-btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.rasende-event-btn-secondary {
    background: #f0f0f0;
    color: #333 !important;
}

.rasende-event-btn-secondary:hover {
    background: #e0e0e0;
}

.rasende-event-btn-primary {
    background: #ff6b3f;
    color: white !important;
}

.rasende-event-btn-primary:hover {
    background: #e55a35;
}

/* Single event - 2-kolonne layout */
.rasende-event-single-wrapper {
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
}

.rasende-event-single-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.rasende-event-single-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 50px;
    align-items: start;
}

.rasende-event-single-left {
    width: 100%;
}

.rasende-event-single-right {
    width: 100%;
}

.rasende-event-single-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
}

.rasende-event-single-image img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px;
}

.rasende-event-single-title {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.2;
}

.rasende-event-single-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

.rasende-event-single-meta-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: sticky;
    top: 30px;
}

.rasende-event-single-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
}

.rasende-event-single-meta-item:last-of-type {
    border-bottom: none;
    margin-bottom: 30px;
    padding-bottom: 0;
}

.rasende-event-single-meta-item .dashicons {
    color: #ff6b3f;
    font-size: 24px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.rasende-event-meta-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rasende-event-meta-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #999;
    font-weight: 600;
}

.rasende-event-meta-value {
    font-size: 1rem;
    color: #333;
    line-height: 1.5;
}

.rasende-event-ticket-btn {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 15px 30px;
}

/* Responsivt layout til mindre skærme */
@media (max-width: 900px) {
    .rasende-event-single-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .rasende-event-single-meta-box {
        position: static;
    }
}
