/* Sötét téma alap stílusok */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
}

a {
    color: #4a9eff;
    text-decoration: none;
}

a:hover {
    color: #6bb3ff;
}

/* Fejléc stílusok */
.dark-header {
    background-color: #0d0d0d;
    border-bottom: 2px solid #333;
    padding: 1rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: #e0e0e0;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #4a9eff;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@font-face{
	font-family:ETmodules;
	font-display:block;
	src:url(/fonts/modules.eot);
	src:url(/fonts/modules.eot?#iefix) format("embedded-opentype"),url(/fonts/modules.woff) format("woff"),url(/fonts/modules.ttf) format("truetype"),url(/fonts/modules.svg#ETmodules) format("svg");
	font-weight:400;
	font-style:normal
}


.alertbox {
    padding: 25px;
    border-radius: 5px;
    font-size: 16px;
    margin:auto;
    width:90%;
    max-width:800px;
    margin-bottom:30px;
    text-align:left;
    position:relative;
    padding-left:55px;
	font-weight:bold;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

.alertbox::before {
    font-family: "FontAwesome";
    font-weight: 900;
    font-size: 32px;
    position:absolute;
    left:15px;
}

.alertbox.success {
    background-color: #1a3d2a;
    color: #4ade80;
    border: 1px solid #16a34a;
}

.alertbox.success::before {
    content: "\f058"; /* Font Awesome 'check-circle' ikon */
    color: #28a745;
}


.alertbox.error {
    background-color: #3d1a1a;
    color: #f87171;
    border: 1px solid #dc2626;
}

.alertbox.error::before {
    content: "\f071"; /* Font Awesome 'exclamation-triangle' ikon */
    color: #dc3545;
}


/*** Form ***/
div.form-center {
	border:1px solid #333333;	
	margin:auto;
	width:50%;
	max-width:1024px;
	background:#2a2a2a;
	color:#e0e0e0;
	border-radius:10px;
	padding:0px;
}

div.form-center form {
	padding:40px;
	padding-top:20px;
	padding-bottom:0px;	
}

div.form-center form h2 {
	text-align:center;
}


div.form-center form label {
	display:block;
	text-align:left;
	font-weight:bold;
}


div.form-center::before {
    display:block;
    background-size: 100% 30px;    
    height: 30px;
    width:100%;
    content:" ";
    z-index: 1;
    border-radius:10px 10px 0px 0px;
    transform: scale(-1, 1);
}

div.form-center::after {
    display:block;
    background-size: 100% 20px;    
    height: 20px;
    width:100%;
    content:" ";
    z-index: 1;
    border-radius:0px 0px 10px 10px;
    transform: scale(-1, 1);
}

div.form-center input {
	padding:10px;
	margin:5px;
	margin-left:0px;
	margin-right:0px;
	border-radius:5px;
	border:1px solid #444444;
	font-size:18px;	
	width:100%;
	background:#1a1a1a;
	color:#e0e0e0;
}

div.form-center input::placeholder,textarea::placeholder {
	font-size:13px;
	color:#cccccc;
}

div.form-center input[type=checkbox] {
	width:auto;
	display:inline-block;
	margin-right:10px;	
}

div.form-center input[type=submit] {
	cursor:pointer;	
	background:#4a9eff;
	color:#ffffff;
	transition:all 0.4s;
}

div.form-center input[type=submit]:hover {
	background:#6bb3ff;
	color:#ffffff;
	
}

div.form-center div.form-row {
	margin:20px;
}

div.form-center .alertbox {
	width:auto;		
}

.article-title a,article .title a {
	color:#e0e0e0;
	text-decoration:none;
}

.article-title a:hover,article .title a:hover {
	color:#4a9eff;
}

div.invest-alert {
	border:1px solid #444444;
	background:#2a2a2a;
	color:#e0e0e0;
	padding:15px;
	margin-top:20px;
	margin-bottom:20px;
	font-size:14px;
}

@media screen and (max-width: 1024px) {
	div.form-center {
	 	width:95%;
	 	margin-bottom:20px;
	}
	
	div.form-center form {
		padding:5px; 
	}
	
}

/**********************************/

.grid3 {
		display: flex;
        flex-wrap: wrap; /* Tördelés engedélyezése */
        gap: 10px; /* Távolság a dobozok között */
        margin: 10px 0; /* Felül és alul 10px margó */
}

.grid3 .title,.grid3 .title a {
	font-weight:600;
	font-size: 16px !important;
    line-height: 1.2em !important;
    margin-bottom:10px;
    color:#e0e0e0;
    text-decoration:none;
}

.grid3 .excerpt {
	font-size: 16px !important;
    line-height: 1.2em !important;
    display: -webkit-box; /* Többsoros vágás támogatása */
     -webkit-box-orient: vertical; /* A szöveg iránya függőleges */
     -webkit-line-clamp: 3; /* Maximum 3 sor jelenjen meg */
     overflow: hidden; /* A többi sor elrejtése */
     text-overflow: ellipsis; /* A hosszú szövegek "..."-kal végződjenek */
     line-height: 1.2; /* Sorok közötti távolság */
     max-height: calc(1.2em * 3); /* Max magasság (3 sor) */

}

.grid3>div {
	flex: 1; /* Egyenlően oszlik meg a szélesség */
    min-width: 200px; /* Minimum szélesség a töréshez */    
	box-sizing: border-box; /* A padding is a méreten belül számít */    
    background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 62%)!important; /* Háttér */
    padding:10px;
    border-left:3px solid #4a9eff;    	
    overflow: hidden;
    justify-content: flex-end !important;
	transition: all .6s ease !important;    
}

.grid3>div:hover {
	border-color:#6bb3ff;
}


@media screen and (max-width: 1024px) {
     .grid3 {
	 	display:block;		     	
     }
     .grid3>div {
     	margin-bottom:10px;
     }
}
