/*
 * LCU Frontend Pages — Contact · Updates · Community · Support · Events
 * Scoped under .lcu-fp-* and .lcu-community-* etc. to avoid conflicts.
 * Color scheme: navy #0c2a5c / #1c3c70, accent #2563eb, neutral greys.
 */

/* ── CSS variables ─────────────────────────────────────────────────────────── */
:root {
    --lcu-navy:      #0c2a5c;
    --lcu-navy-mid:  #1c3c70;
    --lcu-blue:      #2563eb;
    --lcu-blue-lt:   #dbeafe;
    --lcu-accent:    #6246ea;
    --lcu-text:      #1e293b;
    --lcu-muted:     #64748b;
    --lcu-border:    #e2e8f0;
    --lcu-bg:        #f8fafc;
    --lcu-white:     #ffffff;
    --lcu-radius:    10px;
    --lcu-shadow:    0 2px 16px rgba(12,42,92,.08);
    --lcu-shadow-lg: 0 8px 32px rgba(12,42,92,.12);
}

/* ── Base reset (scoped) ───────────────────────────────────────────────────── */
.lcu-fp-section *,
.lcu-fp-section *::before,
.lcu-fp-section *::after {
    box-sizing: border-box;
}

.lcu-fp-section img { max-width: 100%; height: auto; display: block; }
.lcu-fp-section ul  { list-style: none; margin: 0; padding: 0; }

/* ── Section wrapper ───────────────────────────────────────────────────────── */
.lcu-fp-section {
    width: 100%;
    padding: 72px 0 80px;
    background: var(--lcu-bg);
}

.lcu-fp-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Hero block ────────────────────────────────────────────────────────────── */
.lcu-fp-hero {
    text-align: center;
    margin-bottom: 56px;
}

.lcu-fp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--lcu-accent);
    background: rgba(98,70,234,.08);
    border: 1px solid rgba(98,70,234,.2);
    border-radius: 30px;
    padding: 5px 16px;
    margin-bottom: 16px;
}

.lcu-fp-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--lcu-navy);
    margin: 0 0 14px;
    line-height: 1.2;
}

.lcu-fp-subtitle {
    font-size: 1.05rem;
    color: var(--lcu-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ── Shared buttons ────────────────────────────────────────────────────────── */
.lcu-fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--lcu-radius);
    font-size: .9375rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: background .18s, transform .12s, box-shadow .18s;
    line-height: 1;
}
.lcu-fp-btn:focus-visible { outline: 3px solid var(--lcu-blue); outline-offset: 2px; }

.lcu-fp-btn-primary {
    background: var(--lcu-navy-mid);
    color: var(--lcu-white);
}
.lcu-fp-btn-primary:hover {
    background: var(--lcu-navy);
    color: var(--lcu-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(12,42,92,.28);
}

.lcu-fp-btn-sm { padding: 9px 18px; font-size: .875rem; }
.lcu-fp-btn-full { width: 100%; justify-content: center; }

/* ── Shared forms ──────────────────────────────────────────────────────────── */
.lcu-fp-form { margin: 0; }

.lcu-fp-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.lcu-fp-group label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--lcu-text);
}
.lcu-fp-group label span { color: #dc2626; }

.lcu-fp-group input,
.lcu-fp-group select,
.lcu-fp-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    font-size: .9375rem;
    color: var(--lcu-text);
    background: var(--lcu-white);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
    font-family: inherit;
}
.lcu-fp-group input:focus,
.lcu-fp-group select:focus,
.lcu-fp-group textarea:focus {
    border-color: var(--lcu-blue);
    box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.lcu-fp-group textarea { resize: vertical; min-height: 120px; }

.lcu-fp-row { margin-bottom: 0; }
.lcu-fp-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
@media (max-width: 640px) {
    .lcu-fp-row-2 { grid-template-columns: 1fr; }
}

/* ── Alerts ────────────────────────────────────────────────────────────────── */
.lcu-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: .9rem;
    line-height: 1.5;
    margin-bottom: 18px;
}
.lcu-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.lcu-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.lcu-alert-info {
    background: #eff6ff;
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* ── Login gate ────────────────────────────────────────────────────────────── */
.lcu-login-gate {
    text-align: center;
    padding: 72px 24px;
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    box-shadow: var(--lcu-shadow);
    max-width: 480px;
    margin: 0 auto;
}
.lcu-login-gate > i {
    font-size: 3rem;
    color: var(--lcu-navy-mid);
    margin-bottom: 20px;
    display: block;
}
.lcu-login-gate h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lcu-navy);
    margin: 0 0 10px;
}
.lcu-login-gate p { color: var(--lcu-muted); margin: 0 0 24px; }
.lcu-login-gate a { color: var(--lcu-blue); font-weight: 600; text-decoration: none; }
.lcu-login-gate a:hover { text-decoration: underline; }

