/* Custom styling for Arabic Articles - Does not affect English */
.arabic-article {
    direction: rtl;
    text-align: right;
    font-family: Arial, sans-serif;
    line-height: 1.8;
    color: #333;
    display: block;
    width: 100%;
}

.arabic-article h1 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.arabic-article h3 {
    text-align: center;
    font-size: 1.5em;
    color: #555;
    margin-bottom: 30px;
}

.arabic-article .img-left {
    float: left;
    margin: 5px 20px 15px 0px; /* Space around the image */
    max-width: 40%;
    height: auto;
    border-radius: 5px;
}

.arabic-article .img-right {
    float: right;
    margin: 5px 0px 15px 20px; /* Space around the image */
    max-width: 40%;
    height: auto;
    border-radius: 5px;
}

/* Clearfix to prevent layout breaking */
.arabic-article .row-block {
    overflow: hidden;
    margin-bottom: 25px;
}



/* Mirroring the DNN Theme Layout for Arabic */
.arabic-custom-layout {
    direction: rtl;
    text-align: right;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px; /* Increased width as requested */
    margin: 0 auto;
    padding: 40px 20px;
    color: #333;
}

.arabic-custom-layout .article-header {
    text-align: center;
    margin-bottom: 50px;
}

.arabic-custom-layout .content-wrapper {
    display: flex;
    flex-direction: row-reverse; /* Flips text to right, images to left */
    align-items: flex-start;
    gap: 50px;
}

.arabic-custom-layout .text-column {
    flex: 1.5; /* Makes text area wider */
}

.arabic-custom-layout .image-column {
    flex: 1;
    position: relative;
    min-height: 400px;
}

/* The "Floating/Overlapping" Image Style from your photo */
.arabic-custom-layout .main-img {
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.arabic-custom-layout .overlap-img {
    position: absolute;
    bottom: -30px;
    right: -20px; /* Offset to create that DNN theme look */
    width: 70%;
    border: 8px solid #fff;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.arabic-custom-layout h1 {
    font-size: 36px;
    color: #222;
    margin-bottom: 20px;
}

.arabic-custom-layout .accent-text {
    color: #d1a456; /* Gold/Bronze accent color from your theme */
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.arabic-custom-layout .btn-accent {
    display: inline-block;
    padding: 10px 25px;
    border: 1px solid #d1a456;
    color: #d1a456;
    text-decoration: none;
    margin-top: 20px;
    transition: 0.3s;
}

.arabic-custom-layout .btn-accent:hover {
    background: #d1a456;
    color: #fff;
}

