/* News Card Box – styles */
.ncb-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
    padding: 16px;
    max-width: 960px;
    margin: 0 auto 24px;
}

.ncb-img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
}

.ncb-body {
    flex: 1
}

.ncb-title {
    margin: 0 0 4px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #111;
}

.ncb-meta {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
    color: #757575;
}

.ncb-summary {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
}

.ncb-source {
    font-size: 14px;
    font-weight: 600;
    color: #1a73e8;
    text-decoration: none;
}

.ncb-source:hover {
    text-decoration: underline
}

@media(max-width:600px) {
    .ncb-card {
        flex-direction: column
    }

    .ncb-img img {
        width: 100%;
        height: auto
    }
}

.ncb-tabs {
    display: flex;
    margin-bottom: 16px;
    justify-content: center;
}

.ncb-tab-button {
    padding: 10px 20px;
    border: none;
    background-color: #f1f1f1;
    cursor: pointer;
    margin-right: 4px;
    font-weight: bold;
}

.ncb-tab-button.active {
    background-color: #1a73e8;
    color: white;
}

.ncb-tab-content {
    display: none;
}

.ncb-tab-content.active {
    display: block;
}

.ncb-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    margin-top: 0px !important;
    position-area: center;
}

.ncb-modal-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 800px;
    max-height: 90%;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    box-sizing: border-box;
}

.ncb-modal-close {
    /* position: absolute;
    top: 10px;
    right: 20px; */
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    float: right;
    margin-top: -18px;
}

.ncb-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ncb-carousel-slide {
    width: 100%;
    text-align: center;
}

.ncb-carousel-slide img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ncb-carousel-prev,
.ncb-carousel-next {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 32px;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s;
}

.ncb-carousel-prev:hover,
.ncb-carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.ncb-carousel-prev {
    position: absolute;
    left: 0;
}

.ncb-carousel-next {
    position: absolute;
    right: 0;
}