
.event {
    background-color: #ffffff74;
    padding: 10px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 31px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.date {
    position: absolute;
    display: flex;
    align-items: center;
    left: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background-color: #111;
    color: #eee;
    font-size: 20pt;
    text-align: center;
}

.dateInner {
    display: flex;
    align-items: center;
    flex-direction: column;    
    width: 100px;
    text-align: center;    
}

.dateDay {
    width: 100%;
}

.dateYear {
    width: 100%;
    font-size: 28pt;
}

.eventContent {    
    margin-left: 100px;
    top: 0;
    width: calc(100% - 100px);    
    min-height: 100px;
    padding-left: 10px;
}

.country {
    font-weight: bold;
    line-height: 27px;
}

.description {
    margin: 5px 0;
    width: calc(100% - 150px);
    font-size: 14pt;
    line-height: 17pt;
}

.additional-info {    
    margin: 15px 0 5px 0;
    width: calc(100% - 150px);
    color: #666;
    font-size: 11pt;
}

.flags {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    text-align: right;
}

.flag {
    display: inline-block;
    margin-left: 3px;
    width: 24px;
    height: 18px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.flag img {
    width: 24px;
    height: 18px;
    object-fit: cover;
}

.manyflags {
    min-height: 200px;
    margin-bottom: 10px;
}

.eventCode {    
    font-size: 12pt;
    font-weight: bold;
    margin-bottom: 20px;
    /* padding: 0 5px;*/
    /*height: 20px;*/
    width: calc(100% - 150px);
    line-height: 20px;
    word-wrap: break-word;
}


/* Container that holds the content and the overlay */
.content.locked-section {
    position: relative;          /* Allows absolute positioning for the overlay */
    min-height: 400px;          /* Ensure there's enough height for demonstration */
    overflow: hidden;           /* Hides scrolling past the overlay */
    padding-bottom: 60px;       /* Space so overlay doesn’t cut off text abruptly */
}

/* The overlay that covers the bottom portion with a gradient */
.locked-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;                /* Adjust to show or hide more content */
    background: linear-gradient(
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 1)
    );
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

/* Content inside the overlay (text & CTA) */
.locked-overlay-content {
    text-align: center;
    color: #fff;
    max-width: 500px;
}

/* Button / link styling */
.locked-overlay-content .shop-button {
    display: inline-block;
    margin-top: 10px;
    background-color: #ff4500;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease;
    font-size: 15pt;
}

.locked-overlay-content .shop-button:hover {
    background-color: #cc0000;
}
