body {
    font-family: Arial, sans-serif;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Container */
.container {
    max-width: 820px;
    margin: 40px auto;
    padding: 30px 35px;
    border-radius: 10px;
}

.page-header {
    background-color: #D43030;
    color: white;
    padding: 22px 30px;
    border-radius: 12px 12px 0 0;
    display: flex;
    align-items: center;
    gap: 18px;
}

.page-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    flex: 1;
    /* allows proper spacing */
    text-align: center;
    /* keeps title centered */
}

.logo {
    height: 55px;
    flex-shrink: 0;
}

@media (max-width: 768px) {

    .page-header {
        padding: 16px 20px;
    }

    .logo {
        height: 42px;
    }

    .page-header h1 {
        font-size: 20px;
    }

}

/* Meta Bar (Language + Last Updated) */
.meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0 15px 0;
    flex-wrap: wrap;
}

.meta-left select {
    padding: 8px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 16px;
    cursor: pointer;
    background-color: #fff;
}

.meta-right {
    font-size: 15px;
    color: #666;
}

/* Content Styling */
.content {
    font-size: 16px;
}

/* Proper justified formatting for legal pages */
.content p,
.content li {
    text-align: justify;
    text-justify: inter-word;
    word-break: break-word;
}

/* Improve spacing between sections */
.section {
    margin-bottom: 28px;
}

/* Headings */
h2 {
    color: #222;
    border-bottom: 2px solid #D43030;
    padding-bottom: 6px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

/* Lists */
ol,
ul {
    padding-left: 22px;
}

ol {
    list-style-type: lower-alpha;
}

/* Links */
a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    table-layout: fixed;
    /* ✅ makes columns equal */
    margin-top: 15px;
}

tr {
    background-color: #f5f5f5;
}

th,
td {
    border: 1px solid #ddd;
    padding: 16px;
    vertical-align: top;
    word-wrap: break-word;
    /* prevents overflow */
}

th {
    font-weight: 600;
    font-size: 16px;
    text-align: left;
    background-color: #f5f5f5;
}

/* Translation Warning Banner */
.translation-banner {
    padding: 20px 0px;
}

.translation-banner-content {
    margin: 0 auto;
    background-color: #f5eecb;
    border-radius: 10px;
    padding: 18px 22px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.translation-icon {
    font-size: 20px;
    line-height: 1.4;
}

.translation-text {
    font-size: 16px;
    line-height: 1.75;
    color: #5c3b00;
    text-align: justify;
}
