/* Col2 konténer stílus - grid layout */
.col2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0px;
    max-width: 1000px;
    margin: 0 auto;
}

/* H1 section címek - teljes szélességben */
.col2 h1 {
    grid-column: 1 / -1; /* Span across all columns */
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 3px solid #3498db;
    text-align: center;
}

.col2 h3 {
    grid-column: 1 / -1; /* Span across all columns */
    font-size: 2em;
    font-weight: bold;
    color: #2c3e50;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    text-align: center;
}

.col2 h1:first-child {
    margin-top: 0;
}

/* Bevezetés bekezdés - teljes szélességben */
.col2 > p {
    grid-column: 1 / -1;
    text-align: justify;
    margin: 0 0 20px 0;
    font-style: normal;
    color: #7f8c8d;
}

/* Card elemek - két oszlopban */
.col2 .card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.col2 .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* H2 címek a card-okban (gyártó nevek) */
.col2 .card h2 {
    font-size: 1.3em;
    font-weight: bold;
    color: #2c3e50;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #3498db;
    text-align: center;
}

/* Logók (IMG) stílusa a card-okban */
.col2 .card img {
    display: block;
    margin: 0 auto 15px auto;
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Nagyobb képek a bigimg osztályú kártyákban */
.col2 .card.bigimg img {
    max-height: 160px; /* 2x-es méret */
    max-width: 200%; /* Szélesség is megnövelve */
}

/* Bekezdések (P) stílusa a card-okban */
.col2 .card p {
    margin: 0 0 10px 0;
    line-height: 1.5;
    color: #34495e;
    font-size: 0.95em;
    flex-grow: 1;
}

.col2 .card p:last-child {
    margin-bottom: 0;
}

/* Linkek stílusa a bekezdésekben */
.col2 .card p a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.col2 .card p a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Listák (UL) stílusa a card-okban */
.col2 .card ul {
    margin: 0;
    padding-left: 20px;
    flex-grow: 1;
}

/* Lista elemek (LI) stílusa a card-okban */
.col2 .card li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #34495e;
    font-size: 0.95em;
}

.col2 .card li:last-child {
    margin-bottom: 0;
}

/* Linkek stílusa a lista elemekben */
.col2 .card li a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.col2 .card li a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Reszponzív dizájn - tableteken és mobilon egy oszlop */
@media (max-width: 1024px) {
    .col2 {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 0px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .col2 .card {
        min-height: auto;
        min-width:100px;
        font-size: 1.3em;
    }
    
    .col2 h1 {
        font-size: 1.6em;
        margin: 20px 0 15px 0;
    }
    
    .col2 .card h2 {
        font-size: 1.0em;
    }
    
    .col2 .card p {
        font-size: 0.8em;
        max-width: auto;
    }
    /* Nagyobb képek a bigimg osztályú kártyákban */
    .col2 .card.bigimg img {
        max-height: 160px; /* 2x-es méret */
        max-width: 100%; /* Szélesség is megnövelve */
    }


/* Listák (UL) stílusa a card-okban */
.col2 .card ul {
    margin: 0;
    padding-left: 20px;
    flex-grow: 1;
}

/* Lista elemek (LI) stílusa a card-okban */
.col2 .card li {
    margin-bottom: 8px;
    line-height: 1.4;
    color: #34495e;
    font-size: 0.8em;
}

.col2 .card li:last-child {
    margin-bottom: 0;
}

/* Linkek stílusa a lista elemekben */
.col2 .card li a {
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
}

.col2 .card li a:hover {
    color: #2980b9;
    text-decoration: underline;
}

}
