.tn-noteikumi {
    padding: 32px 0 64px;
    background: #f7f7f7;
}

.tn-container {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.tn-noteikumi__card {
    background: #fff;
    border: 1px solid #e7e7e7;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

/* Hero */
.tn-noteikumi__hero {
    margin: 0 0 32px;
    padding: 0 0 24px;
    border-bottom: 1px solid #ececec;
}

.tn-noteikumi__title {
    margin: 0 0 12px;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 700;
    color: #111;
}

.tn-noteikumi__lead {
    margin: 0;
    max-width: 820px;
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}

/* Sections */
.tn-noteikumi__section {
    margin: 0 0 32px;
}

.tn-noteikumi__section:last-child {
    margin-bottom: 0;
}

.tn-noteikumi__section h2 {
    margin: 0 0 18px;
    padding-left: 14px;
    border-left: 4px solid #111;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

.tn-noteikumi__section h3 {
    margin: 24px 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 700;
    color: #222;
}

.tn-noteikumi__section p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.tn-noteikumi__section ul,
.tn-noteikumi__section ol {
    margin: 0 0 18px 22px;
    padding: 0;
}

.tn-noteikumi__section li {
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.75;
    color: #333;
}

.tn-noteikumi__section strong {
    color: #111;
    font-weight: 700;
}

/* Info / highlight boxes */
.tn-noteikumi__box,
.tn-noteikumi__info {
    margin: 16px 0 20px;
    padding: 18px 20px;
    background: #fafafa;
    border: 1px solid #ebebeb;
    border-radius: 12px;
}

.tn-noteikumi__box p:last-child,
.tn-noteikumi__info p:last-child {
    margin-bottom: 0;
}

/* Links */
.tn-noteikumi a {
    color: #111;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s ease;
}

.tn-noteikumi a:hover {
    opacity: 0.7;
}

/* Better spacing for long legal text */
.tn-noteikumi__section + .tn-noteikumi__section {
    padding-top: 4px;
}

/* Optional subtle separators for dense content */
.tn-noteikumi__section:not(:last-child) {
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

/* Tables if later needed */
.tn-noteikumi table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 22px;
    font-size: 15px;
}

.tn-noteikumi th,
.tn-noteikumi td {
    padding: 12px 14px;
    border: 1px solid #e6e6e6;
    text-align: left;
    vertical-align: top;
}

.tn-noteikumi th {
    background: #fafafa;
    font-weight: 700;
    color: #111;
}

/* Mobile */
@media (max-width: 767px) {
    .tn-noteikumi {
        padding: 20px 0 40px;
    }

    .tn-container {
        width: min(100%, calc(100% - 20px));
    }

    .tn-noteikumi__card {
        padding: 20px 16px;
        border-radius: 12px;
    }

    .tn-noteikumi__hero {
        margin-bottom: 24px;
        padding-bottom: 18px;
    }

    .tn-noteikumi__title {
        font-size: 28px;
    }

    .tn-noteikumi__lead,
    .tn-noteikumi__section p,
    .tn-noteikumi__section li {
        font-size: 15px;
        line-height: 1.7;
    }

    .tn-noteikumi__section h2 {
        font-size: 21px;
        padding-left: 12px;
        margin-bottom: 14px;
    }

    .tn-noteikumi__section h3 {
        font-size: 17px;
        margin-top: 18px;
    }

    .tn-noteikumi__box,
    .tn-noteikumi__info {
        padding: 14px 14px;
        border-radius: 10px;
    }
}