/*
	Theme Name: KAG
	Description: KAG sablon
	Version: 1.0
	Author: KAG
*/

.hero {
/*
	background:
		linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
		url("hero.jpg") center / cover no-repeat;
	color: white;
	padding: 120px 0;
*/
	background:
	linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
	url("img/hero.jpg") center / cover no-repeat;
	color: white;
	min-height: 80vh;
	display: flex;
	align-items: center; 
}

.news-card img {
	height: 200px;
	object-fit: cover;
}

footer {
	background: #222;
	color: white;
	padding: 40px 0;
}


.highlight-section {
	background: #2e7d32;
}

.highlight-section .card-img-top {
	height: 200px;
	object-fit: cover;
}
.kag-logo {
font-family: 'Lato', sans-serif;
font-weight: 700;
font-size: 32px;
letter-spacing: 3px;
color: #111111;
text-transform: uppercase;
}

.kag-logo:hover {
	color: #000000;
}



/* dynamic menu example */
/* Base menu */
.top-menu-list {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.top-menu-list li {
    position: relative;
}

/* Links */
.top-menu-list a {
    text-decoration: none;
    padding: 10px 10px;
    display: block;
    color: #333;
    font-weight: 400;
}

/* Hover effect */
.top-menu-list a:hover {
    color: #0073aa;
}

/* Dropdown container */
.top-menu-list .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    padding: 10px 0;
    margin: 0;

    background: #fff;
    min-width: 200px;

    border: 1px solid #ddd;
    border-radius: 6px;

    display: none;
    z-index: 1000;
}

/* Show dropdown on hover */
.top-menu-list li:hover > .sub-menu {
    display: block;
}

/* Dropdown items */
.top-menu-list .sub-menu li a {
    padding: 10px 10px;
    color: #333;
    white-space: nowrap;
}

/* Dropdown hover */
.top-menu-list .sub-menu li a:hover {
    background: #f5f5f5;
    color: #0073aa;
}

/* Add arrow for items with children */
.top-menu-list .menu-item-has-children > a::after {
    content: " ▼";
    font-size: 0.7em;
}

/* Optional: smooth fade */
.top-menu-list .sub-menu {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease;
}

.top-menu-list li:hover > .sub-menu {
    opacity: 1;
    transform: translateY(0);
}

.top-menu-list .sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

/* horizontal news list style */
.news-list-item {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding: 20px 0;
}

.news-list-item img {
    width: 180px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.news-meta {
    font-size: 0.9rem;
    color: #777;
}