/* ── Empty state ───────────────────────────────────────────────────────────── */
.lcu-empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--lcu-muted);
}
.lcu-empty-state > i { font-size: 2.5rem; margin-bottom: 16px; display: block; opacity: .4; }
.lcu-empty-state p { margin: 0 0 20px; font-size: 1rem; }

/* ── Pagination ────────────────────────────────────────────────────────────── */
.lcu-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-top: 40px;
}
.lcu-pg-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--lcu-text);
    background: var(--lcu-white);
    border: 1.5px solid var(--lcu-border);
    text-decoration: none;
    transition: all .15s;
}
.lcu-pg-num:hover { border-color: var(--lcu-blue); color: var(--lcu-blue); }
.lcu-pg-num.active { background: var(--lcu-navy-mid); color: #fff; border-color: var(--lcu-navy-mid); }

/* ══════════════════════════════════════════════════════════════════════════════
 *  CONTACT PAGE
 * ══════════════════════════════════════════════════════════════════════════════ */

.lcu-contact-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) {
    .lcu-contact-grid { grid-template-columns: 1fr; }
}

/* Info panel */
.lcu-contact-info {
    background: linear-gradient(145deg, var(--lcu-navy) 0%, var(--lcu-navy-mid) 100%);
    border-radius: var(--lcu-radius);
    padding: 40px 32px;
    color: rgba(255,255,255,.92);
}
.lcu-contact-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 28px;
}
.lcu-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.lcu-ci-icon {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #fff;
    flex-shrink: 0;
}
.lcu-contact-item strong {
    display: block;
    font-size: .8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,.6);
    margin-bottom: 2px;
}
.lcu-contact-item span {
    font-size: .9375rem;
    color: #fff;
}
.lcu-contact-socials {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.15);
}
.lcu-social-btn {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: .95rem;
    text-decoration: none;
    transition: background .18s;
}
.lcu-social-btn:hover { background: rgba(255,255,255,.25); color: #fff; }

/* Form panel */
.lcu-contact-form-wrap {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 40px;
    box-shadow: var(--lcu-shadow);
}
@media (max-width: 480px) {
    .lcu-contact-form-wrap { padding: 24px 18px; }
}

/* ══════════════════════════════════════════════════════════════════════════════
 *  COMMUNITY PAGE
 * ══════════════════════════════════════════════════════════════════════════════ */

.lcu-community-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}
@media (max-width: 900px) {
    .lcu-community-layout { grid-template-columns: 1fr; }
    .lcu-comm-sidebar { display: flex; flex-wrap: wrap; gap: 16px; }
    .lcu-sidebar-block { flex: 1 1 220px; }
}

/* Sidebar */
.lcu-sidebar-block {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 22px;
    box-shadow: var(--lcu-shadow);
    margin-bottom: 20px;
}
.lcu-sidebar-block h4 {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lcu-navy);
    margin: 0 0 16px;
}
.lcu-channel-list li { margin: 0; }
.lcu-channel-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--lcu-text);
    font-size: .9375rem;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.lcu-channel-link i { color: var(--lcu-muted); font-size: .875rem; }
.lcu-channel-link:hover,
.lcu-channel-link.active {
    background: var(--lcu-blue-lt);
    color: var(--lcu-blue);
}
.lcu-channel-link.active i { color: var(--lcu-blue); }

.lcu-user-card {
    display: flex;
    align-items: center;
    gap: 14px;
}
.lcu-user-card img { border-radius: 50%; flex-shrink: 0; }
.lcu-user-info strong { display: block; font-size: .9375rem; color: var(--lcu-text); }
.lcu-user-info span { font-size: .8125rem; color: var(--lcu-muted); text-transform: capitalize; }

/* Create post */
.lcu-create-post {
    display: flex;
    gap: 14px;
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 20px;
    box-shadow: var(--lcu-shadow);
    margin-bottom: 24px;
    align-items: flex-start;
}
.lcu-create-post img { border-radius: 50%; flex-shrink: 0; }
.lcu-create-post-input-wrap { flex: 1; min-width: 0; }
.lcu-create-post-input-wrap textarea {
    width: 100%;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: .9375rem;
    font-family: inherit;
    color: var(--lcu-text);
    resize: vertical;
    outline: none;
    transition: border-color .15s;
}
.lcu-create-post-input-wrap textarea:focus { border-color: var(--lcu-blue); }
.lcu-create-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}
.lcu-char-count { font-size: .8125rem; color: var(--lcu-muted); }

