/* ALYASI-Community-Detail.dc.html */

.community-detail__hero-wrap { max-width: 1000px; padding-top: 60px; }
.community-detail__hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 7; box-shadow: var(--shadow-lg); }
.community-detail__hero-media img { width: 100%; height: 100%; object-fit: cover; }
.community-detail__hero-badge { position: absolute; top: 18px; inset-inline-end: 18px; }

.community-detail__body { max-width: 900px; padding-top: 50px; }
.community-detail__title { font-size: clamp(28px, 4vw, 40px); line-height: 1.3; margin: 20px 0 26px; }

.community-detail__info-grid { margin-bottom: 36px; }
.community-detail__info-card { background: #fff; border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-sm); }
.community-detail__info-label { font-size: 12px; color: rgba(20, 32, 46, .55); margin-bottom: 6px; font-weight: 700; }
.community-detail__info-value { font-size: 15px; font-weight: 700; }

.community-detail__paragraph { font-size: 16px; line-height: 2; color: rgba(20, 32, 46, .78); margin: 0 0 24px; }

.community-detail__map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16 / 7;
    margin-bottom: 36px;
    background: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(20, 32, 46, .45);
    font-size: 14px;
    font-weight: 600;
}

.community-detail__register { margin-bottom: 20px; }

.community-detail__related { background: var(--color-surface); padding: 90px 0; }
.community-detail__related-title { margin: 10px 0 40px; }
.community-detail__related-media { aspect-ratio: 16 / 10; overflow: hidden; }
.community-detail__related-media img { width: 100%; height: 100%; object-fit: cover; }
.community-detail__related-body { padding: 20px; }
.community-detail__related-meta { font-size: 12px; color: rgba(20, 32, 46, .55); margin-bottom: 8px; }
.community-detail__related-title-text { font-size: 15px; font-weight: 700; line-height: 1.6; }

.community-detail__comments { max-width: 720px; padding: 60px 0 90px; }
.community-detail__comments-title { margin-bottom: 28px; }
.community-detail__comment-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.community-detail__comment { background: #fff; border-radius: var(--radius-md); padding: 20px 24px; box-shadow: var(--shadow-sm); }
.community-detail__comment p { font-size: 14px; color: rgba(20, 32, 46, .75); line-height: 1.8; margin: 8px 0; }
.community-detail__comment-date { font-size: 12px; color: rgba(20, 32, 46, .5); }
.community-detail__comments-empty { color: rgba(20, 32, 46, .55); font-size: 14px; margin-bottom: 36px; }

.community-detail__comment-form { background: var(--color-surface); border-radius: var(--radius-lg); padding: 28px; }

@media (max-width: 767px) {
    .community-detail__hero-wrap { padding-top: 36px; }
    .community-detail__body { padding-top: 32px; }
    .community-detail__info-grid { grid-template-columns: 1fr; }
    .community-detail__comment-form { padding: 20px; }
}
