/* Фаза 10 — публични кампании и събития */

.page-campaigns-main {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
}

.campaigns-page {
    max-width: 1320px;
}

.campaigns-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 20px;
    margin-bottom: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.campaigns-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.92), rgba(227, 24, 24, 0.85));
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.campaigns-hero__icon .icon,
.campaigns-hero__icon svg {
    width: 26px;
    height: 26px;
}

.campaigns-hero__main {
    flex: 1 1 260px;
    min-width: 0;
}

.campaigns-hero__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 8px;
}

.campaigns-hero__title {
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.campaigns-hero__lead {
    margin: 0;
    max-width: 52ch;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(240, 244, 250, 0.72);
}

.campaigns-hero__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6bb8ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.campaigns-hero__link:hover {
    color: #fff;
}

.campaigns-hero__link .icon {
    width: 16px;
    height: 16px;
}

/* campaigns.php — три карти на един ред (flex, без пренасяне) */
.page-campaigns-main .campaigns-page > .campaign-grid.campaign-grid--page {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 18px;
    margin-bottom: 28px;
    width: 100%;
}

.page-campaigns-main .campaigns-page > .campaign-grid--page > a.campaign-card {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    width: auto;
}

a.campaign-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.page-campaigns-head,
.page-events-main .page-campaigns-head {
    margin-bottom: 28px;
}

/* —— Списък събития —— */
.page-events-main {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
}

.events-page {
    max-width: 960px;
}

.events-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px 20px;
    margin-bottom: 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.events-hero__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    color: #fff;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.85), rgba(26, 140, 255, 0.9));
    box-shadow: 0 8px 24px rgba(0, 140, 255, 0.25);
}

.events-hero__icon .icon,
.events-hero__icon svg {
    width: 26px;
    height: 26px;
}

.events-hero__main {
    flex: 1 1 260px;
    min-width: 0;
}

.events-hero__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 20px;
    margin-bottom: 8px;
}

.events-hero__title {
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(1.55rem, 2.8vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
}

.events-hero__lead {
    margin: 0;
    max-width: 56ch;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(240, 244, 250, 0.72);
}

.events-hero__campaign {
    color: #8ec8ff;
    font-weight: 600;
    text-decoration: none;
}

.events-hero__campaign:hover {
    color: #fff;
    text-decoration: underline;
}

.events-hero__link {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6bb8ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.events-hero__link:hover {
    color: #fff;
}

.events-hero__link .icon {
    width: 16px;
    height: 16px;
}

.events-empty {
    text-align: center;
    padding: 48px 28px 52px;
    border-radius: 16px;
    border: 1px dashed rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(8, 16, 32, 0.65) 0%, rgba(4, 10, 22, 0.4) 100%);
}

.events-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    border-radius: 18px;
    color: rgba(0, 229, 255, 0.9);
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.18);
}

.events-empty__icon .icon,
.events-empty__icon svg {
    width: 30px;
    height: 30px;
}

.events-empty__title {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
}

.events-empty__text {
    margin: 0 auto 22px;
    max-width: 46ch;
    font-size: 15px;
    line-height: 1.6;
    color: rgba(240, 244, 250, 0.62);
}

.events-empty__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
    margin: 0;
}

.events-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.event-card {
    display: flex;
    align-items: stretch;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    background: rgba(8, 14, 28, 0.55);
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.event-card:hover {
    border-color: rgba(0, 229, 255, 0.32);
    background: rgba(12, 22, 44, 0.78);
    transform: translateY(-1px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32);
}

.event-card__date {
    flex: 0 0 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(0, 229, 255, 0.14), rgba(26, 140, 255, 0.1));
    border: 1px solid rgba(0, 229, 255, 0.22);
    text-align: center;
    line-height: 1.1;
}

.event-card__weekday {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.85);
    margin-bottom: 2px;
}

.event-card__day {
    font-size: 1.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.event-card__month {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(240, 244, 250, 0.75);
}

.event-card__year {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(240, 244, 250, 0.45);
}

.event-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.event-card__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
}

