/* Reset בסיסי ו־RTL */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

/* רקע נשי רך */
body {
    font-family: "Varela Round", sans-serif;
    background: rgb(247, 240, 240);
    /* ⬅⬅⬅ כמו שביקשת */
    color: #3b2b23;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
}

/* מעטפת כללית */
.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* כותרת עליונה */
.top-header {
    background: #fff;
    border-bottom: 1px solid #e5d7d2;
    padding: 10px 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.logo-title {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #c9a18f, #e8c7b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 800;
    font-size: 18px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 700;
    font-size: 18px;
    color: #6a4b3c;
}

.logo-sub {
    font-size: 13px;
    color: #8a6f63;
}

/* אזור התוכן */
.content-wrapper {
    flex: 1;
    padding: 18px;
}

/* כרטיס הדף */
.policy-card {
    max-width: 980px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    padding: 26px 22px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid #f0e6e2;
}

/* כותרת ראשית */
.policy-header h1 {
    font-size: 28px;
    margin: 0 0 8px 0;
    color: #6a4b3c;
    /* חום נשי */
}

.policy-updated {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #8a6f63;
}

.policy-intro {
    margin: 0 0 8px 0;
    font-size: 15.5px;
    color: #4d3a2e;
}

/* כותרות סעיפים */
.policy-section {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #eaded8;
}

.policy-section:first-of-type {
    border-top: none;
    padding-top: 8px;
}

.policy-section h2 {
    font-size: 21px;
    margin: 0 0 10px 0;
    color: #6a4b3c;
}

.policy-section h3 {
    font-size: 17px;
    margin: 16px 0 6px;
    color: #8a6f63;
}

/* טקסט ורשימות */
.policy-section p {
    margin: 0 0 8px 0;
    font-size: 15.5px;
}

.policy-section ul {
    margin: 0 0 10px 0;
    padding-right: 22px;
}

.policy-section li {
    margin-bottom: 5px;
    font-size: 15.5px;
    color: #4d3a2e;
}

/* קישורים */
a {
    color: #c48d6a;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

/* URL */
.url {
    direction: ltr;
    unicode-bidi: bidi-override;
    display: inline-block;
    font-size: 14px;
    color: #6a4b3c;
}

/* פוטר */
.page-footer {
    border-top: 1px solid #e5d7d2;
    padding: 12px 16px 16px;
    background-color: #ffffff;
    text-align: center;
    font-size: 14px;
    color: #8a6f63;
    margin-top: 20px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

/* רספונסיביות */
@media (max-width: 599.9px) {
    .policy-card {
        padding: 20px 14px 24px;
        border-radius: 14px;
    }

    .policy-header h1 {
        font-size: 22px;
    }

    .policy-section h2 {
        font-size: 18px;
    }

    .policy-section h3 {
        font-size: 16px;
    }

    .policy-section p,
    .policy-section li {
        font-size: 14px;
    }
}

/* מסכים גדולים */
@media (min-width: 768px) {
    .content-wrapper {
        padding: 32px 20px 28px;
    }

    .policy-card {
        padding: 28px 32px 34px;
        border-radius: 22px;
    }

    .policy-header h1 {
        font-size: 30px;
    }

    .policy-section h2 {
        font-size: 22px;
    }

    .policy-section h3 {
        font-size: 18px;
    }
}

a {
    text-decoration: none !important;
}

.backToHomePage span:hover {
    text-decoration: underline !important;
}