.community-content {
    max-width: 1180px;
    margin: 0 auto;
    padding: 30px 28px 60px;
    box-sizing: border-box;
}

.community-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 34px;
    padding: 14px;
    border: 1px solid rgba(105,87,68,.55);
    border-radius: 10px;
    background: rgba(29,26,24,.88);
}

.community-jump a,
.community-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 13px;
    border: 1px solid #8c6840;
    border-radius: 6px;
    color: #f2ddbd;
    background: #221c17;
    text-decoration: none;
    font-weight: 800;
}

.community-jump a:hover,
.community-actions a:hover {
    border-color: #c69a63;
    background: #33261b;
}

.community-section {
    padding: 24px 0 40px;
    border-top: 1px solid rgba(105,87,68,.45);
}

.community-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.community-heading h2 {
    margin: 3px 0 0;
    color: var(--cream-bright);
    font-size: clamp(28px, 4vw, 42px);
}

.community-heading > p {
    max-width: 510px;
    margin: 0;
    color: #b9ab97;
    line-height: 1.5;
}

.community-grid,
.community-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.community-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.community-featured-grid { grid-template-columns: 1fr; }

.community-card {
    overflow: hidden;
    border: 1px solid rgba(105,87,68,.62);
    border-radius: 10px;
    background: #1a1817;
    box-shadow: 0 12px 24px rgba(0,0,0,.18);
}

.community-card-partner {
    border: 2px solid #9e7449;
    box-shadow: inset 0 3px 0 #a47a4d, 0 14px 28px rgba(0,0,0,.22);
}

.community-card-featured {
    display: grid;
    grid-template-columns: minmax(260px, .9fr) minmax(0, 1.4fr);
    min-height: 280px;
    border: 2px solid #c09257;
    background: linear-gradient(135deg, #211b17, #161413);
    box-shadow: inset 0 4px 0 #c09257, 0 18px 38px rgba(0,0,0,.30);
}

.community-card-image {
    height: 168px;
    background: #111;
}

.community-card-featured .community-card-image {
    height: 100%;
    min-height: 280px;
}

.community-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.community-card-logo img {
    object-fit: contain;
    padding: 18px;
    box-sizing: border-box;
    background: #121110;
}

.community-card-placeholder {
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(135deg, rgba(164,122,77,.19), transparent 55%),
        radial-gradient(circle at 80% 20%, rgba(135,23,29,.20), transparent 35%),
        #121110;
}

.community-placeholder-inner {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 18px;
    box-sizing: border-box;
    border-bottom: 3px solid #8b1a1f;
}

.community-placeholder-inner span {
    color: #c9aa7d;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.community-placeholder-inner strong {
    color: #efe1c8;
    font-size: 22px;
    line-height: 1.08;
}

.community-card-body { padding: 19px; }

.community-card-featured .community-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 30px;
}

.community-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 7px;
    color: #c9aa7d;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.community-card-meta strong {
    padding: 5px 8px;
    border: 1px solid #a98050;
    border-radius: 4px;
    color: #f3d6a8;
    background: #282019;
    font-size: 10px;
}

.community-card h3 {
    margin: 0 0 7px;
    color: var(--cream-bright);
    font-size: 24px;
    line-height: 1.12;
}

.community-card-featured h3 { font-size: clamp(30px, 4vw, 46px); }

.community-location {
    margin: 0 0 12px;
    color: #d2c2aa;
    font-weight: 700;
}

.community-description {
    margin: 0;
    color: #b9ab97;
    line-height: 1.55;
}

.community-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
}

.community-empty,
.community-admin-note {
    padding: 18px 20px;
    border: 1px dashed rgba(151,120,82,.55);
    border-radius: 9px;
    color: #b9ab97;
    background: rgba(24,22,20,.65);
}

.community-admin-note { margin-bottom: 22px; }
.community-error { border-style: solid; border-color: #8c4949; }

@media (max-width: 900px) {
    .community-grid,
    .community-grid-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .community-card-featured { grid-template-columns: 1fr; }
    .community-card-featured .community-card-image { height: 230px; min-height: 0; }
}

@media (max-width: 620px) {
    .community-content { padding-left: 18px; padding-right: 18px; }
    .community-heading { align-items: start; flex-direction: column; gap: 9px; }
    .community-grid,
    .community-grid-two { grid-template-columns: 1fr; }
    .community-jump { display: grid; grid-template-columns: 1fr 1fr; }
}