/* Post cards */
.lcu-post-card {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 22px;
    box-shadow: var(--lcu-shadow);
    margin-bottom: 18px;
    transition: box-shadow .18s;
}
.lcu-post-card:hover { box-shadow: var(--lcu-shadow-lg); }

.lcu-post-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.lcu-post-head img { border-radius: 50%; flex-shrink: 0; }
.lcu-post-head strong {
    display: block;
    font-size: .9375rem;
    color: var(--lcu-text);
}
.lcu-post-head time {
    font-size: .8125rem;
    color: var(--lcu-muted);
}
.lcu-post-body {
    font-size: .9375rem;
    color: var(--lcu-text);
    line-height: 1.65;
    margin-bottom: 14px;
    word-break: break-word;
}
.lcu-post-actions {
    display: flex;
    gap: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--lcu-border);
}
.lcu-like-btn,
.lcu-comment-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    font-size: .875rem;
    color: var(--lcu-muted);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 7px;
    transition: background .15s, color .15s;
    font-family: inherit;
}
.lcu-like-btn:hover,
.lcu-comment-toggle:hover { background: var(--lcu-bg); color: var(--lcu-text); }
.lcu-like-btn.liked { color: #e11d48; }
.lcu-like-btn.liked i { color: #e11d48; }

/* Comments section */
.lcu-comments-wrap {
    padding-top: 16px;
    margin-top: 8px;
    border-top: 1px solid var(--lcu-border);
}
.lcu-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.lcu-comment img { border-radius: 50%; flex-shrink: 0; }
.lcu-comment-body {
    background: var(--lcu-bg);
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    min-width: 0;
}
.lcu-comment-body strong { font-size: .8125rem; color: var(--lcu-navy); display: block; margin-bottom: 3px; }
.lcu-comment-body p { font-size: .875rem; color: var(--lcu-text); margin: 0; word-break: break-word; }

.lcu-add-comment {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}
.lcu-add-comment img { border-radius: 50%; flex-shrink: 0; }
.lcu-comment-input {
    flex: 1;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: .875rem;
    font-family: inherit;
    outline: none;
    transition: border-color .15s;
}
.lcu-comment-input:focus { border-color: var(--lcu-blue); }

/* ══════════════════════════════════════════════════════════════════════════════
 *  SUPPORT PAGE
 * ══════════════════════════════════════════════════════════════════════════════ */

.lcu-support-card {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    box-shadow: var(--lcu-shadow);
    overflow: hidden;
}
.lcu-support-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 1px solid var(--lcu-border);
    background: var(--lcu-white);
    flex-wrap: wrap;
    gap: 12px;
}
.lcu-support-card-head h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lcu-navy);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.lcu-support-card-head h3 i { color: var(--lcu-accent); }
.lcu-back-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    font-weight: 600;
    color: var(--lcu-blue);
    text-decoration: none;
}
.lcu-back-link:hover { text-decoration: underline; }

/* Form inside support card */
.lcu-support-card .lcu-fp-form { padding: 28px; }

