/* =========================================================
   melegek.hu - community.css
   Közösség, blog, üzenőfal, kommentek és user oldali report elemek.
   Forrás: korábbi /assets/css/style.css
   Refaktor típusa: moduláris bontás redesign nélkül
   ========================================================= */

.community-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.community-card {
    background: rgba(15, 18, 35, 0.85);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.08);
}

.community-card h2 {
    margin-bottom: 15px;
}

.community-list {
    list-style: none;
    padding: 0;
}

.community-list li {
    margin-bottom: 12px;
}

.community-page {
    max-width: 1180px;
    margin: 42px auto;
    padding: 0 20px 60px;
}

.community-hero {
    text-align: center;
    margin-bottom: 34px;
}

.community-kicker {
    display: inline-flex;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(123, 92, 255, 0.18);
    border: 1px solid rgba(123, 92, 255, 0.32);
    color: #d8ccff;
    font-weight: 700;
    margin-bottom: 14px;
}

.community-hero h1 {
    font-size: 42px;
    margin: 0 0 14px;
}

.community-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.72);
    font-size: 17px;
    line-height: 1.7;
}

.community-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-bottom: 28px;
}

.community-entry-card {
    display: block;
    padding: 30px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.12), rgba(123, 92, 255, 0.12)),
        rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.10);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 18px 50px rgba(0,0,0,0.25);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.community-entry-card:hover {
    transform: translateY(-3px);
    border-color: rgba(123, 92, 255, 0.45);
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.18), rgba(123, 92, 255, 0.18)),
        rgba(255,255,255,0.075);
    text-decoration: none;
}

.community-entry-icon {
    font-size: 34px;
    margin-bottom: 16px;
}

.community-entry-card h2 {
    margin: 0 0 12px;
    font-size: 26px;
}

.community-entry-card p {
    color: rgba(255,255,255,0.72);
    line-height: 1.65;
    margin-bottom: 22px;
}

.community-entry-button {
    display: inline-flex;
    padding: 11px 17px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    font-weight: 700;
}

.community-rules-card {
    padding: 28px;
    border-radius: 24px;
    background: rgba(10, 12, 24, 0.78);
    border: 1px solid rgba(255,255,255,0.09);
}

.community-rules-card h2 {
    margin-top: 0;
}

.community-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.community-rules-grid ul {
    margin: 0;
    padding-left: 20px;
}

.community-rules-note {
    margin-top: 22px;
    color: rgba(255,255,255,0.72);
}

/* ==============================
   COMMUNITY / KOZOSSEG PAGE
============================== */


.community-page {
    max-width: 1180px;
    margin: 48px auto 70px auto;
    padding: 0 22px;
}

.community-hero {
    text-align: center;
    margin-bottom: 36px;
}

.community-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(123, 92, 255, 0.18);
    border: 1px solid rgba(123, 92, 255, 0.38);
    color: #d9ceff;
    font-weight: 800;
    margin-bottom: 16px;
}

.community-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: #fff;
}

.community-hero p {
    max-width: 780px;
    margin: 0 auto;
    color: rgba(255,255,255,0.74);
    font-size: 17px;
    line-height: 1.75;
}

.community-entry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 34px 0 30px;
}

.community-entry-card {
    display: block;
    min-height: 260px;
    padding: 34px;
    border-radius: 28px;
    text-decoration: none;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.14), rgba(123, 92, 255, 0.16)),
        rgba(255,255,255,0.055);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 24px 70px rgba(0,0,0,0.35);
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.community-entry-card:hover {
    transform: translateY(-4px);
    border-color: rgba(123, 92, 255, 0.55);
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.22), rgba(123, 92, 255, 0.22)),
        rgba(255,255,255,0.08);
    text-decoration: none;
}

.community-entry-icon {
    font-size: 42px;
    margin-bottom: 18px;
}

.community-entry-card h2 {
    margin: 0 0 14px;
    font-size: 30px;
    color: #fff;
}

.community-entry-card p {
    margin: 0 0 24px;
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
}

.community-entry-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.11);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    font-weight: 800;
}

.community-rules-card {
    padding: 32px;
    border-radius: 28px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.035)),
        rgba(10, 12, 24, 0.86);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.community-rules-card h2 {
    margin: 0 0 22px;
    font-size: 30px;
    color: #fff;
}

.community-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.community-rules-grid h3 {
    margin: 0 0 12px;
    color: #fff;
}

