/* Main */
.mainContainer {
    margin-top: calc(170 / 16 * 1rem);
    margin-bottom: calc(103 / 16 * 1rem);
}

.newsHeader {
    margin-bottom: 30px;
}

.title {
    font-size: calc(48 / 16 * 1rem);
    font-weight: bold;
    color: var(--main);
    margin-bottom: calc(30 / 16 * 1rem);
}

.subtitle {
    font-size: calc(20 / 16 * 1rem);
    margin-bottom: calc(48 / 16 * 1rem);

    color: var(--text);
    max-width: 1000px;
}

/* Image */
.mainImage {
    width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 40px;
    object-fit: cover;
    display: block;
    margin-bottom: 50px;
}

.newsTitle {
    font-size: calc(30 / 16 * 1rem);
    color: var(--main);
    margin-bottom: calc(24 / 16 * 1rem);
}

.newsDesc {
    font-size: calc(24 / 16 * 1rem);
    color: var(--text);
    margin-bottom: calc(40 / 16 * 1rem);

    font-weight: 400;
    line-height: 32px;
}

/* Social Share */
.shareSection {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share {
    font-size: calc(24 / 16 * 1rem);
    color: var(--main);
}

.contactSocialIcons {
    display: flex;
    gap: 10px;
}

.contactIconLink {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.contactIconLink:hover {
    transform: scale(1.1);
}

/* Colors */
.bgFacebook {
    background-color: #1877f2;
}

.bgTwitter {
    background-color: #1da1f2;
}

.bgInstagram {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.bgLinkedin {
    background-color: #0a66c2;
}

.bgWhatsapp {
    background-color: #25d366;
}

/* Sidebar */
.sidebarTitle {
    color: var(--main);
    font-weight: bold;
    margin-bottom: 20px;
}

.sideCard {
    position: relative;
    margin-bottom: 15px;
    border-radius: 24px;
    overflow: hidden;
}

.sidebar-card-link {
    cursor: pointer;
}

.side-card-link-indicator {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.92);
    color: #1d3557;
    font-size: 0.85rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s ease, background-color 0.3s ease;
    pointer-events: none;
}

.sideCard img {
    width: 100%;
    height: 233px;
    object-fit: cover;
}

.sideCardOverlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    padding: 10px;
}

.sidebar-card-link:hover .side-card-link-indicator {
    transform: translateY(-2px) scale(1.08);
    background: #ffffff;
}

html:lang(ar) .side-card-link-indicator {
    right: auto;
    left: 0.85rem;
}

.contactSocialIcons i {
    font-size: 14px;
}
@media (max-width: 768px) {
    .mainImage {
        height: 400px; /* Tablet */
    }
}

@media (max-width: 576px) {
    .mainImage {
        height: 300px; /* Mobile */
    }
}

.related-news {
    color: var(--main);
    text-align: center;
    font-size: calc(60 / 16 * 1rem);
    margin-bottom: calc(24 / 16 * 1rem);
}

/* sharebuttons */

.social_icon a {
    color: #fff;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    border-radius: 100%;
    transition: all 0.3s ease;
}

.social_icon .whats {
    background-color: #29a71a;
}

.social_icon .whats:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .snapchat {
    background-color: #d4bd06;
}

.snapchat .whats:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .youtube {
    background-color: rgb(255 0 51);
}

.social_icon .youtube:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .facebook {
    background-color: rgb(24 119 242);
}

.social_icon .facebook:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .insta {
    background-color: rgb(254 51 99);
}

.social_icon .insta:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

button.copy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s ease;
}

button.copy-link:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

/* Email button */
a.email {
    background-color: #d44638;
    /* Gmail-like red */
}

a.email:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .twitter {
    background-color: rgb(0, 0, 0);
}

.social_icon .twitter:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .linkedin:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.social_icon .linkedin {
    background-color: rgb(0 122 185);
}

a.email:hover {
    opacity: 0.7;
    transform: translate(0, -5px);
}

.faqs-question:lang(ar) {
    text-align: right;
}

.faqs-question:lang(en),
.faqs-question:lang(fr),
.faqs-question:lang(ru) {
    text-align: left;
}

/* Copy link button */
button.copy-link {
    background-color: #333;
    border: none;
    cursor: pointer;
}

button.copy-link:hover {
    background-color: #555;
}