/* Ticket meta bar */
.lcu-ticket-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px 28px;
    border-bottom: 1px solid var(--lcu-border);
}
.lcu-ticket-date {
    font-size: .8125rem;
    color: var(--lcu-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Badges */
.lcu-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.lcu-status-open    { background: #d1fae5; color: #065f46; }
.lcu-status-pending { background: #fef3c7; color: #92400e; }
.lcu-status-closed  { background: #f1f5f9; color: #475569; }
.lcu-priority-low    { background: #e0f2fe; color: #0369a1; }
.lcu-priority-medium { background: #fef9c3; color: #854d0e; }
.lcu-priority-high   { background: #fee2e2; color: #991b1b; }
.lcu-priority-urgent { background: #fce7f3; color: #9d174d; }
.lcu-badge-support   { background: var(--lcu-blue-lt); color: var(--lcu-blue); text-transform: none; font-size: .75rem; padding: 2px 8px; }

/* Thread messages */
.lcu-ticket-thread {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lcu-thread-msg {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.lcu-msg-avatar img { border-radius: 50%; }
.lcu-msg-body {
    flex: 1;
    background: var(--lcu-bg);
    border-radius: 10px;
    padding: 14px 18px;
}
.lcu-msg-admin .lcu-msg-body { background: #eff6ff; }
.lcu-msg-body strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    color: var(--lcu-navy);
    margin-bottom: 6px;
}
.lcu-msg-body p { font-size: .9375rem; color: var(--lcu-text); margin: 0 0 8px; word-break: break-word; }
.lcu-msg-body time { font-size: .75rem; color: var(--lcu-muted); }

/* Reply form */
.lcu-reply-section {
    padding: 24px 28px;
    border-top: 1px solid var(--lcu-border);
}
.lcu-reply-section h4 { font-size: .9375rem; font-weight: 700; color: var(--lcu-navy); margin: 0 0 16px; }

/* Tickets table */
.lcu-tickets-table-wrap { padding: 0 28px 28px; overflow-x: auto; }
.lcu-tickets-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}
.lcu-tickets-table th {
    text-align: left;
    padding: 12px 14px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .8px;
    color: var(--lcu-muted);
    border-bottom: 2px solid var(--lcu-border);
    white-space: nowrap;
}
.lcu-tickets-table td {
    padding: 14px 14px;
    color: var(--lcu-text);
    border-bottom: 1px solid var(--lcu-border);
    vertical-align: middle;
}
.lcu-tickets-table tr:last-child td { border-bottom: none; }
.lcu-tickets-table tr:hover td { background: var(--lcu-bg); }
.lcu-table-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lcu-blue);
    font-weight: 600;
    font-size: .875rem;
    text-decoration: none;
}
.lcu-table-link:hover { text-decoration: underline; }

/* Responsive tickets table */
@media (max-width: 640px) {
    .lcu-tickets-table-wrap { padding: 0 16px 16px; }
    .lcu-tickets-table thead { display: none; }
    .lcu-tickets-table tr {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid var(--lcu-border);
    }
    .lcu-tickets-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 5px 0;
        border: none;
        font-size: .875rem;
    }
    .lcu-tickets-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--lcu-muted);
        font-size: .75rem;
        text-transform: uppercase;
        letter-spacing: .5px;
        min-width: 90px;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
 *  EVENTS PAGES (single only — archive uses lcu-elementor-widgets.css card styles)
 * ══════════════════════════════════════════════════════════════════════════════ */

/* Single event */
.lcu-single-event { background: var(--lcu-bg); }
.lcu-event-hero {
    position: relative;
    background: linear-gradient(135deg, var(--lcu-navy) 0%, var(--lcu-navy-mid) 100%);
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}
.lcu-event-hero-img {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    opacity: .35;
}
.lcu-event-hero-overlay {
    position: relative;
    z-index: 1;
    padding: 48px 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.lcu-event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
}
.lcu-event-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: .875rem;
    color: rgba(255,255,255,.8);
}
.lcu-event-hero h1 {
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px;
    line-height: 1.2;
}
.lcu-event-body-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    align-items: start;
}
@media (max-width: 860px) {
    .lcu-event-body-wrap { grid-template-columns: 1fr; }
    .lcu-event-hero-overlay { padding: 32px 24px; }
}
.lcu-event-content {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 36px;
    box-shadow: var(--lcu-shadow);
    line-height: 1.75;
    color: var(--lcu-text);
    font-size: .9375rem;
}
.lcu-event-content h2,
.lcu-event-content h3 { color: var(--lcu-navy); }
.lcu-event-sidebar-card {
    background: var(--lcu-white);
    border-radius: var(--lcu-radius);
    padding: 28px;
    box-shadow: var(--lcu-shadow);
}
.lcu-event-sidebar-card h4 {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--lcu-navy);
    margin: 0 0 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--lcu-border);
}
.lcu-event-detail-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--lcu-border);
    font-size: .875rem;
}
.lcu-event-detail-row:last-of-type { border-bottom: none; }
.lcu-event-detail-row i { color: var(--lcu-accent); width: 16px; margin-top: 2px; flex-shrink: 0; }
.lcu-event-detail-row strong { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; color: var(--lcu-muted); margin-bottom: 2px; }
.lcu-event-detail-row span { color: var(--lcu-text); }

/* ══════════════════════════════════════════════════════════════════════════════
 *  ARCHIVE PAGES LAYOUT (Events archive · Updates archive)
 *  Cards use lcu-elementor-widgets.css + homepage-sections.css styles.
 * ══════════════════════════════════════════════════════════════════════════════ */

/* ── Hero banner ────────────────────────────────────────────────────────────── */
.lcu-archive-hero {
    background: linear-gradient(135deg, var(--lcu-navy) 0%, var(--lcu-navy-mid) 55%, #164e8a 100%);
    padding: 64px 0 56px;
    position: relative;
    overflow: hidden;
}
.lcu-archive-hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 340px; height: 340px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
    pointer-events: none;
}
.lcu-archive-hero::after {
    content: '';
    position: absolute;
    bottom: -60px; left: 12%;
    width: 220px; height: 220px;
    background: rgba(98,70,234,.1);
    border-radius: 50%;
    pointer-events: none;
}
.lcu-archive-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}
.lcu-archive-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8125rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 22px;
}
.lcu-archive-breadcrumb a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    transition: color .15s;
}
.lcu-archive-breadcrumb a:hover { color: #fff; }
.lcu-archive-breadcrumb i { font-size: .625rem; }
.lcu-archive-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.2;
}
.lcu-archive-hero p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.78);
    max-width: 600px;
    line-height: 1.65;
    margin: 0 0 26px;
}
.lcu-archive-hero-tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.lcu-archive-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    font-size: .8125rem;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 30px;
}

