
* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    font-family: "Almarai", sans-serif;
    font-weight: 700;
    line-height: 25px;
    overflow-x: hidden;
    display: flex;
    flex-flow: column;
    direction: rtl;
}

body {
    position: relative;
    margin-bottom: 100px;
}

body.menu-open {
    position: fixed;
    width: 100%;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    font-weight: inherit;
    line-height: inherit;
    margin: 0px;
}

h1 {
    font-size: 25px;
    line-height: 32px;
}

h2 {
    font-size: 19px;
    line-height: 25px;
}

h2.title-3 {
    max-height: 75px;
    overflow: hidden;
}

body {
    overflow-x: hidden !important;
    color: #000;
    background-color: #F3F3F3;
}

.darkmode {
    background-color: #010101;
}

a {
    color: inherit;
    text-decoration: unset;
}

.layout-ratio{
    width: 100%;
    position: relative;
    padding-bottom: 67%;
    height: 0px;
    overflow: hidden;
}
.layout-ratio img{
    position: absolute;
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    object-fit: cover;
    max-width: 100%;
    background-color: #ffffff;
}

/** Article Component **/
.article{
    width: 100%;
    padding: 0 10px;
    display: block;
    text-align: right;
    direction: rtl;
    position: relative;
}

.article .layout-ratio {
    padding-bottom: 48%;
}

.article .article-wrapper {
    background-color: #FFFFFF;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 4px 4px 0px #0000000A;
    border-bottom: 1px solid #E2E2E2
}

.darkmode .article .article-wrapper {
    background: #1E1E1E;
    border-color: #383838;
}

.article .article-image-container{
    width: 100%;
    position: relative;
    box-shadow: 0px 4px 4px 0px #0000000A;
}

.article .article-image img {
    width: 100%;
    height: 100%; 
    margin-right: 0;
    padding: 0;
    display: block;
    position: absolute;
    margin-top: 0px;
    object-fit: cover;
}
.article .article-section{
    position: absolute; 
    bottom: 0; 
    font-size: 20px;
    font-weight: 700;
    padding-right: 10px;
    color: #DF1D22;
    font-size: 13px;
    line-height: 30px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 21.5%, #FFFFFF 70%);
    width: 180px;
}

.article .article-title{
    font-family:'Almarai', sans-serif; 
    font-weight: 800; 
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    padding-right: 19px;
    padding-left: 19px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}
.article .article-text{
    padding-top: 20px;
}

.darkmode .article .article-title{
    color: #FFFFFF;
}

.article .article-footer {
    margin-top: 15px;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding: 0 19px;
}

.article .article-date {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
    color: #818181;
}

.article .add-bookmark-button path {
    fill: none;
}

.darkmode .article .add-bookmark-button path {
    fill: none;
}

.bookmarked .add-bookmark-button path {
    fill: #ffac4a;
    stroke: #ffac4a;
}

.article .share-button, .article .add-bookmark-button {
    line-height: 0;
}

.share-links {
    margin: 0;
    padding: 0 10px;
    position: absolute;
    z-index: 999;
    top: 101%;
    right: 20px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px #00000059;
    border-radius: 5px;
}

.share-links > li {
    display: inline-block;
    padding: 5px;
    vertical-align: middle;
}

.share-links > li > a > svg {
    display: inline-block;
    vertical-align: middle;
}

.text-copied-message {
    position: absolute;
    white-space: nowrap;
    padding: 5px 10px;
    margin: 0;
    position: absolute;
    z-index: 999;
    top: 110%;
    right: 20px;
    background: #FFF;
    box-shadow: 0px 4px 4px 0px #00000059;
    border-radius: 5px;
    font-size: 13px;
}

.darkmode .share-links {
    background: #000;
    color: #FFF;
}

.darkmode .text-copied-message {
    background: #000;
}

[v-cloak] {
    display: none !important;
}
/** /Article Component **/