/* Base styles for the privacy policy page body */
body.policy-page {
    font-family: 'Jost', Arial, sans-serif;
    background: #f6f8fa;
    color: #212529;
    margin: 0;
}

/* Main content container with responsive width and max-width for desktop */
.policy-content {
    width: 94%;
    max-width: 1300px;
    margin: 38px auto 0 auto;
    padding: 0;
    background: none;
}

/* Title styling - centered and prominent */
.policy-title {
    text-align: center;
    margin-bottom: 18px;
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--primary);
}

/* Meta information styling - date and version details */
.policy-meta {
    color: #777;
    font-size: 1rem;
    margin-bottom: 20px;
    text-align: left;
}

/* Heading styles for different levels in policy blocks */
.policy-block h2,
.policy-block h3,
.policy-block h4 {
    margin-top: 32px;
    margin-bottom: 14px;
    font-weight: 600;
    color: #143e6a;
}

/* H2 specific styling with bottom border */
.policy-block h2 {
    font-size: 1.28rem;
    border-bottom: 1.2px solid #e3e9f1;
    padding-bottom: 5px;
    margin-bottom: 16px;
}

/* H3 and H4 font sizes */
.policy-block h3 {
    font-size: 1.07rem;
}

.policy-block h4 {
    font-size: 1.03rem;
}

/* List styling for bullet points */
.policy-block ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

.policy-block ul li {
    padding-bottom: 7px;
    line-height: 1.7;
}

/* Paragraph styling for readability */
.policy-block p {
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Contact section styling with background and padding */
.policy-contact {
    background: #f3f7fb;
    padding: 12px 13px;
    border-radius: 6px;
    margin: 10px 0 22px 0;
    color: #244c7b;
    font-size: 1rem;
}

/* Footer styling with top border */
.policy-footer {
    margin-top: 36px;
    padding-top: 15px;
    font-size: 1rem;
    border-top: 1px solid #e2e8ee;
    color: #5e6b7c;
}

/* Link styling within policy blocks */
.policy-block a {
    color: #106eea;
}

/* Media queries for responsive design */

/* Tablet and smaller desktop screens */
@media (max-width: 768px) {
    .policy-content {
        width: 90%;
        margin: 8px auto 0 auto;
        padding: 0 15px; /* Added padding for better spacing */
    }
    
    .policy-title {
        font-size: 2rem; /* Slightly smaller title on tablets */
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .policy-content {
        width: 95%;
        margin: 8px auto 0 auto;
        padding: 0 10px;
    }
    
    .policy-block h2 {
        font-size: 1.2rem; /* Adjust heading sizes for small screens */
    }
    
    .policy-block h3 {
        font-size: 1.05rem;
    }
    
    .policy-block ul {
        margin-left: 20px; /* Reduce list indent on mobile */
    }
}