 /* ===============================
   FULL PAGE DB CONTENT WRAPPER
================================ */
.full-page-render {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 0 !important;
}

/* 100vw wale DB sections ko constrain karna */
.full-page-render > div[style*="width: 100vw"] {
    width: 100% !important;
    margin-left: 0 !important;
    padding: 0 5% !important;
    background: transparent !important;
}

/* ===============================
   FULL WIDTH CONTENT LOGIC
================================ */
.full-width-content {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.full-width-content > div,
.full-width-content > section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* ===============================
   TYPOGRAPHY & TEXT SPACING
================================ */
.full-width-content p,
.full-width-content h2,
.full-width-content h3,
.full-width-content h4,
.full-width-content ul {
    padding-left: 5%;
    padding-right: 5%;
    margin-bottom: 1.5rem;
}

/* Headings size control */
.full-page-render h1 {
    font-size: 2.2rem !important;
    font-weight: 700;
}

.full-page-render h2 {
    font-size: 1.8rem !important;
    font-weight: 600;
}

.full-page-render h3 {
    font-size: 1.4rem !important;
}

.full-page-render p,
.full-page-render li {
    font-size: 1rem !important;
    line-height: 1.7;
}

/* ===============================
   LIST STYLING
================================ */
.full-width-content ul {
    list-style: none !important;
    padding-left: 8% !important;
}

.full-width-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    color: #475569;
}

.full-width-content ul li::before {
    content: "\e5cc";
    font-family: "Material Icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: #2563eb;
    font-size: 20px;
}

/* ===============================
   TABLE STYLING
================================ */
.full-width-content table {
    width: 90% !important;
    margin: 20px auto !important;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
}

.full-width-content th {
    background: #f8fafc;
    padding: 14px;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
}

.full-width-content td {
    padding: 14px;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* ===============================
   DARK MODE
================================ */
.dark .full-width-content td {
    background: #1e293b;
    color: #cbd5e1;
}

.dark .full-width-content th {
    background: #334155;
    color: #f8fafc;
}

/* ===============================
   FONT CONSISTENCY (IMPORTANT)
================================ */
.full-page-render,
.full-page-render * {
    font-family: var(--site-font) !important;
    font-size: inherit !important;
}

/* Inline font styles override */
.full-page-render [style*="font-family"],
.full-page-render [style*="font-size"] {
    font-family: var(--site-font) !important;
    font-size: inherit !important;
}

/* ===============================
   MOBILE FIX
================================ */
@media (max-width: 768px) {
    .full-page-render > div[style*="width: 100vw"] {
        padding: 0 15px !important;
    }

    .full-width-content p,
    .full-width-content h2,
    .full-width-content h3,
    .full-width-content ul {
        padding-left: 15px;
        padding-right: 15px;
    }
}


/* ===== Common Page Wrapper ===== */
.page-wrapper {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #f6f7f9;
    padding: 40px 20px;
    box-sizing: border-box;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.page-container {
    max-width: 1200px;
    margin: auto;
}

/* ===== Content Box (Replaces .card) ===== */
.content-box {
    background: #ffffff;
    padding: 32px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
}

/* ===== Headings (Centered) ===== */
.page-title,
.content-box h2,
.content-box h3 {
    color: #003a8f;
    margin-top: 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
}

.content-box h2 {
    font-size: 22px;
    margin-bottom: 14px;
}

.content-box h3 {
    font-size: 18px;
    margin-top: 28px;
}

/* ===== Text ===== */
.content-box p,
.content-box li {
    color: #333;
    line-height: 1.85;
    font-size: 15px;
}

/* ===== Lists ===== */
.content-box ul,
.content-box ol {
    padding-left: 22px;
    line-height: 2;
}

/* ===== Grid ===== */
.grid {
    display: grid;
    gap: 16px;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ===== Service Card ===== */
.service-card {
    background: #f3f4f6;
    padding: 18px;
    border-radius: 10px;
    text-align: center;
}

/* ===== Links ===== */
.content-box a {
    color: #0b5ed7;
    text-decoration: none;
}

.content-box a:hover {
    text-decoration: underline;
}

/* ===== Divider ===== */
.divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 22px 0;
}

/* ===== Action Button ===== */
.action-btn {
    display: inline-block;
    padding: 8px 16px;
    margin-left: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff !important;
    background: #0b5ed7;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}

.action-btn:hover {
    background: #094bb5;
    transform: translateY(-1px);
    text-decoration: none;
}

.action-btn:active {
    transform: translateY(0);
}