/* =========================================================
   We Love Medellín - Wall Page
   public/css/wall.css
   ========================================================= */

.wall-page {
    padding: 34px 0 0;
}

/* Hero */

.wall-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.48fr);
    gap: 48px;
    align-items: end;
    padding: 54px 0 34px;
}

.wall-hero-copy {
    max-width: 860px;
}

.wall-hero-copy .title-lg {
    max-width: 780px;
}

.wall-hero-copy .lead {
    max-width: 760px;
}

.wall-live-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.wall-live-stats div {
    min-width: 160px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.wall-live-stats strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.wall-live-stats span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 750;
}

.wall-hero-card {
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255, 248, 243, 0.94), rgba(255, 255, 255, 1)), #fff;
    box-shadow: var(--shadow-md);
}

.wall-hero-card > span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.wall-hero-card h2 {
    margin: 9px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 26px;
    line-height: 1.03;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.wall-hero-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}

/* Layout */

.wall-layout {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr) 330px;
    gap: 24px;
    align-items: start;
    padding-top: 18px;
}

.wall-left-rail,
.wall-right-rail {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 16px;
}

.wall-main {
    min-width: 0;
    display: grid;
    gap: 22px;
}

/* Rail cards */

.wall-rail-card {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.wall-rail-title {
    display: block;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.wall-rail-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.wall-rail-card-head .wall-rail-title {
    margin-bottom: 0;
}

.wall-rail-card-head a {
    color: var(--brand);
    font-size: 13px;
    font-weight: 850;
}

/* Filters */

.wall-filter-list {
    display: grid;
    gap: 8px;
}

.wall-filter-chip {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.wall-filter-chip i {
    width: 18px;
    color: var(--soft);
}

.wall-filter-chip:hover {
    background: var(--paper-soft);
    color: var(--ink);
}

.wall-filter-chip.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.wall-filter-chip.is-active i {
    color: #fff;
}

.wall-zone-list {
    display: grid;
    gap: 8px;
}

.wall-zone-list a {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--paper-soft);
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
}

.wall-zone-list strong {
    color: var(--brand);
}

/* Composer */

.wall-composer {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.wall-composer-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wall-composer-avatar {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    overflow: hidden;
    background: #eee;
    flex: 0 0 auto;
}

.wall-composer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wall-composer-head span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wall-composer-head h2 {
    margin: 4px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.045em;
    font-weight: 800;
}

.wall-composer textarea {
    width: 100%;
    min-height: 112px;
    margin-top: 16px;
    padding: 16px;
    resize: vertical;
    border: 1px solid var(--border);
    border-radius: 24px;
    outline: 0;
    background: var(--paper-soft);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
}

.wall-composer textarea:focus {
    border-color: var(--ink);
    background: #fff;
}

.wall-composer-link-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.wall-composer-link-row label {
    display: grid;
    gap: 7px;
}

.wall-composer-link-row span {
    color: var(--ink);
    font-size: 12px;
    font-weight: 900;
}

.wall-composer-link-row select {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: 999px;
    outline: 0;
    background: #fff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 750;
}

.wall-composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
}

.wall-composer-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wall-tool-button {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
}

.wall-tool-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.wall-composer-submit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wall-composer-submit span {
    color: var(--soft);
    font-size: 13px;
    font-weight: 800;
}

.wall-composer-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 650;
}

.wall-composer-note.is-success {
    color: #137a3a;
}

/* Mobile filters */

.wall-mobile-filter-row {
    display: none;
}

/* Feed */

.wall-feed-section {
    min-width: 0;
}

.wall-feed-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    padding: 8px 0 16px;
}

.wall-feed-head h2 {
    margin: 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.wall-feed-head p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 15px;
    font-weight: 650;
}

.wall-feed {
    display: grid;
    gap: 16px;
}

.wall-post {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 34px;
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.wall-post.is-hot {
    border-color: rgba(255, 56, 92, 0.28);
    box-shadow: 0 18px 54px rgba(255, 56, 92, 0.12);
}

.wall-post[hidden] {
    display: none !important;
}

.wall-post-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.wall-post-author {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wall-post-author img {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    object-fit: cover;
    background: #eee;
    flex: 0 0 auto;
}

.wall-post-author span {
    min-width: 0;
}

.wall-post-author strong {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
}

.wall-post-author strong i {
    color: var(--brand);
    font-size: 13px;
}

.wall-post-author small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 650;
}

.wall-post-type {
    min-width: max-content;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
}

.wall-post-body {
    padding-top: 14px;
}

.wall-post-body p {
    margin: 0;
    color: var(--ink);
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: -0.015em;
    font-weight: 550;
}

.wall-post-image {
    display: block;
    margin-top: 14px;
    overflow: hidden;
    border-radius: 28px;
    background: #f2f2f2;
}

.wall-post-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.wall-post-image:hover img {
    transform: scale(1.035);
}

.wall-related-card {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--paper-soft);
}

