/*
Theme Name: Latent Book Final Integrated
Author: Custom WP Integration
Version: 2.0
*/


/* ===============================
   LEGAL / PRIVACY PAGE STYLING
================================= */

.legal-page {
    padding: 80px 20px;
    background: #000; /* keep dark theme */
}

.legal-container {
    max-width: 850px;
    margin: 0 auto;
    font-family: var(--font-primary);
    color: #e5e5e5;
    line-height: 1.8;
    font-size: 17px;
}

/* Main Page Title */
.legal-container h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #ffffff;
    border-bottom: 2px solid #222;
    padding-bottom: 15px;
}

/* Section Headings */
.legal-container h2 {
    font-size: 26px;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 15px;
    color: #ffffff;
}

.legal-container h3 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 35px;
    margin-bottom: 10px;
    color: #f5f5f5;
}

/* Paragraphs */
.legal-container p {
    margin-bottom: 18px;
    color: #cccccc;
}

/* Lists */
.legal-container ul,
.legal-container ol {
    margin: 20px 0 20px 25px;
}

.legal-container li {
    margin-bottom: 10px;
}

/* Links */
.legal-container a {
    color: #ff3b3b;
    text-decoration: underline;
}

.legal-container a:hover {
    opacity: 0.8;
}

/* Horizontal spacing between sections */
.legal-container > *:first-child {
    margin-top: 0;
}

/* Improve readability on large screens */
@media (min-width: 1400px) {
    .legal-container {
        max-width: 900px;
    }
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .legal-page {
        padding: 50px 20px;
    }

    .legal-container {
        font-size: 16px;
    }

    .legal-container h1 {
        font-size: 28px;
    }

    .legal-container h2 {
        font-size: 22px;
    }

    .legal-container h3 {
        font-size: 18px;
    }
}

.legal-container {
    letter-spacing: 0.3px;
}

.legal-container p {
    text-align: justify;
}









/* ===============================
   LEGAL PAGE SPACING FIX
================================= */

/* Space BEFORE every section heading */
.legal-container h2,
.legal-container h3 {
    margin-top: 45px;
}

/* Space AFTER every heading */
.legal-container h1,
.legal-container h2,
.legal-container h3 {
    margin-bottom: 22px;
}

/* Remove extra top space from first heading */
.legal-container h1:first-child,
.legal-container h2:first-child {
    margin-top: 0;
}

/* Paragraph breathing */
.legal-container p {
    margin-bottom: 18px;
}

/* List spacing */
.legal-container ul,
.legal-container ol {
    margin: 18px 0 18px 25px;
}

.legal-container li {
    margin-bottom: 10px;
}

.legal-container h2 {
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}
.Interest-select{width:96%!important;}
.form-group input, .form-group select{margin:6px 0 6px 0;!important}
.form-group select{margin:6px 0 10px 0;!important}

/* Remove CF7 auto paragraph spacing */
.waitlist-form .form-group p {
    margin: 0;
    width: 100%;
}

/* Make button true full width */
.waitlist-form .btn-full {
    width: 97% !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Remove horizontal padding that breaks equal width */
.waitlist-form .btn {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Optional: control vertical padding separately */
.waitlist-form .btn-primary {
    padding-top: 16px !important;
    padding-bottom: 16px !important;
}

/*TOC*/

#ez-toc-container {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

#ez-toc-container ul {
    margin: 0;
    padding: 0;
}
/* TOC Card */
#ez-toc-container {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #222;
}

/* Title */
#ez-toc-container .ez-toc-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

/* List reset */
#ez-toc-container ul.ez-toc-list {
    list-style: none;
}

/* Each item */
#ez-toc-container ul li {
    margin-bottom: 14px;
    padding-left: 14px;
    border-left: 2px solid #222;
    transition: 0.3s ease;
}

/* Links */
#ez-toc-container a.ez-toc-link {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    display: block;
    line-height: 1.6;
    transition: 0.3s ease;
}

/* Hover */
#ez-toc-container ul li:hover {
    border-left: 2px solid #e01e1e;
}

#ez-toc-container a.ez-toc-link:hover {
    color: #e01e1e;
}
/* Remove numbering system */
#ez-toc-container ul {
    counter-reset: none !important;
}

#ez-toc-container ul li {
    counter-increment: none !important;
    padding-left: 14px !important; /* reset spacing */
}

/* Remove the red circle */
#ez-toc-container ul li::before {
    content: none !important;
    display: none !important;
}
#ez-toc-container ul li {
    border-left: 2px solid #222;
    padding-left: 14px;
	padding-bottom:10px;
}

#ez-toc-container ul li:hover {
    border-left: 2px solid #e01e1e;
}

#ez-toc-container a.ez-toc-link {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

#ez-toc-container a.ez-toc-link:hover {
    color: #e01e1e;
	text-decoration:none;
}

