/**
 * MeroSath Story Linker - Frontend Stylesheet
 */

.merosath-story-box {
    margin: 18px 0 22px;
    padding: 12px 16px;
    background-color: #f8fbfd;
    border: 1px solid #dce8f2;
    border-left: 3px solid #1769aa;
    border-radius: 4px;
    font-family: inherit;
    box-sizing: border-box;
}

.merosath-story-box-title {
    margin: 0 0 8px 0;
    font-size: 13px;
    font-weight: 700;
    color: #1769aa;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

.merosath-story-box-title svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    flex-shrink: 0;
}

.merosath-story-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.merosath-story-item {
    margin: 6px 0;
    font-size: 14px;
    line-height: 1.5;
}

.merosath-story-link {
    color: #1a4f78;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease-in-out;
}

.merosath-story-link:hover,
.merosath-story-link:focus {
    color: #0b3d66;
    text-decoration: underline;
}

.merosath-story-date {
    display: inline-block;
    margin-left: 8px;
    font-size: 11px;
    color: #788a99;
}

.merosath-story-box-previous {
    border-left-color: #1769aa;
    background-color: #f8fbfd;
}

.merosath-story-box-previous .merosath-story-box-title {
    color: #1769aa;
}

.merosath-story-box-updates {
    border-left-color: #2463a6;
    background-color: #f4f8fc;
}

.merosath-story-box-updates .merosath-story-box-title {
    color: #2463a6;
}

@media (max-width: 767px) {
    .merosath-story-box {
        margin: 14px 0 18px;
        padding: 10px 14px;
    }
    .merosath-story-item {
        font-size: 13.5px;
    }
    .merosath-story-date {
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }
}