.wall-related-card img {
    width: 82px;
    height: 68px;
    border-radius: 18px;
    object-fit: cover;
    background: #eee;
}

.wall-related-card small {
    display: block;
    color: var(--brand);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.wall-related-card strong {
    display: block;
    margin-top: 3px;
    color: var(--ink);
    font-size: 15px;
    line-height: 1.1;
    font-weight: 900;
}

.wall-related-card em {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-style: normal;
    font-size: 13px;
    font-weight: 650;
}

.wall-related-card > i {
    color: var(--ink);
}

.wall-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.wall-post-tags a {
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

.wall-post-tags a:hover {
    color: var(--brand);
}

.wall-post-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.wall-post-actions button {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 850;
    cursor: pointer;
}

.wall-post-actions button:hover,
.wall-post-actions button.is-active {
    background: var(--paper-soft);
    color: var(--ink);
}

.wall-post-actions button.is-active i {
    color: var(--brand);
}

.wall-post-actions strong {
    color: inherit;
    font-size: 12px;
    font-weight: 900;
}

/* Discovery block */

.wall-discovery-block {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(300px, 1.25fr);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border-radius: 34px;
    background: #111;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.wall-discovery-copy {
    align-self: center;
}

.wall-discovery-copy span {
    color: #ff8fa3;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wall-discovery-copy h3 {
    margin: 9px 0 0;
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.05em;
    font-weight: 800;
}

.wall-discovery-copy p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.5;
}

.wall-discovery-events {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.wall-mini-event {
    min-width: 0;
    padding: 8px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.08);
}

.wall-mini-event img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    border-radius: 16px;
}

.wall-mini-event strong {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 13px;
    line-height: 1.15;
    font-weight: 900;
}

.wall-mini-event span {
    display: block;
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
}

/* Right rail */

.wall-hot-event-list {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.wall-hot-event {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.wall-hot-event img {
    width: 72px;
    height: 62px;
    border-radius: 18px;
    object-fit: cover;
    background: #eee;
}

.wall-hot-event strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 900;
}

.wall-hot-event small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.25;
    font-weight: 650;
}

.wall-hot-event em {
    display: block;
    margin-top: 4px;
    color: var(--brand);
    font-style: normal;
    font-size: 12px;
    font-weight: 900;
}

.wall-trend-list {
    display: grid;
    gap: 8px;
}

.wall-trend-item {
    min-height: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 0 12px;
    border-radius: 18px;
    background: var(--paper-soft);
}

.wall-trend-item strong {
    display: block;
    color: var(--ink);
    font-size: 14px;
    font-weight: 900;
}

.wall-trend-item small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
}

.wall-trend-item em {
    color: var(--brand);
    font-style: normal;
    font-size: 13px;
    font-weight: 900;
}

.wall-business-card {
    background: linear-gradient(180deg, rgba(255, 240, 243, 0.96), rgba(255, 255, 255, 1)), #fff;
}

