/* ================================================================
   WHIZWISER — PRIVACY POLICY (CONTENT ONLY) STYLESHEET
   Pure HTML tag styling for WordPress WYSIWYG editor content.
   Focuses purely on high-legibility typography, responsive tables,
   and clean layouts without cards, banners, or sidebars.
================================================================= */

.privacy-page {
    background-color: var(--bp-bg-page, #111111);
    color: var(--bp-text-primary, #ffffff);
    min-height: 100vh;
    padding-top: 140px;
    padding-bottom: 100px;
}

/* Article Container (Optimal Reading Width) */
.privacy-article {
    max-width: 860px;
    margin: 0 auto;
}

/* Document Header */
.privacy-header {
    margin-bottom: 28px;
    text-align: left;
}

.privacy-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 10px;
}

.privacy-updated {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.privacy-divider {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 0 36px 0;
}

/* ================================================================
   PURE HTML ELEMENT STYLING FOR WYSIWYG EDITOR CONTENT
================================================================= */
.privacy-entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.82);
    word-break: break-word;
}

/* First element margin reset */
.privacy-entry-content > *:first-child {
    margin-top: 0 !important;
}

/* Headings (h1, h2, h3, h4, h5, h6) */
.privacy-entry-content h1,
.privacy-entry-content h2,
.privacy-entry-content h3,
.privacy-entry-content h4,
.privacy-entry-content h5,
.privacy-entry-content h6 {
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-entry-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.3rem);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-entry-content h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-entry-content h3 {
    font-size: clamp(1.18rem, 2vw, 1.38rem);
    color: rgba(255, 255, 255, 0.95);
}

.privacy-entry-content h4 {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
}

.privacy-entry-content h5 {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
}

.privacy-entry-content h6 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #10b981;
}

/* Paragraphs */
.privacy-entry-content p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.4rem;
}

.privacy-entry-content p:last-child {
    margin-bottom: 0;
}

/* Links */
.privacy-entry-content a {
    color: #10b981;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(16, 185, 129, 0.45);
    transition: all 0.2s ease;
}

.privacy-entry-content a:hover {
    color: #34d399;
    text-decoration-color: #34d399;
}

/* Bold, Strong, Italic */
.privacy-entry-content strong,
.privacy-entry-content b {
    font-weight: 700;
    color: #ffffff;
}

.privacy-entry-content em,
.privacy-entry-content i {
    font-style: italic;
    color: rgba(255, 255, 255, 0.88);
}

.privacy-entry-content mark {
    background: rgba(16, 185, 129, 0.2);
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
}

.privacy-entry-content del,
.privacy-entry-content s {
    color: rgba(255, 255, 255, 0.45);
    text-decoration: line-through;
}

.privacy-entry-content small {
    font-size: 85%;
    color: rgba(255, 255, 255, 0.55);
}

/* Unordered Lists (ul) */
.privacy-entry-content ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
}

.privacy-entry-content ul > li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 0.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-entry-content ul > li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
}

/* Ordered Lists (ol) */
.privacy-entry-content ol {
    list-style: decimal;
    padding-left: 1.4rem;
    margin-top: 0.6rem;
    margin-bottom: 1.6rem;
}

.privacy-entry-content ol > li {
    margin-bottom: 0.6rem;
    padding-left: 4px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.privacy-entry-content ol > li::marker {
    color: #10b981;
    font-weight: 700;
}

/* Nested lists */
.privacy-entry-content li > ul,
.privacy-entry-content li > ol {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    padding-left: 1rem;
}

/* Blockquotes */
.privacy-entry-content blockquote {
    margin: 1.8rem 0;
    padding: 16px 22px;
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid #10b981;
    border-radius: 0 10px 10px 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15.5px;
    line-height: 1.7;
}

.privacy-entry-content blockquote p:last-child {
    margin-bottom: 0;
}

.privacy-entry-content blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    font-style: normal;
    color: rgba(255, 255, 255, 0.5);
}

/* Horizontal Rule (hr) */
.privacy-entry-content hr {
    border: none;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 2.2rem 0;
}

/* Tables (Both pure <table> and Gutenberg .wp-block-table) */
.privacy-entry-content table,
.privacy-entry-content .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.8rem 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    background: #151517;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.privacy-entry-content th,
.privacy-entry-content .wp-block-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 700;
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.privacy-entry-content td,
.privacy-entry-content .wp-block-table td {
    padding: 13px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    line-height: 1.55;
    vertical-align: top;
}

.privacy-entry-content tr:last-child td,
.privacy-entry-content .wp-block-table tr:last-child td {
    border-bottom: none;
}

.privacy-entry-content tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive Table Wrapper (Prevents broken layout on mobile) */
.privacy-entry-content .table-responsive-wrapper,
.privacy-entry-content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.8rem 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.privacy-entry-content .table-responsive-wrapper table,
.privacy-entry-content .wp-block-table table {
    margin: 0;
    border: none;
    border-radius: 0;
}

/* Code & Preformatted Text */
.privacy-entry-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 13.5px;
    padding: 2px 7px;
    background: rgba(255, 255, 255, 0.08);
    color: #34d399;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.privacy-entry-content pre {
    background: #0d0d0e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px 20px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.privacy-entry-content pre code {
    padding: 0;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.9);
}

/* Images & Figures */
.privacy-entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    margin: 1.8rem auto;
}

.privacy-entry-content figure {
    margin: 1.8rem 0;
    text-align: center;
}

.privacy-entry-content figcaption {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 8px;
}

/* Definition Lists (dl, dt, dd) */
.privacy-entry-content dl {
    margin: 1.5rem 0;
}

.privacy-entry-content dt {
    font-weight: 700;
    color: #ffffff;
    margin-top: 1rem;
    font-size: 15.5px;
}

.privacy-entry-content dd {
    margin-left: 0;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0.8rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(16, 185, 129, 0.4);
}

/* Address tag */
.privacy-entry-content address {
    font-style: normal;
    line-height: 1.6;
    margin: 1.2rem 0;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
}

/* Print Styles */
@media print {
    body, .privacy-page {
        background: #ffffff !important;
        color: #000000 !important;
        padding: 0 !important;
    }
    .navbar-wrapper,
    .footer {
        display: none !important;
    }
    .privacy-title,
    .privacy-entry-content h1,
    .privacy-entry-content h2,
    .privacy-entry-content h3,
    .privacy-entry-content h4,
    .privacy-entry-content h5,
    .privacy-entry-content h6,
    .privacy-entry-content strong {
        color: #000000 !important;
    }
    .privacy-updated,
    .privacy-entry-content p,
    .privacy-entry-content li {
        color: #222222 !important;
    }
    .privacy-entry-content table,
    .privacy-entry-content th,
    .privacy-entry-content td {
        border-color: #cccccc !important;
        color: #000000 !important;
        background: none !important;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .privacy-page {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