.community-rules-grid ul {
    margin: 0;
    padding-left: 22px;
}

.community-rules-grid li {
    margin-bottom: 8px;
    color: rgba(255,255,255,0.82);
}

.community-rules-note {
    margin: 26px 0 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
}

/* ===== COMMUNITY BLOG LIST ===== */


.community-blog-page {
    max-width: 1180px;
    margin: 48px auto 70px auto;
    padding: 0 22px;
}

.community-blog-hero {
    text-align: center;
    margin-bottom: 34px;
}

.community-blog-hero h1 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    color: #fff;
}

.community-blog-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,0.74);
    font-size: 17px;
    line-height: 1.75;
}

.community-blog-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px;
}

.community-empty-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 28px;
    text-align: center;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.035)),
        rgba(10, 12, 24, 0.86);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.community-empty-card h2 {
    margin: 0 0 12px;
    color: #fff;
}

.community-empty-card p {
    margin: 0 0 22px;
    color: rgba(255,255,255,0.74);
    line-height: 1.7;
}

.community-blog-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.community-blog-card {
    padding: 28px;
    border-radius: 26px;
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.10), rgba(123, 92, 255, 0.12)),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 54px rgba(0,0,0,0.25);
}

.community-blog-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.58);
    font-size: 13px;
    font-weight: 700;
}

.community-blog-card h2 {
    margin: 0 0 12px;
    font-size: 28px;
    color: #fff;
}

.community-blog-card h2 a {
    color: #fff;
    text-decoration: none;
}

.community-blog-card h2 a:hover {
    text-decoration: underline;
}

.community-blog-card p {
    margin: 0 0 22px;
    color: rgba(255,255,255,0.76);
    line-height: 1.75;
}

.community-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.community-blog-stats {
    display: flex;
    gap: 12px;
    color: rgba(255,255,255,0.72);
    font-weight: 800;
}

.community-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.community-read-more:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

/* ===== COMMUNITY BLOG DETAIL ===== */


.community-blog-detail-card {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.10), rgba(123, 92, 255, 0.12)),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
}

.community-blog-content {
    color: rgba(255,255,255,0.86);
    font-size: 17px;
    line-height: 1.85;
    white-space: normal;
}

.community-blog-author {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.68);
    font-weight: 800;
}

.community-inline-form {
    margin: 0;
}

.community-vote-form {
    margin: 0;
    position: relative;
    z-index: 5;
}

.community-vote-button {
    appearance: none;
    border: 1px solid rgba(255,255,255,0.14);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 17px;
    border-radius: 999px;
    background: rgba(255,255,255,0.10);
    color: #fff;
    font-weight: 800;
    font: inherit;
    position: relative;
    z-index: 6;
}

.community-vote-button:hover {
    background: rgba(255,255,255,0.15);
}

.comment-deleted {
    display: block;
    color: rgba(255,255,255,0.55);
    font-style: italic;
}

.community-comments {
    max-width: 1130px;
    margin: 34px auto 70px;
}

.community-comments h2 {
    margin-bottom: 18px;
}

.community-comment {
    padding: 18px 20px;
    margin-bottom: 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.community-comment-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
    color: rgba(255,255,255,0.68);
    font-size: 13px;
}

.community-comment-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.65;
}

.community-comment-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.community-report-form {
    margin: 0;
}

.community-report-button {
    border: 0;
    background: transparent;
    color: rgba(255,255,255,0.48);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
}

.community-report-button:hover {
    color: #ff8fb8;
    text-decoration: underline;
}

.community-comment-form {
    margin-top: 22px;
}

.community-comment-form textarea {
    min-height: 90px;
    margin-bottom: 12px;
}

.comment-deleted {
    color: rgba(255,255,255,0.52);
    font-style: italic;
}

.community-blog-create {
    max-width: 800px;
    margin: 40px auto;
}

.community-form .form-group {
    margin-bottom: 16px;
}

.community-form input,
.community-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
    color: #fff;
}

.community-form textarea {
    min-height: 180px;
}

/* ===== COMMUNITY WALL ===== */


.community-wall-page {
    max-width: 980px;
    margin: 48px auto 70px;
    padding: 0 22px;
}

.community-wall-form-card {
    padding: 22px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 60, 136, 0.10), rgba(123, 92, 255, 0.12)),
        rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 54px rgba(0,0,0,0.25);
    margin-bottom: 24px;
}

.community-wall-form {
    margin: 0;
}

