﻿:root {
    --primary: #760e26;
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f8f8;
    color: #333;
}

.event-container {
    max-width: 900px;
    margin: 2rem auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 150px;
}

.event-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
}

.event-date {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.event-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.event-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.detail-box {
    flex: 1 1 200px;
    background: #f3f3f3;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

    .detail-box h3 {
        margin: 0 0 0.5rem 0;
        color: var(--primary);
    }

.btn-back {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.3s ease;
/*    margin-left: 345px;*/
}

    .btn-back:hover {
        background: #9e1a3b;
        color:#fff;
    }

.event-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    width: 100%;
}

    .event-actions a {
        display: inline-flex;
        align-items: center; 
        justify-content: center; 
        min-width: 140px;
        height: 45px;
        border-radius: 8px;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.3s ease;
    }
