/* =========================================
   Daily MBA News Digest – Final Styles
   ========================================= */

/* Wrapper */
.dnd-wrapper {
    max-width: 1140px;
    margin: 0 auto;
}

/* =========================================
   Header (Title + PDF + Archive)
   ========================================= */

.dnd-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    margin-bottom: 32px;
}

.dnd-header-left {
    flex: 1;
}

.dnd-header-right {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Title */
.dnd-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

/* PDF Button */
.dnd-pdf-btn {
    align-self: flex-start;
    padding: 10px 18px;
    background-color: #0b5ed7;
    color: #ffffff;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    white-space: nowrap;
}

.dnd-pdf-btn:hover {
    background-color: #084298;
}

/* =========================================
   Section Headings
   ========================================= */

.dnd-wrapper h3 {
    margin-top: 36px;
    margin-bottom: 20px;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

/* =========================================
   News Item Card
   ========================================= */

.dnd-item {
    display: flex;
    gap: 22px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #eaeaea;
}

/* Image */
.dnd-thumb {
    flex: 0 0 220px;
}

.dnd-thumb img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Content */
.dnd-content {
    flex: 1;
}

.dnd-content strong a {
    font-size: 18px;
    line-height: 1.45;
    color: #0b5ed7;
    text-decoration: none;
}

.dnd-content strong a:hover {
    text-decoration: underline;
}

.dnd-content p {
    margin: 10px 0 8px;
    line-height: 1.65;
    color: #333;
    font-size: 15px;
}

/* Interview Angle */
.dnd-angle {
    font-size: 13px;
    color: #666;
    font-style: italic;
    margin-top: 6px;
}

/* =========================================
   Archive Widget (Right Side)
   ========================================= */

.dnd-archive-container {
    width: 100%;
}

.dnd-archive-widget {
    background: #f9fafb;
    padding: 16px 18px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.dnd-archive-widget h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
}

.dnd-archive-widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dnd-archive-widget li {
    margin-bottom: 8px;
}

.dnd-archive-widget a {
    font-size: 14px;
    color: #0b5ed7;
    text-decoration: none;
}

.dnd-archive-widget a:hover {
    text-decoration: underline;
}

.dnd-view-all {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* =========================================
   Mobile Responsiveness
   ========================================= */

@media (max-width: 992px) {
    .dnd-header {
        flex-direction: column;
        gap: 16px;
    }

    .dnd-header-right {
        width: 100%;
    }
}

@media (max-width: 768px) {

    .dnd-title {
        font-size: 24px;
    }

    .dnd-item {
        flex-direction: column;
    }

    .dnd-thumb {
        width: 100%;
        flex: none;
    }

    .dnd-thumb img {
        width: 100%;
        height: auto;
    }
}
