/* Reset and base */
@font-face {
    font-family: 'Montserrat Armenian';
    src: url('../fonts/web_font/Montserratarm-Regular.woff2') format('woff2'),
        url('../fonts/web_font/Montserrat-Armenian-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian bold';
    src:
        url('../fonts/web_font/Montserratarm-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian semiBold';
    src:
        url('../fonts/web_font/Montserratarm-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat Armenian light';
    src:
        url('../fonts/web_font/Montserratarm-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat Armenian';
    line-height: 1.6;
    background-color: #FFFFFF;
    max-width: 100%;
    overflow-x: hidden;
}

main {
    padding: 7.5% 4%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    width: 100%;
    align-items: stretch;
}


/* News Column */
.news-column {
    flex: 0 0 60%;
    max-width: 60%;
}

/* News heading style */
.news-heading {
    font-size: 24px;;
    color: #833F6D;
    margin-bottom: 20px;
    font-family: 'Montserrat Armenian semiBold';

}

/* News cards container */
.news-group-card {
    padding-right: 20px;
}

/* Each news card */
.news-card {
    background-color: #F9F9F9;
    box-shadow: 1.84px 1.84px 1.84px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    height: 160px;
    overflow: hidden;
}

.news-card:hover {
    box-shadow: 0 5px 15px rgba(131, 63, 109, 0.3);
}

/* News image */
.news-card img {
    box-shadow: 1.84px 1.84px 1.84px rgba(0, 0, 0, 0.05);
    width: 180px;
    height: 167px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Content next to image */
.news-content {
    padding-left: 20px;
    padding-right: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Title */
.title {
    font-size: 13px;
    font-family: 'Montserrat Armenian light';
    color: #151515;
    margin-bottom: 8px;
}

/* Description */
.description {
    font-size: 10px;
    color: #6C6C6C;
    line-height: 170%;
    margin-bottom: 10px;

}

.readMore {
    text-decoration: none;
    color: inherit;
}

.readMore p {
    color: #833F6D;
    font-family: 'Montserrat Armenian semiBold';
    font-size: 11px;
    margin: 0;
    text-decoration: none;
}

.readMore:hover {
    text-decoration: none;
}

.readMore:hover p {
    color: #B760A5;
    text-decoration: none;
}

/* Date */
.news-date {
    font-size: 9px;
    color: #AFAFAF;
    font-family: 'Montserrat Armenian light';
    position: absolute;
    bottom: -3px;
    right: 12px;
}

/* Pagination container */
.pagination-container {
    margin-bottom: 50px;
}


/* Pagination styles */
.pagination {
    display: flex;
    list-style: none;
    gap: 10px;
    padding-left: 0;
    flex: 0 0 60%;
    max-width: 60%;
    justify-content: center;
}

.pagination li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.pagination li a,
.pagination li span {
    color: #8c6a8a;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    height: 100%;
    padding: 20% 38%;
    margin-left: -1px;
    line-height: 18px;
    border-radius: 50%;
    user-select: none;
}

.pagination li.active span {
    background-color: #833F6D;
    color: #fff;
    cursor: default;
}

.pagination li.disabled span {
    cursor: not-allowed;
    background-color: #FFFFFF;

}

.pagination li.disabled span:hover {
    background-color: #fdfcff;
    box-shadow: none;
}

.pagination li.disabled span {
    font-size: 16px;
    color: #6C6C6C;
}

.pagination li:first-child a,
.pagination li:last-child a {
    font-weight: 600;
    font-size: 20px;
    user-select: none;
}

/* Modal Overlay */
.custom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Modal Content Frame */
.custom-modal-content {
    background-color: #262626;
    padding: 20px;
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    position: relative;
}

/* Close Button */
.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Video Container */
.custom-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 20px;
    margin-top: 30px;
}

.video-wrapper iframe {
    width: 90%;
    height: 50vh;
    border: none;
    border-radius: 25px;
    background: #000;
}

/* Title under video */
.custom-modal-title {
    font-size: 14px;
    color: #FFFFFF;
    font-family: 'Montserrat Armenian semiBold';
    text-align: start;
    width: 70%;
    margin-left: 60px;
    margin-bottom: 70px;

}

/* Decorative SVG in corner */
.videoLogo {
    position: absolute;
    bottom: 48px;
    right: 40px;
    width: 140px;
    height: auto;
}

/* Right column styles */
.ads-column {
    flex: 0 0 20%;
    display: flex;
    flex-direction: column;
    max-width: 20%;
    justify-content: space-between;

}

.side-ad-banner {
    flex: 0 0 5%;
    display: flex;
    flex-direction: column;
    max-width: 20%;
    justify-content: space-between;
    margin-left: 20px;
    margin-top: 45px;

}
.side-ad-banner img {
    border-radius: 16px;
}




.ads-right-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ad-box {
    width: 313px;
    height: 516px;
    overflow: hidden;
    border-radius: 12px;
    margin-top: 19%;
    margin-left: 4%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.ad-box a {
    display: none;
}
.ad-box a:first-child {
    display: block;
}

.ad-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

/* Section title */
.section-title {
    font-size: 24px;
    color: #833F6D;
    margin-bottom: 20px;
    font-family: 'Montserrat Armenian semiBold';
}

/* Video slider wrapper */
.slider-wrapper {
    overflow: hidden;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    border-left: 1.5px solid #EAEAEA;
    padding-left: 20px;

}

/* Track vertically stacked */
.slider-track {
    flex-grow: 0.85;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    background-color: #F9F9F9;
    padding: 18px 15px;
    justify-content: space-between;

}

.ad-items {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Each video card */
.video-card {
    align-items: center;
    cursor: pointer;
    transition: box-shadow 0.3s ease;
}

.videoTitle {
    color: #3C3C3C;
    font-size: 12px !important;
    font-family: 'Montserrat Armenian semiBold' !important;
}

.video-thumb {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 170px;
    overflow: hidden;
    border-radius: 12px;
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Play button centered */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40px;
    color: white;
    pointer-events: none;
}

/* Video title */
.video-card p {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    margin-top: 8px;
}

.ad-items {
    margin-right: 0;
    margin-top: 6%;
}

/* Ad item */
.ad-item img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Responsive */
@media (min-width: 1200px) {
    .container {
        width: 100%;
    }
}

@media (max-width: 992px) {
    @media (max-width: 992px) {
        main {
            flex-direction: column;
        }

        .news-column,
        .ads-column,
        .ad-items {
            max-width: 100%;
            flex: 1 1 100%;
        }
    }

    .video-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .video-thumb {
        width: 100%;
        height: auto;
    }
}