.event-card:hover .event-card__title {
    color: #8ec8ff;
}

.event-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    margin: 0;
}

.event-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(240, 244, 250, 0.58);
}

.event-card__meta-item .icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    opacity: 0.75;
}

.event-card__campaign {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(107, 184, 255, 0.85);
}

.event-card__arrow {
    flex: 0 0 auto;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(240, 244, 250, 0.35);
    background: rgba(255, 255, 255, 0.04);
    transition: color 0.15s ease, background 0.15s ease;
}

.event-card__arrow .icon {
    width: 16px;
    height: 16px;
}

.event-card:hover .event-card__arrow {
    color: #fff;
    background: rgba(0, 229, 255, 0.18);
}

@media (max-width: 560px) {
    .event-card {
        flex-wrap: wrap;
        gap: 12px 14px;
    }

    .event-card__date {
        flex-direction: row;
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 4px 10px;
        padding: 10px 14px;
    }

    .event-card__day {
        font-size: 1.35rem;
    }

    .event-card__arrow {
        display: none;
    }
}

.page-campaigns-intro {
    margin: 8px 0 0;
    color: var(--text-muted, #9ca3af);
    max-width: 640px;
}

.page-campaigns-links {
    margin: 12px 0 0;
}

.page-campaigns-links a {
    font-weight: 600;
    color: var(--neon, #00e5ff);
}

/* —— Детайл кампания —— */
.campaign-detail-main {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
}

.campaign-detail-page {
    max-width: 960px;
}

.campaign-back {
    margin: 0 0 1.25rem;
    font-size: 14px;
}

.campaign-back a {
    color: #6bb8ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.campaign-back a:hover {
    color: #fff;
}

.campaign-detail {
    margin: 0 0 2rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 16, 30, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}

.campaign-detail--red {
    border-color: rgba(227, 24, 24, 0.35);
}

.campaign-detail--blue {
    border-color: rgba(26, 140, 255, 0.35);
}

.campaign-detail--orange {
    border-color: rgba(245, 158, 11, 0.35);
}

.campaign-detail--green {
    border-color: rgba(34, 197, 94, 0.35);
}

.campaign-detail__hero {
    position: relative;
    min-height: clamp(220px, 36vw, 300px);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.campaign-detail__hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.97) 0%, rgba(5, 10, 20, 0.5) 50%, rgba(5, 10, 20, 0.2) 100%);
    pointer-events: none;
}

.campaign-detail--red .campaign-detail__hero::after,
.campaign-detail--blue .campaign-detail__hero::after,
.campaign-detail--orange .campaign-detail__hero::after,
.campaign-detail--green .campaign-detail__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.campaign-detail--red .campaign-detail__hero::after {
    background: linear-gradient(135deg, rgba(227, 24, 24, 0.28) 0%, transparent 55%);
}

.campaign-detail--blue .campaign-detail__hero::after {
    background: linear-gradient(135deg, rgba(26, 140, 255, 0.28) 0%, transparent 55%);
}

.campaign-detail--orange .campaign-detail__hero::after {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.28) 0%, transparent 55%);
}

.campaign-detail--green .campaign-detail__hero::after {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.28) 0%, transparent 55%);
}

.campaign-detail__hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 1.75rem 1.75rem 1.5rem;
}

.campaign-detail__status {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.campaign-detail__title {
    margin: 0.75rem 0 0.5rem;
    font-family: var(--font-primary);
    font-size: clamp(1.45rem, 3.2vw, 2.1rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    max-width: 28ch;
}

.campaign-detail__lead {
    margin: 0;
    max-width: 52ch;
    font-size: 1.05rem;
    line-height: 1.55;
    color: rgba(240, 244, 250, 0.88);
}

.campaign-detail__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 14px 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 10, 20, 0.55);
}

.campaign-detail__events-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6bb8ff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.15s ease;
}

.campaign-detail__events-link:hover {
    color: #fff;
}

