/* ---------- RESET & BASE ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.5;
    background: #fef8e7;
    color: #2c3e2f;
    padding: 1rem;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ---------- HEADER with language switcher ---------- */
.site-header {
    background: #1e3c2c;
    color: #f9d56e;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.lang-switch {
    position: relative;
    top: 1rem;
    right: 1.5rem;
    display: flex;
    gap: 0.5rem;
}

.lang-switch a {
    color: #f9d56e;
    text-decoration: none;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    transition: background 0.2s;
}

.lang-switch a.active, .lang-switch a:hover {
    background: #f9d56e;
    color: #1e3c2c;
}

.site-header h1 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.site-header p {
    font-size: .8rem;
    color: #e6e6c3;
}

.prog-indent { 
	display: inline-block; 
	margin-left: 3em; 
	}

@media (min-width: 768px) {
.site-header h1 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
}

.site-header p {
    font-size: 1rem;
    color: #e6e6c3;
}
}


/* ---------- MAIN GRID (2 columns on desktop) ---------- */
.main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .main-grid {
        grid-template-columns: 300px 1fr;
        gap: 2rem;
    }
}

/* ---------- LEFT COLUMN: MENU CARD ---------- */
.menu-card {
    background: #f5f0e1;
    border-radius: 28px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 1rem 0;
}

.menu-card .top-image {
    text-align: center;
    /* padding: 1rem 1rem 0.5rem 1rem; */
}

.menu-card .top-image img {
    max-width: 95%;
    height: auto;
    /* border-radius: 16px; */
}

.left-nav {
    width: 100%;
}

.left-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.left-nav li {
    border-bottom: 1px solid #ddd8c8;
}

.left-nav li:last-child {
    border-bottom: none;
}

.left-nav a {
    display: block;
    padding: 0.8rem 1.2rem;
    color: #1e3c2c;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s, padding-left 0.2s;
}

.left-nav a:hover {
    background: #e6ddcd;
    padding-left: 1.6rem;
}

.left-nav .dropdown {
    position: relative;
}

.left-nav .dropdown-content {
    list-style: none;
    background: #e8e0d0;
    padding-left: 1.2rem;
    display: none;
}

.left-nav .dropdown-content li {
    border-bottom: none;
}

.left-nav .dropdown-content a {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
}

@media (min-width: 768px) {
    .left-nav .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* ---------- MOBILE NAVIGATION ---------- */
.mobile-nav-trigger {
    display: none;
    background: #2b5e3b;
    color: white;
    border: none;
    font-size: 1.8rem;
    padding: 0.6rem;
    width: 100%;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 1rem;
}




@media (max-width: 767px) {
    .menu-card .left-nav {
        display: none;
    }
    .menu-card .left-nav.active {
        display: block;
    }
    .mobile-nav-trigger {
        display: block;
    }
    .left-nav .dropdown > a {
        position: relative;
    }
    .left-nav .dropdown .dropdown-content {
        display: none;
        padding-left: 1rem;
    }
    .left-nav .dropdown.open .dropdown-content {
        display: block;
    }
}

/* ---------- RIGHT COLUMN: CONTENT AREA ---------- */
.content-section h2 {
    color: #1e3c2c;
    border-bottom: 2px solid #f9d56e;
    display: inline-block;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

/* ---------- JURY LIST STYLES ---------- */
.jury-year {
    margin-bottom: 2rem;
    background: #fefaf0;
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.jury-year h3 {
    background: #1e3c2c;
    color: #f9d56e;
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 30px;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.jury-list {
    list-style: none;
    padding-left: 0;
}

.jury-list li {
	margin-bottom: 0.8rem;
	padding-left: 1.2rem;
	position: relative;
	line-height: 1.5;
}

.jury-list li:before {
	content: "🎵";
	position: absolute;
	left: -0.2rem;
	top: 0;
	color: #f9d56e;
	font-size: 0.9rem;
}
.jury-name {
	font-weight: bold;
}
.jury-details {
	font-weight: normal;
}

/* ---------- FOOTER ---------- */
.site-footer {
    /* background: #1e3c2c; */
    color: #1e3c2c; /* #f9d56e; */
    text-align: center;
    padding: 1rem;
    font-size: 0.85rem;
}
.cofinancing{
	background:#eef4e8; 
	/* border-left:6px solid #f9d56e; */
	padding:1rem; 
	border-radius:8px; 
	margin:1rem 0; 
	text-align:center;
}

/* ---------- UTILITIES ---------- */
img {
    max-width: 100%;
    height: auto;
}

/* Header flex container */
.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

/* Title area */
.header-title {
    flex: 1;
    text-align: center;
}
.header-title h1 {
    margin: 0;
    font-size: 1.2rem;
}
.header-title p {
    margin: 0;
    font-size: 0.8rem;
}

/* Mobile hamburger – hidden on desktop */
.mobile-hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #f9d56e;
    cursor: pointer;
    padding: 0 0.5rem;
}

/* Language switcher – always visible, but repositions on mobile */
.lang-switch {
    display: flex;
    gap: 0.5rem;
}

.lang-switch a {
    color: #f9d56e;
    text-decoration: none;
    font-weight: bold;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    background: rgba(255,255,255,0.2);
    transition: background 0.2s;
	position: relative;
}
.lang-switch a.active, .lang-switch a:hover {
    background: #f9d56e;
    color: #1e3c2c;
}


/* Mobile adjustments */
@media (max-width: 767px) {
    .mobile-hamburger {
        display: block;  /* Show hamburger on mobile */
    }
    .header-title h1 {
        font-size: 1rem;
        line-height: 1.2;
    }
    .header-title p {
        font-size: 0.7rem;
    }
    /* Remove the old hamburger from the left card */
    .mobile-nav-trigger {
        display: none !important;
    }
    /* Ensure the left navigation still slides from the top or behaves as before */
    .menu-card .left-nav {
        display: none;
    }
    .menu-card .left-nav.active {
        display: block;
    }
	.lang-switch {
        flex-direction: column;
        top: 0rem;
		right: 0rem;
    }
    .lang-switch a {
        text-align: center;
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
}