.mtc-news-list {
    display: grid;
    gap: 16px;
}

.mtc-news-item {
    border-bottom: 1px solid #e3e7ea;
    padding: 0 0 16px;
}

.mtc-news-item time {
    color: #16843c;
    display: block;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 6px;
}

.mtc-news-item h3 {
    font-size: 18px;
    line-height: 1.5;
    margin: 0 0 6px;
}

.mtc-news-item h3 a {
    color: #071b3a;
    text-decoration: none;
}

.mtc-news-item p,
.mtc-empty {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

.mtc-business-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.mtc-business-card {
    color: #071b3a;
    display: block;
    text-decoration: none;
}

.mtc-business-card img {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 6px;
    display: block;
    height: auto;
    margin-bottom: 12px;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.mtc-business-card span {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 6px;
}

.mtc-business-card p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

.mtc-site-switcher {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.mtc-site-switcher a {
    border: 1px solid #c9d3dc;
    border-radius: 6px;
    color: #071b3a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 14px;
    text-decoration: none;
}

.mtc-site-switcher a:last-child {
    background: #25c945;
    border-color: #25c945;
    color: #fff;
}

.mtc-admin-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, 520px) minmax(420px, 1fr);
}

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

.mtc-admin-card label {
    display: block;
    font-weight: 700;
    margin: 0 0 16px;
}

.mtc-admin-card input,
.mtc-admin-card textarea {
    display: block;
    margin-top: 6px;
    max-width: 100%;
    width: 100%;
}

.mtc-delete-link {
    color: #b32d2e;
}

.mtc-frontend-editor {
    background: #fff;
    border: 1px solid #dfe7e1;
    border-radius: 8px;
    color: #071b3a;
    margin: 32px auto;
    max-width: 880px;
    padding: 28px;
}

.mtc-frontend-editor h2 {
    font-size: 28px;
    margin: 0 0 12px;
}

.mtc-frontend-editor h3 {
    border-top: 1px solid #dfe7e1;
    font-size: 20px;
    margin: 28px 0 14px;
    padding-top: 22px;
}

.mtc-editor-form label,
.mtc-frontend-editor .login-username,
.mtc-frontend-editor .login-password {
    display: block;
    font-weight: 700;
    margin: 0 0 16px;
}

.mtc-editor-form input,
.mtc-editor-form textarea,
.mtc-frontend-editor .input {
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    display: block;
    font-size: 16px;
    margin-top: 6px;
    padding: 11px 12px;
    width: 100%;
}

.mtc-editor-form button,
.mtc-frontend-editor .button-primary,
.mtc-editor-button-secondary {
    align-items: center;
    background: #25c945;
    border: 1px solid #25c945;
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 15px;
    font-weight: 700;
    min-height: 44px;
    padding: 0 18px;
    text-decoration: none;
}

.mtc-editor-button-secondary {
    background: #fff;
    border-color: #c9d3dc;
    color: #071b3a;
    margin-left: 8px;
}

.mtc-editor-list {
    display: grid;
    gap: 10px;
}

.mtc-editor-list-item {
    align-items: center;
    border-bottom: 1px solid #eef2f0;
    display: grid;
    gap: 10px;
    grid-template-columns: 100px minmax(0, 1fr) auto auto;
    padding: 10px 0;
}

.mtc-editor-message {
    background: #e9f9ee;
    border-left: 4px solid #25c945;
    padding: 12px 14px;
}

.mtc-editor-error {
    background: #fff1f2;
    border-left: 4px solid #b32d2e;
    padding: 12px 14px;
}

@media (max-width: 1024px) {
    .mtc-business-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mtc-admin-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .mtc-business-grid {
        grid-template-columns: 1fr;
    }

    .mtc-site-switcher {
        justify-content: flex-start;
    }

    .mtc-editor-list-item {
        grid-template-columns: 1fr;
    }
}
