.podstrona {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-height: 500px;
    opacity: 0;
    animation: fadeIn 0.23s ease-out forwards;
    animation-delay: 0.08s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.podstrona h1 {
    color: #2d5016;
    font-size: 1.6rem;
    margin-bottom: 20px;
    border-bottom: 3px solid #7cb342;
    padding-bottom: 10px;
}

.podstrona h2 {
    color: #2d5016;
    font-size: 1.3rem;
    margin: 25px 0 15px;
}

.podstrona h3 {
    color: #3d6d1e;
    font-size: 1.15rem;
    margin: 20px 0 10px;
}

.podstrona p {
    margin-bottom: 15px;
    text-align: justify;
}

.podstrona a {
    color: #7cb342;
    font-weight: 500;
    transition: color 0.2s;
}

.podstrona a:hover {
    color: #2d5016;
    text-decoration: underline;
}

.podstrona img,
.tresc img {
    max-width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.podstrona img:not([height]):not([style*="height"]),
.tresc img:not([height]):not([style*="height"]) {
    height: auto;
}

.podstrona img.img-srodek,
.tresc img.img-srodek {
    margin-left: auto;
    margin-right: auto;
}

.podstrona img.img-polowa,
.tresc img.img-polowa {
    max-width: 50%;
}

.podstrona img.img-mala,
.tresc img.img-mala {
    max-width: 300px;
}

.podstrona img.img-bez-cienia,
.tresc img.img-bez-cienia {
    box-shadow: none;
}

@media (max-width: 768px) {
    .podstrona img.img-polowa,
    .tresc img.img-polowa,
    .podstrona img.img-mala,
    .tresc img.img-mala {
        max-width: 100%;
    }
}

.podstrona ul,
.podstrona ol {
    margin: 15px 0;
    padding-left: 25px;
}

.podstrona li {
    margin-bottom: 8px;
    list-style: disc;
}

.podstrona ol li {
    list-style: decimal;
}

.podstrona table,
.tresc table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.podstrona table th,
.podstrona table td,
.tresc table th,
.tresc table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #d0d0d0;
    vertical-align: top;
}

.podstrona table th,
.tresc table th {
    background-color: #4a7c59;
    font-weight: 600;
    color: #fff;
}

.podstrona table tr:nth-child(even),
.tresc table tr:nth-child(even) {
    background-color: #f9fdf9;
}

.podstrona table tr:hover,
.tresc table tr:hover {
    background-color: #f0f7f0;
}

.podstrona table th:first-child,
.podstrona table td:first-child {
    min-width: 120px;
    font-weight: 500;
}

.podstrona table td,
.tresc table td {
    color: #333;
}

.tresc {
    line-height: 1.8;
    min-height: 450px;
}

.ladowanie {
    display: none;
}

.blad {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #c62828;
    margin: 20px 0;
}

.sukces {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 15px 20px;
    border-radius: 5px;
    border-left: 4px solid #2e7d32;
    margin: 20px 0;
}

@media (max-width: 600px) {
    .podstrona table th,
    .podstrona table td {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .podstrona table th:first-child,
    .podstrona table td:first-child {
        min-width: 120px;
    }
}

.table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background-color: #fff;
}

.table th,
.table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ddd;
    vertical-align: top;
}

.table th {
    background-color: #4a7c59;
    color: white;
    font-weight: bold;
}

.table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.table tr:hover {
    background-color: #f5f5f5;
}

.table-bordered {
    border: 2px solid #4a7c59;
}

.aktualnosc-item {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.aktualnosc-item:last-child {
    border-bottom: none;
}

.aktualnosc-item p {
    margin: 10px 0;
}

.tresc hr {
    border: none;
    border-top: 2px solid #e0e0e0;
    margin: 30px 0;
}

@media (min-width: 1024px) {
    .podstrona {
        padding: 45px;
    }

    .podstrona h1 {
        font-size: 2.25rem;
    }

    .podstrona h2 {
        font-size: 1.8rem;
    }

    .podstrona h3 {
        font-size: 1.4rem;
    }

    .podstrona table th,
    .podstrona table td {
        padding: 14px 25px;
    }

    .podstrona table th:first-child,
    .podstrona table td:first-child {
        min-width: 220px;
    }

    .table th,
    .table td {
        padding: 14px 20px;
    }

    .aktualnosc-item {
        margin-bottom: 30px;
    }
}
