﻿/*section.news-section {
    min-height: 950px;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start;
    text-align: left;
    background: var(--background-light);
    position: relative;
    
}*/

/*.news-row {
    display: flex;
    gap: 20px;
    max-width: 1200px; 
    width: 100%;
    margin: 0 auto;
    margin-right:50px;
    margin-top:200px;
}*/

/*.left-news {
    flex: 0 0 65%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height:500px;
    max-width:450px;
}*/

.left-news h5 {
    margin-top: 20px;
}

/*.right-news-container {
    flex: 0 0 35%;
    display: flex;
    flex-direction: column;
    gap: 26px;
    width:300px;
    height: auto;
    max-height:900px;
}*/

/*.left-news .card,
.right-news {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}*/

/*.card-footer {
    padding: 20px;
    margin-bottom: 80px;
}*/

.news-section .btn-primary {
    background-color: #fff !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
    transition: all 0.3s ease;
/*    margin: 40px auto 0 auto; */
/*    position: relative;*/
    display: inline-block;
    align-content: center;
    top:0;
    right:-120px;
}

    .news-section .btn-primary:hover {
        background-color: var(--primary) !important;
        color: #fff !important;
        border-color: var(--primary) !important;
        transform: scale(1.05);
    }

/*.btn {
    border-radius: 16px;
    font-weight: bold;
    padding: 8px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}*/

.btn-info {
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-info:hover {
        background-color: var(--primary);
        color: #fff;
        border-color: #fff;
    }

.btn-warning {
    background-color: #fff;
    border: 2px solid var(--primary);
    color: var(--primary);
}

    .btn-warning:hover {
        background-color: var(--light);
        color: #760e26;
        border-color: #fff;
    }

.btn-danger {
    background-color: var(--primary);
    border: 2px solid #fff;
    color: #fff;
}

    .btn-danger:hover {
        background-color: red;
        color: #fff;
        border-color: #fff;
    }

/*.events-section {
    background: #fff;
    border: 2px solid #760e26;
    border-radius: 10px;
    padding: 20px;
    max-width: 600px; 
    width: 100%; 
    min-height: 470px; 
    display: flex;
    flex-direction: column;
    height:500px;
    margin: 0 auto;
}*/

    
    .events-section h3 {
        font-size: 1.2rem;
        color: #760e26;
        margin-bottom: 15px;
        text-align: center;
    }

.event-card {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    transition: transform 0.2s ease;
    width: 240px;
    margin-bottom: 15px;
    overflow: hidden; 
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .event-card:hover {
        transform: translateY(-3px);
    }

.event-date {
    margin-left: 0px;
    margin-top: 0px;
}

.event-title {
    font-weight: bold;
    color: #760e26;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration 0.2s ease;
    position: relative;
    /*    top:-10px;*/
    display: block;
    font-weight: bold;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap;
}


    .event-title:hover {
        color: #760e26;
        text-decoration: underline;
    }

.event-date {
    font-size: 0.9rem;
    color: #555;
}

.see-more-container {
    margin-top: auto; 
    text-align: center;
}

/*.see-more-btn {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #760e26;
    background-color: #fff;
    border: 1px solid #760e26;
    border-radius: 16px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

    .see-more-btn:hover {
        transform: scale(1.05);
        background-color: #760e26;
        color: #fff;
        text-decoration: none;
    }

    .see-more-btn::after {
        content: none;
        position: absolute;
        width: 0;
        height: 3px;
        left: 0;
        bottom: 0;
        background-color: #fff;
        border-radius: 2px;
        transition: width 0.3s ease;
    }

    .see-more-btn:hover::after {
        width: 100%;
    }*/

/*.card-text {
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    top: 190px;
    gap: 10px;
    box-shadow: 0 0 10px;
    border-radius: 5px;
    max-width: 250px;
}*/

.left-news .card {
    position: relative;
    min-height: 400px;
    border-radius: 10px;
    overflow: hidden;
    color: #fff;
}

/*.left-news .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0.3));
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 900px;
    height:100%;
}*/

.left-news .card-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,0.7);
    margin-top:-10px;
}

.left-news .card-text {
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    padding: 6px 10px;
    margin: 0;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.3;
    max-width: 300px;
    box-shadow: 0 0 10px #fff;
    top:210px;
}

.left-news .card-footer {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: transparent !important;
    border: none;
}
