/**
 * Stylesheet for blocks in the VastFields - ACF plugin admin panel.
 */

/**
 * Styles for block preview.
 */
.bs-core-block-prew {
    box-sizing: border-box;
    padding: 16px 20px;
    border: 1px solid #dcdcde;
    border-left: 3px solid #2271b1;
    border-radius: 4px;
    background: #f6f7f7;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.bs-core-block-prew-main {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.bs-core-block-prew-main-image {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bs-core-block-prew-main-image img {
    width: 32px;
    height: 32px;
    display: block;
}

.bs-core-block-prew-main-image svg {
    width: 32px;
    height: 32px;
    display: block;
}

.bs-core-block-prew-main-descr {
    flex: 1;
    min-width: 0;
}

.bs-core-block-prew-main-descr h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d2327;
    line-height: 1.3;
    margin-bottom: 5px;
}

.bs-core-block-prew-main-descr p {
    margin: 0;
    font-size: 13px;
    color: #50575e;
    line-height: 1.5;
    text-align: left;
}

.bs-core-block-prew-main-authors {
    border-top: 1px solid #dcdcde;
    padding-top: 10px;
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bs-core-block-prew-main-authors-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #dcdcde;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 600;
    color: #50575e;
}

.bs-core-block-prew-main-authors-text {
    font-size: 12px;
    color: #50575e;
}

.bs-core-block-prew-main-authors-text span {
    color: #50575e;
}

.bs-core-block-prew-main-authors-text a {
    color: #2271b1;
    text-decoration: underline;
}

.bs-core-block-prew-main-authors-text a:hover {
    color: #135e96;
    text-decoration: none;
}
