* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #20B2AA;
    --secondary-color: #16A085;
    --accent-color: #F5F5DC;
    --text-color: #2C3E50;
    --light-bg: #FAFAFA;
    --white: #FFFFFF;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --sidebar-width: 280px;
    --sidebar-bg: linear-gradient(135deg, #20B2AA 0%, #16A085 100%);
    --sidebar-link-color: rgba(255, 255, 255, 0.8);
    --sidebar-link-hover-bg: rgba(255, 255, 255, 0.2);
    --sidebar-link-active-color: white;
}

body {
    font-family: 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    direction: rtl;
    overflow-x: hidden;
    transition: margin-right 0.4s ease;
    background-color: beige;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 3rem;
}

h2 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

h3 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 2rem;
}

h4 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h5 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

h6 {
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.post-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px 0;
}

.post-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.post-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    word-break: break-all;
}

.post-meta {
    color: #666;
    font-size: 0.95rem;
}

.post-meta span {
    margin-left: 1rem;
}

.post-media {
    text-align: center;
    margin: 2rem 0;
}

.post-media img,
.post-media video {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.post-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.btnCopy {
    position: relative;
    padding: 10px 22px;
    border-radius: 6px;
    border: none;
    color: #fff;
    cursor: pointer;
    background-color: #20b2aa;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.btnCopy:active {
    transform: scale(0.96);
}

.btnCopy:before,
.btnCopy:after {
    position: absolute;
    content: "";
    width: 150%;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
    z-index: -1000;
    background-repeat: no-repeat;
}


@font-face {
    font-family: 'YourCustomFont';
    src: url('../font/alfont_com_AlFont_com_Segoe.UI_DownloadSoftware.iR_.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}


.contFont {
    font-family: 'YourCustomFont' !important;
    font-size: 1.2rem;
    font-weight: 400;
    text-align: justify;

}