/* ── Archive body & container ────────────────────────────────────────────────── */
.lcu-archive-body {
    padding: 48px 0 80px;
    background: var(--lcu-bg);
}
.lcu-archive-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Top bar ─────────────────────────────────────────────────────────────────── */
.lcu-archive-topbar {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 28px;
    padding: 14px 18px;
    background: var(--lcu-white);
    border: 1.5px solid var(--lcu-border);
    border-radius: var(--lcu-radius);
}
.lcu-archive-search-wrap {
    position: relative;
    flex: 1;
    min-width: 200px;
}
.lcu-archive-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--lcu-muted);
    pointer-events: none;
    font-size: .875rem;
}
.lcu-archive-search-input {
    width: 100%;
    padding: 9px 14px 9px 36px;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    font-size: .875rem;
    color: var(--lcu-text);
    outline: none;
    transition: border-color .2s, background .2s;
    background: var(--lcu-bg);
    font-family: inherit;
}
.lcu-archive-search-input:focus {
    border-color: var(--lcu-navy-mid);
    background: #fff;
}
.lcu-archive-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.lcu-archive-sort-label { font-size: .8125rem; color: var(--lcu-muted); font-weight: 500; }
.lcu-archive-sort {
    padding: 9px 30px 9px 12px;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    font-size: .875rem;
    color: var(--lcu-text);
    outline: none;
    cursor: pointer;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s;
    font-family: inherit;
}
.lcu-archive-sort:focus { border-color: var(--lcu-navy-mid); }
.lcu-archive-count {
    font-size: .8125rem;
    color: var(--lcu-muted);
    white-space: nowrap;
    margin-left: auto;
}

/* ── View toggle (grid / list) ────────────────────────────────────────────────── */
.lcu-view-toggle {
    display: flex;
    gap: 3px;
    background: var(--lcu-bg);
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    padding: 3px;
}
.lcu-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: none;
    background: transparent;
    color: var(--lcu-muted);
    cursor: pointer;
    font-size: .875rem;
    text-decoration: none;
    transition: all .15s;
}
.lcu-view-btn.active,
.lcu-view-btn:hover {
    background: var(--lcu-white);
    color: var(--lcu-navy-mid);
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ── Layout: sidebar + main ─────────────────────────────────────────────────── */
.lcu-archive-layout {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.lcu-archive-sidebar {
    width: 260px;
    min-width: 260px;
    flex-shrink: 0;
}
.lcu-archive-main { flex: 1; min-width: 0; }

/* Mobile filter toggle */
.lcu-archive-filter-toggle {
    display: none;
    width: 100%;
    padding: 10px 16px;
    background: var(--lcu-navy-mid);
    color: #fff;
    border: none;
    border-radius: var(--lcu-radius);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-family: inherit;
}

/* Filter panel */
.lcu-archive-filters {
    background: var(--lcu-white);
    border: 1.5px solid var(--lcu-border);
    border-radius: 14px;
    padding: 20px;
    position: sticky;
    top: 100px;
}
.lcu-archive-filter-section { margin-bottom: 22px; }
.lcu-archive-filter-section:last-of-type { margin-bottom: 0; }
.lcu-archive-filter-heading {
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--lcu-muted);
    margin: 0 0 10px;
}
.lcu-archive-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.lcu-archive-check-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .84375rem;
    color: #334155;
    cursor: pointer;
    line-height: 1.4;
}
.lcu-archive-check-label input[type="checkbox"],
.lcu-archive-check-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: var(--lcu-navy-mid);
    cursor: pointer;
    flex-shrink: 0;
}
.lcu-archive-check-count {
    margin-left: auto;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 1px 8px;
    font-size: .6875rem;
    color: var(--lcu-muted);
}
.lcu-archive-reset-btn {
    display: block;
    margin-top: 16px;
    width: 100%;
    padding: 8px;
    background: transparent;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    color: var(--lcu-muted);
    font-size: .8125rem;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    text-align: center;
    text-decoration: none;
}
.lcu-archive-reset-btn:hover {
    border-color: var(--lcu-navy-mid);
    color: var(--lcu-navy-mid);
}