.campaign-detail__events-link .icon {
    width: 16px;
    height: 16px;
}

.page-campaign-detail .campaign-detail__toolbar .civic-share {
    margin: 0;
}

.page-campaign-detail .campaign-detail__toolbar .civic-share__label {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(240, 244, 250, 0.55);
}

.page-campaign-detail .campaign-detail__toolbar .signal-share__buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.page-campaign-detail .campaign-detail__toolbar .signal-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: #c8d0dc;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.page-campaign-detail .campaign-detail__toolbar .signal-share__btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.22);
}

.page-campaign-detail .campaign-detail__toolbar .signal-share__btn .icon {
    width: 18px;
    height: 18px;
}

.page-campaign-detail .campaign-detail__toolbar .signal-share__btn--facebook:hover {
    color: #6ea8ff;
}

.campaign-detail__layout {
    display: grid;
    grid-template-columns: 1fr minmax(240px, 280px);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.campaign-detail__main {
    padding: 1.5rem 1.75rem 1.75rem;
    min-width: 0;
}

.campaign-detail__text {
    line-height: 1.65;
    color: rgba(240, 244, 250, 0.88);
    margin: 0;
}

.campaign-detail__dates {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin: 1.25rem 0 0;
    font-size: 0.88rem;
    color: rgba(240, 244, 250, 0.55);
}

.campaign-detail__dates span::before {
    content: '·';
    margin-right: 8px;
    opacity: 0.5;
}

.campaign-detail__dates span:first-child::before {
    content: none;
    margin: 0;
}

.campaign-detail__aside {
    padding: 1.5rem 1.5rem 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 10, 20, 0.45);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.campaign-detail__stats {
    text-align: center;
}

.campaign-detail__stats-value {
    margin: 0;
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1;
    color: #fff;
}

.campaign-detail__stats-label {
    margin: 0.25rem 0 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(240, 244, 250, 0.55);
}

.campaign-detail__stats-goal {
    margin: 0.5rem 0 0.75rem;
    font-size: 0.85rem;
    color: rgba(240, 244, 250, 0.65);
}

.campaign-detail--red .campaign-progress--detail .campaign-progress-fill {
    background: var(--red);
}

.campaign-detail--blue .campaign-progress--detail .campaign-progress-fill {
    background: var(--blue);
}

.campaign-detail--orange .campaign-progress--detail .campaign-progress-fill {
    background: #f59e0b;
}

.campaign-detail--green .campaign-progress--detail .campaign-progress-fill {
    background: #22c55e;
}

.campaign-progress--detail {
    margin: 0;
}

.campaign-progress--detail .campaign-progress-bar {
    height: 6px;
    border-radius: 6px;
}

.campaign-detail__actions {
    margin-top: auto;
}

.campaign-detail__cta {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.campaign-detail__supported {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
}

.campaign-detail__supported .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.campaign-support-form {
    margin: 0;
}

.campaign-support-form--withdraw {
    margin-top: 0.65rem;
}

.campaign-detail__cta--withdraw {
    width: 100%;
    min-height: 44px;
    border-radius: 10px;
    font-weight: 600;
}

.campaign-detail__section {
    margin-bottom: 2rem;
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 16, 30, 0.65);
}

.campaign-detail__section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 1rem;
}

.campaign-detail__section-head h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(240, 244, 250, 0.92);
}

.campaign-detail__section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #6bb8ff;
    text-decoration: none;
}

.campaign-detail__section-link:hover {
    color: #fff;
}

.campaign-detail__section-link .icon {
    width: 14px;
    height: 14px;
}

.campaign-detail__section-actions {
    margin: 1.25rem 0 0;
}

.campaign-detail__create-group {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: 50px;
    padding: 0 24px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, rgba(227, 24, 24, 0.95), rgba(245, 158, 11, 0.88));
    box-shadow: 0 10px 28px rgba(227, 24, 24, 0.32);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.campaign-detail__create-group .icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.campaign-detail__create-group:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 32px rgba(227, 24, 24, 0.4);
    filter: brightness(1.06);
}

