/* ============================
   CMS PUBLIC PAGE
============================ */

.cms-page {
    min-height: calc(100vh - 200px);
    /* ensures footer stays at bottom */
    padding: 60px 20px;
    background: #f4f6f9;
    display: flex;
    justify-content: center;
}

.cms-container {
    width: 100%;
    max-width: 900px;
    background: #ffffff;
    padding: 50px 60px;
    border-radius: 14px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

/* ============================
   CMS TITLE
============================ */

#cmsTitle {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1565c0;
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

#cmsTitle::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background: #ff9800;
    margin: 14px auto 0;
    border-radius: 2px;
}

/* ============================
   CMS CONTENT
============================ */

.cms-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #333;
}

/* Paragraph spacing */
.cms-content p {
    margin-bottom: 18px;
}

/* Headings inside content */
.cms-content h2 {
    font-size: 1.4rem;
    margin: 36px 0 14px;
    color: #1565c0;
}

.cms-content h3 {
    font-size: 1.2rem;
    margin: 28px 0 12px;
    color: #333;
}

/* Lists */
.cms-content ul {
    margin: 14px 0 22px 22px;
}

.cms-content li {
    margin-bottom: 10px;
}

/* Links inside CMS */
.cms-content a {
    color: #1565c0;
    font-weight: 600;
    text-decoration: none;
}

.cms-content a:hover {
    text-decoration: underline;
}

/* ============================
   LOADING STATE
============================ */

#cmsContent:empty,
#cmsContent.loading {
    text-align: center;
    font-size: 1rem;
    color: #777;
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 768px) {

    .cms-container {
        padding: 35px 25px;
    }

    #cmsTitle {
        font-size: 1.9rem;
    }

    .cms-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {

    .cms-container {
        padding: 30px 20px;
    }

    #cmsTitle {
        font-size: 1.7rem;
    }
}