/* Container */
.treninzi-grid-container {
    width: 80%;
    margin: 50px auto; /* center the grid */
    background: transparent; /* grid background transparent */
    padding: 30px 0;
}

/* Grid */
.treninzi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    justify-content: center; /* center the items */
}

@media(max-width: 768px) {
    .treninzi-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* Card */
.treninzi-item {
    background: #e8c2b0; /* card background */
    border-radius: 15px;
    padding: 25px;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Title */
.treninzi-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #5f5044; /* golden accent for premium feel */
}

/* Video */
.treninzi-video {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* subtle shadow to make video pop */
}

.treninzi-video iframe,
.treninzi-video video {
    width: 100%;
    height: 250px;
    border-radius: 10px;
}

/* Description */
.treninzi-desc {
    font-size: 16px;
    color: #f0f0f0;
    line-height: 1.5;
}




/* ===== TRENINZI ===== */
/* Card Container */
.access-box {
    width: 80%;
    max-width: 860px;
    margin: 6rem auto;
    padding: 4rem;
    background: #ffffff;
    border-radius: 24px;
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.12),
        0 8px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
    position: relative;
}

/* Card subtle top accent */
.access-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    border-radius: 24px 24px 0 0;
    background: linear-gradient(90deg, #000, #444, #000);
    opacity: 0.8;
}

/* Heading */
.access-box h3 {
    margin-bottom: 2.5rem;
    font-size: 1.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Form wrapper */
.access-box form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Input field */
.access-box input[type="text"] {
    padding: 1.2rem 1.4rem;
    font-size: 1rem;
    border-radius: 14px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.access-box input::placeholder {
    color: #aaa;
}

.access-box input:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

/* Button */
.access-box button {
    margin-top: 0.5rem;
    padding: 1.1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 14px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.access-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.access-box button:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

/* Error card */
.access-error {
    width: 80%;
    max-width: 860px;
    margin: 3rem auto;
    padding: 2rem;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 20px 40px rgba(176, 0, 32, 0.15);
    text-align: center;
    font-weight: 500;
    color: #b00020;
}

