
/* Clear post cards inspired by the supplied reference. */
body.community-layout .card{background:#fff;border:1px solid #e2e7ed;border-radius:20px;padding:22px;box-shadow:0 3px 12px rgb(25 43 61 / 5%);overflow:hidden}
body.community-layout main #listings{gap:18px}
body.community-layout .card .card-top{margin:0 0 12px}
body.community-layout .card .card-icon-label{gap:8px}
body.community-layout .card .card-top .icon{display:none}
body.community-layout .card .accommodation-label{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;padding:7px 12px;border:1px solid #cfe0ee;border-radius:9px;background:#edf5fc;color:#174c73;font-size:14px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
body.community-layout .card .title-publishing-info{position:relative;display:grid;grid-template-columns:1fr;min-height:42px;padding-left:54px;gap:3px;margin:0 0 16px;align-content:center}
body.community-layout .card .post-profile-avatar{width:42px;height:42px;border-radius:12px;border:1px solid #e0e8ef;background:#eaf3fb;font-size:14px}
body.community-layout .card .listing-author-label{display:none}
body.community-layout .card .title-publishing-info .post-author-chat{font-size:15px;font-weight:700;color:#182d40;line-height:1.4}
body.community-layout .card .title-publishing-info .listing-date{font-size:11px;color:#77828e;line-height:1.4}
body.community-layout .card h3{font-size:20px;font-weight:700;line-height:1.4;color:#142638;margin:0 0 10px;letter-spacing:-.3px;overflow-wrap:anywhere}
body.community-layout .card .description{font-size:15px;line-height:1.7;color:#344352;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0 16px}
body.community-layout .card .location{font-size:13px;line-height:1.5;color:#72808e;margin:0 0 10px}
body.community-layout .card .tags{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 12px}
body.community-layout .card .tags:empty{display:none}
body.community-layout .card .tags span{padding:5px 9px;border-radius:7px;background:#f0f3f6;color:#526270;font-size:11px;line-height:1.4}
body.community-layout .card .photo-grid{gap:7px;margin:12px 0}.community-layout .card .photo-grid img{border-radius:12px}
body.community-layout .card .post-action-row{padding:12px 0 0;margin-top:8px;gap:8px;border-top:1px solid #edf0f3;align-items:center}
body.community-layout .card .post-action-row>button,body.community-layout .card .post-action-row .owner-actions button{border:1px solid #e4ebf2;background:#f7f9fc;border-radius:10px;min-width:36px;height:40px;min-height:40px;flex-basis:40px;color:#42647f}
body.community-layout .card .post-action-row .post-save-action[aria-pressed=true]{background:#eaf4ff;color:#0868b9;flex-basis:auto}
body.community-layout .card .post-action-row .owner-actions [data-owner-action=delete]{color:#bf4654;background:#fff7f8;border-color:#f4e2e5}
body.community-layout .card.no-price .card-bottom{display:none}
@media(max-width:700px){
body.community-layout .card{padding:14px;border-radius:17px;box-shadow:0 2px 8px rgb(25 43 61 / 4%)}
body.community-layout main #listings{gap:13px}
body.community-layout .card .card-top{margin-bottom:10px}
body.community-layout .card .title-publishing-info{padding-left:44px;min-height:35px;margin-bottom:13px}
body.community-layout .card .post-profile-avatar{width:34px;height:34px;border-radius:10px;font-size:12px}
body.community-layout .card .title-publishing-info .post-author-chat{font-size:14px}
body.community-layout .card .title-publishing-info .listing-date{font-size:10px}
body.community-layout .card h3{font-size:17px;line-height:1.4}
body.community-layout .card .description{font-size:14px;line-height:1.65;margin:8px 0 14px}
body.community-layout .card .post-action-row{gap:3px;justify-content:space-between}
body.community-layout .card .post-action-row>button,body.community-layout .card .post-action-row .owner-actions button{flex-basis:32px;min-width:30px;width:32px;height:36px;min-height:36px;padding:6px;border-color:transparent}
}

@media(max-width:700px){body.community-layout .card .accommodation-label{font-size:13px;padding:6px 10px}}

/* A consistent gallery keeps image-only Ads and Events compact and readable. */
body.community-layout .card:is(.ads,.events).has-photos{display:flex;flex-direction:column;align-items:stretch;min-height:0;gap:0}
body.community-layout .card:is(.ads,.events)>.card-top{order:0}
body.community-layout .card:is(.ads,.events)>.title-publishing-info{order:1;margin-bottom:18px}
body.community-layout .card:is(.ads,.events)>h3{order:2}
body.community-layout .card:is(.ads,.events)>.listing-photos{order:3;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px;width:100%;max-width:720px;grid-row:auto;grid-column:auto;align-self:flex-start;align-items:start}
body.community-layout .card:is(.ads,.events)>.listing-photos img,body.community-layout .card:is(.ads,.events)>.listing-photos img:first-child{grid-column:auto;width:100%;height:360px;max-height:none;aspect-ratio:auto;object-fit:contain;background:#f6f8fb;border:1px solid #e2e7ed;border-radius:12px;padding:8px}
body.community-layout .card:is(.ads,.events)>.listing-photos:has(img:only-child){grid-template-columns:minmax(0,1fr);max-width:420px}
body.community-layout .card:is(.ads,.events)>.listing-photos img:only-child{height:auto;max-height:460px}
body.community-layout .card:is(.ads,.events)>.description{order:4;margin:0 0 16px;line-height:1.65;max-width:720px;width:100%}
body.community-layout .card:is(.ads,.events)>.description:empty{display:none}
body.community-layout .card:is(.ads,.events)>.available-date,body.community-layout .card:is(.ads,.events)>.tags{order:5}
body.community-layout .card:is(.ads,.events)>.tags:empty{display:none;margin:0}
body.community-layout .card:is(.ads,.events)>.post-comment-count,body.community-layout .card:is(.ads,.events)>.expired-label{order:6}
body.community-layout .card:is(.ads,.events)>.post-action-row,body.community-layout .card:is(.ads,.events)>.card-bottom,body.community-layout .card:is(.ads,.events)>.report-post-button{order:7}
body.community-layout .card:is(.ads,.events)>.post-action-row{width:100%;margin-top:0;padding-top:12px}
@media(max-width:700px){body.community-layout .card:is(.ads,.events)>.listing-photos{gap:8px;margin-bottom:14px}body.community-layout .card:is(.ads,.events)>.listing-photos img,body.community-layout .card:is(.ads,.events)>.listing-photos img:first-child{height:230px;padding:4px}body.community-layout .card:is(.ads,.events)>.listing-photos img:only-child{height:auto;max-height:380px}}
@media(max-width:440px){body.community-layout .card:is(.ads,.events)>.listing-photos{grid-template-columns:minmax(0,1fr)}body.community-layout .card:is(.ads,.events)>.listing-photos img,body.community-layout .card:is(.ads,.events)>.listing-photos img:first-child{height:auto;max-height:360px}}

/* Clear separation between posts across every topic and feed. */
body.community-layout .card{border:1px solid #bfd3e5;border-radius:18px;background:#fff;box-shadow:0 3px 12px rgb(28 65 96 / 7%);transition:border-color .18s ease,box-shadow .18s ease}
body.community-layout .card:focus-visible{outline:2px solid #0868b9;outline-offset:3px}
@media(hover:hover){body.community-layout .card:hover{border-color:#8eb5d6;box-shadow:0 5px 18px rgb(28 65 96 / 10%);transform:none}}
@media(max-width:700px){body.community-layout .card{border-radius:16px;box-shadow:0 2px 8px rgb(28 65 96 / 6%)}body.community-layout main #listings{gap:16px}}
@media(prefers-reduced-motion:reduce){body.community-layout .card{transition:none}}

/* Accent cards with a restrained footer for every topic. */
body.community-layout .card{position:relative;border:1.5px solid #91a9bf;border-radius:12px;box-shadow:0 4px 16px rgb(35 67 96 / 6%);padding:22px}
body.community-layout .card .accommodation-label{background:#f0f6fc;border:0;border-radius:6px;padding:6px 10px}
body.community-layout .card .post-action-row{background:#f8fafc;margin:4px -22px -22px;padding:12px 20px;border-top:1px solid #e9eff5;width:auto;align-self:stretch}
body.community-layout .card .post-action-row>button{background:#fff;border:1px solid #dce6ef}
@media(max-width:700px){body.community-layout .card{padding:18px}body.community-layout .card .post-action-row{margin:4px -18px -18px;padding:12px 16px}}

@media(hover:hover){body.community-layout .card:hover{border-color:#728fa9}}
.post-expiry-badge{display:inline-flex;align-items:center;gap:5px;font-size:11px!important;font-weight:600;color:#8b621e!important;background:#fff5e3;border:1px solid #f0dfbd;border-radius:7px;padding:5px 8px;line-height:1.4;white-space:nowrap;margin-left:auto}.card-top{flex-wrap:wrap;gap:8px}html[data-theme=dark] body .card .post-expiry-badge{color:#ffda91!important;background:#42351f!important;border-color:#6b5530!important}
body.community-layout .card.accommodations .card-icon-label{display:flex;flex-wrap:wrap;align-items:flex-start}body.community-layout .card .accommodation-city{flex-basis:100%;display:block;font-size:12px;font-weight:600;line-height:1.5;color:#52738e;margin-top:2px;overflow-wrap:anywhere}html[data-theme=dark] body.community-layout .card .accommodation-city{color:#b8d3e8}

body.community-layout .card .event-date-label{font-size:14px;font-weight:700;color:#175a8b;margin:12px 0}html[data-theme=dark] body.community-layout .card .event-date-label{color:#b9ddff}