.community-wall-form textarea {
    width: 100%;
    min-height: 110px;
    resize: vertical;
    margin-bottom: 12px;
}

.community-wall-form-actions {
    display: flex;
    justify-content: flex-end;
}

.community-wall-list {
    display: grid;
    gap: 14px;
}

.community-wall-post {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.08);
}

.community-alert {
    padding: 14px 18px;
    border-radius: 16px;
    margin-bottom: 16px;
    font-weight: 700;
}

.community-alert-error {
    background: rgba(255, 60, 136, 0.14);
    border: 1px solid rgba(255, 60, 136, 0.32);
    color: #ffd6e5;
}

.community-dashboard-section {
    margin-top: 24px;
}

.community-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 18px;
}

.community-dashboard-box {
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 18px;
    background: rgba(255,255,255,0.035);
}

.community-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.community-box-header h4 {
    margin: 0;
}

.community-feed-list {
    display: grid;
    gap: 12px;
}

.community-feed-item {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.community-feed-item:last-child {
    border-bottom: 0;
}

.community-feed-item strong {
    display: block;
    margin-bottom: 4px;
}

.community-feed-item small {
    display: block;
    color: rgba(255,255,255,0.55);
    margin-bottom: 6px;
}

.community-feed-item p {
    margin: 0 0 8px;
    color: rgba(255,255,255,0.78);
}

.community-empty-state {
    padding: 14px;
    border-radius: 14px;
    background: rgba(255,255,255,0.045);
    border: 1px dashed rgba(255,255,255,0.13);
}

.community-empty-state strong {
    display: block;
    margin-bottom: 6px;
}

.community-empty-state p {
    margin: 0;
    color: rgba(255,255,255,0.75);
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

/* =========================================================
   REPORT / ABUSE FORM
   ========================================================= */


.report-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 32px 16px 64px;
}

.report-card {
    padding: 34px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(239, 68, 68, 0.16), transparent 34%),
        radial-gradient(circle at top left, rgba(124, 58, 237, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.032));
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 24px 70px rgba(0,0,0,0.38),
        0 0 34px rgba(225, 29, 72, 0.12);
}

.report-header {
    margin-bottom: 26px;
}

.report-header h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
}

.report-header p {
    max-width: 760px;
    margin: 0;
    color: rgba(238,242,255,0.78);
    line-height: 1.7;
}

.report-form {
    display: grid;
    gap: 18px;
}

.report-form .form-row {
    margin-bottom: 0;
}

.report-form label {
    color: rgba(238,242,255,0.86);
    font-weight: 800;
}

.report-form input,
.report-form select,
.report-form textarea {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(10, 12, 22, 0.72);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.report-form textarea {
    min-height: 190px;
    padding: 14px 16px;
}

.report-help-box,
.report-warning-box {
    padding: 22px 24px;
    border-radius: 22px;
    background: rgba(255,255,255,0.045);
    border: 1px solid rgba(255,255,255,0.10);
}

.report-help-box h3 {
    margin: 0 0 14px;
    font-size: 21px;
}

.report-help-box ul {
    margin: 0 0 16px 22px;
    padding: 0;
    color: rgba(238,242,255,0.84);
    line-height: 1.65;
}

.report-help-box p {
    margin: 0 0 10px;
    color: rgba(238,242,255,0.78);
    line-height: 1.65;
}

.report-help-note {
    color: #bfdbfe !important;
    font-weight: 700;
}

.report-warning-box {
    border-color: rgba(239, 68, 68, 0.28);
    background:
        linear-gradient(135deg, rgba(127, 29, 29, 0.24), rgba(88, 28, 135, 0.12));
    color: #fecaca;
    line-height: 1.7;
}

.report-warning-box strong {
    color: #fff;
}

.report-form .form-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 4px;
}

.report-form .form-actions .btn {
    min-height: 54px;
    border-radius: 16px;
    font-weight: 900;
}

.report-form .form-actions .btn-danger {
    flex: 1;
    background: linear-gradient(135deg, #ef4444, #e11d48);
    color: #fff;
    box-shadow: 0 16px 36px rgba(225, 29, 72, 0.22);
}

.report-form .form-actions .btn-secondary {
    background: rgba(255,255,255,0.07);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.10);
}

.community-comment-official::before {
    content: 'HIVATALOS';

    position: absolute;
    right: 22px;
    bottom: 18px;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.14em;

    color: rgba(255,255,255,0.18);
}

.community-comment-author-line {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
