.kecosce-newsletters-wrap {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0;
}

.kecosce-newsletters-filters {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.kecosce-newsletters-filters input,
.kecosce-newsletters-filters select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    width: auto;
    background: #f7f7f7;
}

.kecosce-newsletters-filters input {
    flex: 2;
    min-width: 0;
}

.kecosce-newsletters-filters select {
    flex: 1;
    min-width: 0;
    background: #fff;
}

.kecosce-newsletters-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fff;
}

.kecosce-newsletters-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.kecosce-newsletters-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a1a;
}

.kecosce-newsletters-desc {
    font-size: 13px;
    color: #555;
    margin: 0 0 8px;
    line-height: 1.5;
}

.kecosce-newsletters-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #888;
}

.kecosce-newsletters-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.kecosce-newsletters-actions a {
    display: inline-block;
    background: #2b7da8;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
}

.kecosce-newsletters-actions a:hover {
    background: #23678c;
    color: #fff;
}

.kecosce-newsletters-count {
    font-size: 12px;
    color: #aaa;
}

.kecosce-newsletters-empty {
    text-align: center;
    color: #999;
    padding: 40px 0;
    font-size: 14px;
}

/* [latest_newsletters] mini list — icon + title + subtitle rows,
   thin divider between them, whole row links to the file. */
.kecosce-newsletters-latest-list {
    max-width: 480px;
}

.kecosce-newsletters-latest-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
    text-decoration: none;
    color: inherit;
}

.kecosce-newsletters-latest-list .kecosce-newsletters-latest-item:last-of-type {
    border-bottom: none;
}

.kecosce-newsletters-latest-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #2b7da8;
    border-radius: 8px;
    color: #2b7da8;
}

.kecosce-newsletters-latest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kecosce-newsletters-latest-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

.kecosce-newsletters-latest-subtitle {
    font-size: 13px;
    color: #888;
}

.kecosce-newsletters-viewall {
    display: inline-block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #b8952e;
    text-decoration: none;
}

.kecosce-newsletters-viewall:hover {
    text-decoration: underline;
}