.wall-business-card span {
    color: var(--brand);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.wall-business-card h3 {
    margin: 8px 0 0;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.wall-business-card p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.wall-business-card a {
    display: inline-flex;
    margin-top: 14px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Empty */

.wall-empty-state {
    margin-top: 16px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background: var(--paper-warm);
    color: var(--ink);
}

.wall-empty-state strong {
    display: block;
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.wall-empty-state p {
    margin: 8px 0 0;
    color: var(--muted);
}

/* Floating compose */

.wall-floating-compose {
    display: none;
}

/* Responsive */

@media (max-width: 1240px) {
    .wall-layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .wall-right-rail {
        display: none;
    }
}

@media (max-width: 980px) {
    .wall-layout {
        grid-template-columns: 1fr;
    }

    .wall-left-rail {
        position: relative;
        top: auto;
        display: block;
    }

    .wall-left-rail .wall-rail-card:not(:first-child) {
        display: none;
    }

    .wall-filter-list {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .wall-filter-list::-webkit-scrollbar {
        display: none;
    }

    .wall-filter-chip {
        width: auto;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}

@media (max-width: 860px) {
    .wall-hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 44px;
    }

    .wall-hero-card {
        max-width: 560px;
    }

    .wall-discovery-block {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .wall-page {
        padding-top: 16px;
    }

    .wall-hero {
        padding: 34px 0 24px;
    }

    .wall-hero-copy .title-lg {
        font-size: clamp(34px, 10vw, 48px);
        line-height: 0.98;
    }

    .wall-hero-copy .lead {
        font-size: 16px;
        line-height: 1.58;
    }

    .wall-live-stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .wall-live-stats div {
        min-width: 0;
        padding: 13px 10px;
        border-radius: 20px;
    }

    .wall-live-stats strong {
        font-size: 22px;
    }

    .wall-live-stats span {
        font-size: 11px;
        line-height: 1.2;
    }

    .wall-hero-card {
        padding: 20px;
        border-radius: 26px;
    }

    .wall-layout {
        padding-top: 6px;
    }

    .wall-left-rail {
        display: none;
    }

    .wall-mobile-filter-row {
        position: sticky;
        top: 68px;
        z-index: 20;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(14px);
        scrollbar-width: none;
    }

    .wall-mobile-filter-row::-webkit-scrollbar {
        display: none;
    }

    .wall-mobile-filter {
        min-height: 38px;
        flex: 0 0 auto;
        padding: 0 13px;
        border: 1px solid var(--border);
        border-radius: 999px;
        background: #fff;
        color: var(--muted);
        font-size: 13px;
        font-weight: 850;
    }

    .wall-mobile-filter.is-active {
        border-color: var(--ink);
        background: var(--ink);
        color: #fff;
    }

    .wall-composer {
        padding: 15px;
        border-radius: 28px;
    }

    .wall-composer-head h2 {
        font-size: 22px;
    }

    .wall-composer textarea {
        min-height: 96px;
        border-radius: 22px;
        font-size: 15px;
    }

    .wall-composer-link-row {
        grid-template-columns: 1fr;
    }

    .wall-composer-actions {
        display: grid;
        gap: 12px;
    }

    .wall-composer-tools {
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: none;
    }

    .wall-composer-tools::-webkit-scrollbar {
        display: none;
    }

    .wall-tool-button {
        flex: 0 0 auto;
    }

    .wall-composer-submit {
        justify-content: space-between;
    }

    .wall-feed-head {
        display: block;
        padding-top: 4px;
    }

    .wall-feed-head .section-link {
        display: inline-flex;
        margin-top: 12px;
    }

    .wall-post {
        padding: 15px;
        border-radius: 28px;
    }

    .wall-post-head {
        gap: 10px;
    }

    .wall-post-author img {
        width: 44px;
        height: 44px;
        border-radius: 16px;
    }

    .wall-post-type {
        display: none;
    }

    .wall-post-body p {
        font-size: 16px;
    }

    .wall-post-image {
        border-radius: 24px;
    }

    .wall-post-image img {
        aspect-ratio: 16 / 11;
    }

    .wall-related-card {
        grid-template-columns: 70px minmax(0, 1fr);
        border-radius: 22px;
    }

    .wall-related-card img {
        width: 70px;
        height: 62px;
        border-radius: 16px;
    }

    .wall-related-card > i {
        display: none;
    }

    .wall-post-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 4px;
    }

    .wall-post-actions button {
        min-height: 40px;
        gap: 4px;
        font-size: 0;
    }

    .wall-post-actions button i,
    .wall-post-actions button strong {
        font-size: 14px;
    }

    .wall-discovery-block {
        padding: 16px;
        border-radius: 28px;
    }

    .wall-discovery-events {
        grid-template-columns: 1fr;
    }

    .wall-mini-event {
        display: grid;
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 10px;
        align-items: center;
    }

    .wall-mini-event img {
        width: 82px;
        height: 64px;
        aspect-ratio: auto;
    }

    .wall-floating-compose {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 60;
        width: 56px;
        height: 56px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 999px;
        background: var(--brand);
        color: #fff;
        font-size: 19px;
        box-shadow: 0 18px 36px rgba(255, 56, 92, 0.32);
    }
}

@media (max-width: 430px) {
    .wall-live-stats {
        grid-template-columns: 1fr;
    }

    .wall-post-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wall-post-actions button {
        font-size: 13px;
    }
}
