/* Reset בסיסי */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Alef', sans-serif;
    background: #f5f7fa;
    color: #1c1c1c;
    direction: rtl;
    line-height: 1.6;
}

/* Header + Footer */
header, footer {
    background: #004aad;
    color: white;
    padding: 20px;
    text-align: center;
}

h1 {
    font-size: 32px;
    font-weight: bold;
}

nav a {
    color: white;
    margin: 0 10px;
    text-decoration: underline;
}

/* Main */
main {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
}

/* שאלות בפורום */
.forum-questions {
    margin-top: 30px;
}

/* קוביה של שאלה */
.show_question {
    background: #ffffff;
    border: 1px solid #dcdcdc;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    overflow: hidden;
}

/* כותרת שאלה */
.gray-bg {
    background: #f0f2f5;
}

.opener {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    transition: background 0.3s;
}

.opener:hover {
    background: #e6e9ee;
}

.klap {
    display: flex;
    align-items: center;
}

.coat {
    display: flex;
    align-items: center;
}

.alg {
    color: #004aad;
    font-size: 22px;
    margin-left: 10px;
}

/* טקסט כותרת */
.fs-18 {
    font-size: 20px;
    font-weight: 600;
    color: #004aad;
}

/* חץ */
.forum_arr {
    width: 24px;
    height: 24px;
    background-image: url('arrow-down.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

/* סיבוב חלק של החץ */
.forum_arr.open {
    transform: rotate(180deg);
}

/* תוכן שאלה */
.mainit {
    background: #ffffff;
    padding: 20px;
    display: none;
}

/* גוף השאלה */
.text-end {
    text-align: right;
}

.content p {
    margin-bottom: 10px;
    font-size: 18px;
}

/* תשובה */
.answer-section {
    margin-top: 30px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.answer-title {
    font-weight: bold;
    font-size: 20px;
    color: #004aad;
    margin-bottom: 10px;
}

.answer-body {
    font-size: 18px;
}

/* קופסת מנהל פורום */
.forum-manager-card {
    margin-top: 30px;
    background: #f0f2f5;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.forum-prfl-img img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.manager-name {
    font-weight: bold;
    font-size: 20px;
}

.manager-title {
    font-size: 18px;
    color: #004aad;
    margin-bottom: 10px;
}

.forum-manager-card p {
    margin-bottom: 5px;
    font-size: 16px;
}

.disclaimer {
    font-size: 14px;
    color: #777;
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

/* ניווט פשוט עמודים */
.pagination-simple {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 18px;
}

.pagination-simple a {
    background: #004aad;
    color: white;
    padding: 8px 16px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s;
}

.pagination-simple a:hover {
    background: #003080;
}

.pagination-simple .disabled {
    background: #ccc;
    color: #666;
    padding: 8px 16px;
    border-radius: 5px;
}

.pagination-simple .current-page {
    font-weight: bold;
    font-size: 20px;
}

/* מובייל */
@media (max-width: 768px) {
    main {
        padding: 10px;
    }

    .opener {
        flex-direction: column;
        align-items: flex-start;
    }

    .forum-prfl-img img {
        width: 90px;
        height: 90px;
    }
}