/* ── Archive pagination ─────────────────────────────────────────────────────── */
.lcu-archive-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 40px;
}
.lcu-archive-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1.5px solid var(--lcu-border);
    border-radius: 8px;
    background: var(--lcu-white);
    color: #334155;
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all .15s;
    font-family: inherit;
}
.lcu-archive-page-btn:hover:not(:disabled) {
    border-color: var(--lcu-navy-mid);
    color: var(--lcu-navy-mid);
}
.lcu-archive-page-btn.active {
    background: var(--lcu-navy-mid);
    border-color: var(--lcu-navy-mid);
    color: #fff;
}
.lcu-archive-page-btn:disabled {
    opacity: .4;
    cursor: default;
    pointer-events: none;
}
.lcu-archive-pag-ellipsis {
    display: flex;
    align-items: center;
    color: var(--lcu-muted);
    padding: 0 4px;
    font-size: .875rem;
}

/* Responsive */
@media (max-width: 900px) {
    .lcu-archive-layout { flex-direction: column; }
    .lcu-archive-sidebar { width: 100% !important; min-width: 0 !important; }
    .lcu-archive-filter-toggle { display: flex !important; }
    .lcu-archive-filters { display: none; position: static; }
    .lcu-archive-filters.open { display: block; }
}
@media (max-width: 640px) {
    .lcu-archive-topbar { flex-wrap: wrap; gap: 10px; }
    .lcu-archive-search-wrap { flex: 1 1 100%; min-width: 0; }
    .lcu-archive-count { margin-left: 0; }
    .lcu-archive-body { padding: 32px 0 56px; }
}
@media (max-width: 480px) {
    .lcu-archive-hero { padding: 44px 0 40px; }
    .lcu-archive-hero h1 { font-size: 1.7rem; }
}

/* ── Responsive tweaks ─────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .lcu-fp-section { padding: 48px 0 60px; }
    .lcu-fp-hero { margin-bottom: 36px; }
    .lcu-contact-info { padding: 28px 22px; }
    .lcu-community-layout { gap: 20px; }
    .lcu-support-card-head { padding: 18px 20px; }
    .lcu-ticket-thread { padding: 18px 20px; }
    .lcu-reply-section { padding: 18px 20px; }
    .lcu-tickets-table-wrap { padding: 0 16px 20px; }
    .lcu-event-content { padding: 24px 20px; }
    .lcu-event-sidebar-card { padding: 22px 18px; }
}
@media (max-width: 480px) {
    .lcu-fp-btn { padding: 11px 20px; }
    .lcu-create-post { flex-direction: column; }
    .lcu-create-post img { align-self: flex-start; }
    .lcu-thread-msg { flex-direction: column; }
    .lcu-msg-body { width: 100%; }
}

/* ── TutorStarter theme overrides: remove unwanted wrappers / spacing ─────── */

/* All LCU custom templates and shortcode pages */
.lcu-fp-page .site-content,
.page-template-page-updates-php .site-content,
.post-type-archive-lcu_event .site-content,
.single-lcu_event .site-content {
    padding: 0 !important;
    margin-top: 0 !important;
}

/* Shortcode pages (community / contact / support): kill container constraints */
.lcu-fp-page .container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
.lcu-fp-page .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100%;
}
.lcu-fp-page #primary,
.lcu-fp-page .content-area,
.lcu-fp-page .site-main {
    padding: 0 !important;
    margin: 0 !important;
}
.lcu-fp-page .entry-header { display: none !important; }
.lcu-fp-page .entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.lcu-fp-page article.page { padding: 0 !important; }

/* AJAX loading state */
.lcu-cards-loading {
    opacity: .45;
    pointer-events: none;
    transition: opacity .18s ease;
}