.campaign-detail--blue .campaign-detail__create-group {
    background: linear-gradient(135deg, rgba(26, 140, 255, 0.95), rgba(59, 130, 246, 0.85));
    box-shadow: 0 10px 28px rgba(26, 140, 255, 0.28);
}

.campaign-detail--blue .campaign-detail__create-group:hover {
    box-shadow: 0 14px 32px rgba(26, 140, 255, 0.38);
}

.campaign-detail--orange .campaign-detail__create-group {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.95), rgba(227, 24, 24, 0.82));
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.28);
}

.campaign-detail--orange .campaign-detail__create-group:hover {
    box-shadow: 0 14px 32px rgba(245, 158, 11, 0.38);
}

.campaign-detail--green .campaign-detail__create-group {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.95), rgba(26, 140, 255, 0.82));
    box-shadow: 0 10px 28px rgba(34, 197, 94, 0.25);
}

.campaign-detail--green .campaign-detail__create-group:hover {
    box-shadow: 0 14px 32px rgba(34, 197, 94, 0.35);
}

.campaign-detail__create-group--guest {
    background: linear-gradient(135deg, rgba(80, 100, 130, 0.9), rgba(50, 70, 100, 0.85));
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.campaign-group-cards,
.campaign-events-cards {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.campaign-group-card,
.campaign-event-card {
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 14, 28, 0.55);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.campaign-group-card:hover,
.campaign-event-card:hover {
    border-color: rgba(107, 184, 255, 0.28);
    background: rgba(12, 22, 44, 0.75);
}

.campaign-group-card a,
.campaign-event-card a {
    display: block;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-bottom: 4px;
}

.campaign-group-card a:hover,
.campaign-event-card a:hover {
    color: #8ec8ff;
}

.campaign-group-card span,
.campaign-event-card__meta {
    display: block;
    font-size: 0.85rem;
    color: rgba(240, 244, 250, 0.55);
}

@media (max-width: 768px) {
    .campaign-detail__layout {
        grid-template-columns: 1fr;
    }

    .campaign-detail__aside {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .campaign-detail__title {
        max-width: none;
    }

    .campaign-detail__toolbar {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 1.25rem;
    }
}

.events-public-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.events-public-item {
    padding: 18px 20px;
}

.events-public-meta {
    margin: 6px 0 0;
    font-size: 0.9rem;
    color: var(--text-muted, #9ca3af);
}

/* —— Детайл събитие —— */
.page-event-detail-main {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 48px;
}

.event-detail-page {
    max-width: 960px;
}

.event-back {
    margin: 0 0 1.25rem;
    font-size: 14px;
}

.event-back a {
    color: #6bb8ff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.event-back a:hover {
    color: #fff;
}

.event-detail {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 229, 255, 0.22);
    background: rgba(10, 16, 30, 0.92);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.38);
}

.event-detail--past {
    border-color: rgba(255, 255, 255, 0.1);
    opacity: 0.92;
}

.event-detail__hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 18px 22px;
    padding: 1.5rem 1.75rem 1.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.1) 0%, rgba(26, 140, 255, 0.06) 45%, transparent 75%);
}

.event-detail__date {
    flex: 0 0 88px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(0, 229, 255, 0.16), rgba(26, 140, 255, 0.12));
    border: 1px solid rgba(0, 229, 255, 0.28);
    text-align: center;
    line-height: 1.1;
    box-shadow: 0 8px 22px rgba(0, 140, 255, 0.12);
}

.event-detail__weekday {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(0, 229, 255, 0.9);
    margin-bottom: 3px;
}

