.ndnr-md-container {
    width: 100%;
    margin: 20px 0;
    font-family: inherit;
    box-sizing: border-box;
}

/* Hero Grid */
.ndnr-md-hero {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    height: 608px;
}

.ndnr-md-hero-primary {
    flex: 0 0 456px !important;
    width: 456px !important;
    height: 608px;
    background: #f0f0f0;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -17px 14px rgba(0, 0, 0, 0.1);
}

.ndnr-md-featured-image img {
    width: 456px;
    height: 608px;
    object-fit: cover;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ndnr-md-hero-side {
    flex: 1;
    height: 608px;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-sizing: border-box;
}

.ndnr-md-post-list {
    list-style: none !important;
    padding: 0;
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ndnr-md-post-list li {
    margin-bottom: 0;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.ndnr-md-post-list li:last-child {
    border-bottom: none;
}

.ndnr-md-post-list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ndnr-md-title,
.entry-title {
    margin: 0 0 5px 0;
    font-size: 1.15rem;
    line-height: 1.3;
    font-weight: 700;
    color: #000000;
    display: block;
    transition: color 0.3s ease;
}

.ndnr-md-post-list a:hover .entry-title,
.ndnr-md-post-list a:hover .ndnr-md-title {
    color: #0079C2;
}

.ndnr-md-side-excerpt {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    margin-top: 5px;
}

.ndnr-md-author {
    color: #0079C2;
    font-weight: 300;
    text-decoration: underline;
}

.ndnr-md-toc {
    position: absolute;
    bottom: 0;
    right: 0;
}

.ndnr-md-toc a {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--ndnr-accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

/* Archive Row */
.ndnr-md-archive-strip {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    padding: 0 0 20px 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.ndnr-md-archive-strip::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.ndnr-md-archive-item {
    flex: 0 0 184px;
    display: flex;
    justify-content: center;
    transition: transform 0.3s ease;
}

.ndnr-md-archive-item.is-active img {
    border: 3px solid var(--ndnr-accent-color);
}

.ndnr-md-archive-item.is-active .ndnr-md-archive-title {
    color: var(--ndnr-accent-color) !important;
}

.ndnr-md-archive-item.is-loading {
    opacity: 0.6;
    cursor: wait;
}

.ndnr-md-archive-item a {
    text-decoration: none;
    display: block;
}

.ndnr-md-archive-item img {
    width: 184px;
    height: 245px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    margin-bottom: 10px;
    transition: filter 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ndnr-md-archive-item:hover img {
    filter: brightness(0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: -5px 5px rgba(0, 0, 0, 0.1);
}

.ndnr-md-archive-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    color: #0079C2 !important;
    line-height: 1.2;
}

.ndnr-md-archive-placeholder {
    width: 184px;
    height: 245px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.85rem;
    padding: 15px;
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .ndnr-md-hero {
        flex-direction: column;
        height: auto;
    }

    .ndnr-md-hero-primary {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto;
    }

    .ndnr-md-featured-image img {
        width: 100%;
        height: auto;
    }

    .ndnr-md-hero-side {
        padding-left: 0;
        height: auto;
        margin-top: 30px;
    }

    .ndnr-md-post-list {
        height: auto;
        gap: 20px;
    }

    .ndnr-md-post-list li {
        padding-bottom: 20px;
    }

    .ndnr-md-toc {
        position: relative;
        text-align: right;
        margin-top: 30px;
    }

    .ndnr-md-archive-strip {
        overflow-x: auto;
        scrollbar-width: auto;
    }

    .ndnr-md-archive-strip::-webkit-scrollbar {
        display: block;
        height: 6px;
    }
}