/* ===== VIEWS STYLES ===== */
/**
 * @file: views/community/community-general.css
 * @description: 커뮤니티 페이지 스타일 정의
 * @components: 커뮤니티 헤더, 게시글 카드, 뉴스 카드
 * @usage: 커뮤니티 페이지의 스타일링에 사용
 */

#communityView {
  grid-template-columns: repeat(auto-fit, minmax(300px, 800px));
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.community-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding: 0 10px;
}

.community-header h2 {
  font-size: 2em;
  color: #1a73e8;
  margin: 0;
  font-weight: 700;
  position: relative;
}

.community-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 4px;
  background-color: #1a73e8;
  border-radius: 2px;
}

/* ===== VIEWS STYLES ===== */
/**
 * @file: views/community/community-general.css
 * @description: 커뮤니티 일반 스타일
 * @components: 글쓰기 버튼
 * @usage: 게시글 작성 버튼 스타일링
 */
#newPostBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: #1a73e8;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1em;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(26, 115, 232, 0.2);
}

#newPostBtn .material-icons-round {
  font-size: 22px;
}

#newPostBtn:hover {
  background-color: #1557b0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}
