.ssb-embed-blog {
    max-width: 1180px;
    margin: 0 auto;
    font-family: Arial, sans-serif;
    color: #1d2327;
}

.ssb-embed-tools {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 18px;
    margin-bottom: 28px;
    box-sizing: border-box;
}

.ssb-embed-search {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.ssb-embed-search input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #8c8f94;
    background: #fff;
    color: #222;
    font-size: 15px;
    box-sizing: border-box;
}

.ssb-embed-search button,
.ssb-embed-search a,
.ssb-embed-read,
.ssb-embed-pagination a,
.ssb-embed-pagination span {
    display: inline-block;
    background: #2271b1;
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    border: 1px solid #2271b1;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    box-sizing: border-box;
}

.ssb-embed-search button {
    cursor: pointer;
}

.ssb-embed-search a {
    background: #fff;
    color: #2271b1;
}

.ssb-embed-search button:hover,
.ssb-embed-read:hover {
    background: #135e96;
    color: #fff;
}

.ssb-embed-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.ssb-embed-categories a {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #2271b1;
    color: #2271b1;
    background: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
}

.ssb-embed-categories a.active,
.ssb-embed-categories a:hover {
    background: #2271b1;
    color: #fff;
}

.ssb-embed-results-label {
    margin: 0 0 20px;
    color: #646970;
}

.ssb-embed-featured-post {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 30px;
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 26px;
    margin-bottom: 34px;
    box-sizing: border-box;
}

.ssb-embed-featured-post img,
.ssb-embed-card img {
    width: 100%;
    height: auto;
    display: block;
}

.ssb-embed-featured-label {
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    color: #2271b1;
    letter-spacing: .08em;
    margin-bottom: 10px;
}

.ssb-embed-featured-post h2 {
    font-size: 34px;
    line-height: 1.2;
    margin: 0 0 12px;
}

.ssb-embed-featured-post h2 a,
.ssb-embed-card h2 a {
    color: #1d2327;
    text-decoration: none;
}

.ssb-embed-featured-post h2 a:hover,
.ssb-embed-card h2 a:hover {
    color: #2271b1;
}

.ssb-embed-meta {
    color: #646970;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
}

.ssb-embed-meta strong {
    color: #1d2327;
}

.ssb-embed-meta a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 700;
}

.ssb-embed-meta a:hover {
    text-decoration: underline;
}

.ssb-embed-excerpt {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.ssb-embed-section-title {
    font-size: 28px;
    margin: 0 0 20px;
}

.ssb-embed-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ssb-embed-card {
    background: #fff;
    border: 1px solid #dcdcde;
    padding: 20px;
    box-sizing: border-box;
}

.ssb-embed-card h2 {
    font-size: 23px;
    line-height: 1.25;
    margin: 16px 0 10px;
}

.ssb-embed-card-placeholder {
    height: 190px;
    background: #f6f7f7;
    border: 1px dashed #c3c4c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #646970;
}

.ssb-embed-read {
    margin-top: 0;
}

.ssb-embed-pagination {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ssb-embed-pagination a {
    background: #fff;
    color: #2271b1;
}

.ssb-embed-pagination a:hover {
    background: #2271b1;
    color: #fff;
}

.ssb-embed-pagination span.active {
    background: #1d2327;
    border-color: #1d2327;
    color: #fff;
}

.ssb-embed-pagination .ssb-pagination-dots {
    background: transparent;
    border-color: transparent;
    color: #646970;
    padding: 10px 6px;
}

@media (max-width: 950px) {
    .ssb-embed-featured-post {
        grid-template-columns: 1fr;
    }

    .ssb-embed-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ssb-embed-featured-post,
    .ssb-embed-tools {
        padding: 18px;
    }

    .ssb-embed-featured-post h2 {
        font-size: 28px;
    }

    .ssb-embed-grid {
        grid-template-columns: 1fr;
    }

    .ssb-embed-search {
        flex-direction: column;
    }

    .ssb-embed-search button,
    .ssb-embed-search a {
        width: 100%;
        text-align: center;
    }
}
