/* 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: 646px;
    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-top: 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;
}

.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;
}
.contactSocialIcons i {
    font-size: 14px;
}
@media (max-width: 768px) {
    .mainImage {
        height: 400px; /* Tablet */
    }
}

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