.svr-wrap {
    display: block !important;
    position: relative;
    max-width: 1200px !important;
    width: auto !important;
    margin: 0 auto !important;
}

.svr-track {
    display: flex;
    gap: 20px;
    /* overflow-x: hidden looked right but silently blocks ALL scrolling —
       Chrome does not let script (scrollLeft/scrollBy) or touch scroll an
       "overflow: hidden" element, so the arrows never actually moved the
       track. auto + a hidden scrollbar keeps the same look while scrolling
       for real. */
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* old Edge/IE */
    scroll-behavior: smooth;
}
.svr-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.svr-arrow-prev {
    position: absolute !important;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.svr-arrow-next {
    position: absolute !important;
    right: -16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.svr-arrow[hidden] {
    display: none !important;
}

.svr-card {
    flex: 0 0 285px;
    width: 285px;
    background-color: rgb(250, 250, 250);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0);
    padding: 24px;
    box-sizing: border-box;
    font-family: Arial, Helvetica, Verdana, sans-serif;
}

.svr-author-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.svr-author-name {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: rgb(17, 17, 17) !important;
    text-decoration: underline !important;
}
a.svr-author-name {
    display: inline-block;
}

.svr-verified-badge {
    flex-shrink: 0;
}

.svr-info-row {
    font-size: 12px;
    margin-bottom: 12px;
}

.svr-date {
    color: rgba(17, 17, 17, 0.5);
}

.svr-on {
    color: rgba(17, 17, 17, 0.5);
}

.svr-source-link {
    color: rgb(28, 145, 255);
    text-decoration: none;
}
.svr-source-link:hover {
    text-decoration: underline;
}

.svr-rating {
    display: flex;
    gap: 2px !important;
    margin-bottom: 12px;
}

.svr-title {
    font-size: 13px;
    font-weight: 700;
    color: rgb(17, 17, 17);
    line-height: 19px !important;
    display: block;
    margin: 0;
}

.svr-body-text {
    font-size: 13px;
    font-weight: 400;
    color: rgb(17, 17, 17);
    line-height: 19px !important;
}

.svr-clamp-container {
    display: block;
}

.svr-clamp-container.svr-clamped {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 7 !important;
    overflow: hidden !important;
}

.svr-read-more[hidden] {
    display: none !important;
}
.svr-read-more,
.svr-read-more:hover,
.svr-read-more:focus,
.svr-read-more:active,
.svr-read-more:visited {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Arial, Helvetica, Verdana, sans-serif !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 19px !important;
    color: rgba(17, 17, 17, 0.5) !important;
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: underline !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    cursor: pointer;
}

.svr-arrow {
    flex-shrink: 0;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px;
    min-height: 32px;
    max-width: 32px;
    max-height: 32px;
    padding: 0 !important;
    margin: 0;
    border-radius: 50% !important;
    border: none;
    background-color: rgba(17, 17, 17, 0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    line-height: 1;
}
.svr-arrow:hover {
    background-color: rgba(17, 17, 17, 0.7);
}
.svr-arrow svg {
    width: 16px;
    height: 16px;
}

/* Elfsight's own mobile widget shows exactly one full-width card at a time
   (no partial second card), measured directly off the live widget at
   scrumviet.com/khoa-hoc-applying-professional-scrum-aps/. Without this,
   the fixed 285px card width below leaves two partial cards squeezed into
   one row on narrow screens. .svr-wrap is inset (not edge-to-edge) so the
   arrows' -16px offset lands in this whitespace instead of being clipped
   by body's overflow-x: hidden. */
@media (max-width: 640px) {
    .svr-wrap {
        max-width: calc(100% - 40px) !important;
    }
    .svr-card {
        flex: 0 0 100%;
        width: 100%;
    }
}

.svr-modal-overlay[hidden] {
    display: none !important;
}
.svr-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.svr-modal {
    position: relative;
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    max-width: 600px !important;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    font-family: Arial, Helvetica, Verdana, sans-serif;
}

.svr-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    box-shadow: none !important;
    font-size: 28px;
    line-height: 1;
    color: rgba(17, 17, 17, 0.5);
    cursor: pointer;
}
.svr-modal-close:hover {
    color: rgb(17, 17, 17);
}

.svr-modal #svr-modal-title {
    margin-bottom: 8px;
}

.svr-modal #svr-modal-body {
    white-space: pre-wrap;
}
