/* Plugin: InstructorPro Suite | File Version: 2016v2 */
.ez2d-community-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 28px 18px 40px;
}

.ez2d-community-card {
    background: #ffffff;
    border: 1px solid var(--ez2d-border-subtle, #e5e7eb);
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    padding: 28px 28px 22px;
}

.ez2d-community-card .ez2d-section-title {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}

.ez2d-community-card .ez2d-muted {
    color: #64748b;
    font-size: 15px;
    margin: 0 0 8px;
}

.ez2d-community-comments {
    margin-top: 18px;
    margin-bottom: 20px;
}

.ez2d-community-comments .comment-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.ez2d-community-comments .comment {
    padding: 16px 18px;
    border: 1px solid #e6edf6;
    border-radius: 14px;
    background: #f8fbff;
}

.ez2d-community-comments .comment-body {
    display: grid;
    gap: 10px;
}

.ez2d-community-comments .comment-author.vcard {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ez2d-community-comments .comment-author img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.ez2d-community-comments .comment-author .fn {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

.ez2d-community-comments .comment-metadata time {
    font-size: 12px;
    color: #64748b;
}

.ez2d-community-comments .comment-content {
    font-size: 15px;
    line-height: 1.6;
    color: #1f2937;
}

.ez2d-community-form {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.ez2d-community-login {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.ez2d-community-login p {
    margin: 0;
    color: #475569;
}

.ez2d-community-card textarea,
.ez2d-community-card input[type="text"],
.ez2d-community-card input[type="email"],
.ez2d-community-card input[type="url"] {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14px;
    background: #ffffff;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.04);
}

.ez2d-community-card textarea {
    min-height: 140px;
    resize: vertical;
}

.ez2d-community-card label {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
    display: inline-block;
}

.ez2d-community-card #submit,
.ez2d-community-card .ez2d-btn.ez2d-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
}

.ez2d-community-card #submit:hover,
.ez2d-community-card .ez2d-btn.ez2d-primary:hover {
    background: #1d4ed8;
}

@media (max-width: 768px) {
    .ez2d-community-wrap {
        padding: 20px 12px 32px;
    }

    .ez2d-community-card {
        padding: 20px 16px 18px;
    }

    .ez2d-community-card .ez2d-section-title {
        font-size: 22px;
    }
}

/* community-card textarea width fix */
.ez2d-community-card textarea{
  max-width: 100%;
  box-sizing: border-box;
}