.event-detail__day {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.event-detail__month {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(240, 244, 250, 0.72);
}

.event-detail__year {
    margin-top: 2px;
    font-size: 11px;
    color: rgba(240, 244, 250, 0.45);
}

.event-detail__hero-main {
    flex: 1 1 260px;
    min-width: 0;
}

.event-detail__status {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.event-detail__status--published {
    background: rgba(0, 229, 255, 0.14);
    color: #7ee8ff;
    border-color: rgba(0, 229, 255, 0.32);
}

.event-detail__status--cancelled {
    background: rgba(239, 68, 68, 0.14);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.32);
}

.event-detail__status--draft {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(240, 244, 250, 0.65);
    border-color: rgba(255, 255, 255, 0.14);
}

.event-detail__status--past {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(240, 244, 250, 0.55);
    border-color: rgba(255, 255, 255, 0.12);
}

.event-detail__title {
    margin: 0.75rem 0 0.65rem;
    font-family: var(--font-primary);
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: #fff;
}

.event-detail__when {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(240, 244, 250, 0.72);
}

.event-detail__when-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(0, 229, 255, 0.85);
}

.event-detail__when-icon .icon,
.event-detail__when-icon svg {
    width: 18px;
    height: 18px;
}

.event-detail__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 0;
    align-items: start;
}

.event-detail__main {
    padding: 1.5rem 1.75rem 1.75rem;
}

.event-detail__aside {
    padding: 1.5rem 1.5rem 1.75rem;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.event-detail__section-title {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(240, 244, 250, 0.52);
}

.event-detail__text {
    line-height: 1.65;
    color: rgba(240, 244, 250, 0.88);
    font-size: 1.02rem;
}

.event-detail__info + .event-detail__info {
    margin-top: 1.35rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.event-detail__where {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    color: rgba(240, 244, 250, 0.82);
}

.event-detail__where strong {
    display: block;
    color: #fff;
    font-weight: 700;
}

.event-detail__address {
    display: block;
    margin-top: 4px;
    color: rgba(240, 244, 250, 0.58);
}

.event-detail__where-icon {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: rgba(0, 229, 255, 0.9);
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.event-detail__where-icon .icon,
.event-detail__where-icon svg {
    width: 18px;
    height: 18px;
}

.event-detail__campaign-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: rgba(245, 158, 11, 0.08);
    color: #fcd34d;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.event-detail__campaign-link:hover {
    background: rgba(245, 158, 11, 0.14);
    border-color: rgba(245, 158, 11, 0.42);
    color: #fff;
}

.event-detail__campaign-link .icon {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .event-detail__hero {
        padding: 1.25rem;
    }

    .event-detail__layout {
        grid-template-columns: 1fr;
    }

    .event-detail__aside {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .event-detail__main,
    .event-detail__aside {
        padding: 1.25rem;
    }
}

.feed-card--campaign {
    border-color: rgba(245, 158, 11, 0.45);
}

.feed-card--campaign.feed-card--red {
    border-color: rgba(227, 24, 24, 0.45);
}

.feed-card--campaign.feed-card--blue {
    border-color: rgba(26, 140, 255, 0.45);
}

.feed-card--event {
    border-color: rgba(0, 229, 255, 0.35);
}

.campaign-card {
    cursor: pointer;
}

.search-form--page {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    max-width: 640px;
}

.search-form--page .search-input {
    flex: 1 1 220px;
    min-width: 0;
}

.search-results-block {
    margin-bottom: 20px;
    padding: 20px 24px;
}

.search-results-block h2 {
    margin: 0 0 12px;
    font-size: 1.1rem;
}

.search-results-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.search-results-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.search-results-list li a {
    font-weight: 600;
}

.search-results-list li span {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted, #9ca3af);
    margin-top: 4px;
}

.my-campaigns-list {
    display: grid;
    gap: 12px;
}

.my-campaigns-item {
    padding: 16px 20px;
}

@media (max-width: 768px) {
    .page-campaigns-main .campaigns-page > .campaign-grid.campaign-grid--page {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .page-campaigns-main .campaigns-page > .campaign-grid--page > a.campaign-card {
        flex: 0 0 auto;
        width: 100%;
    }

    .campaigns-hero__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}
