@media (max-width: 768px) {
  .headers {
    padding: 10px 0;
  }
  .logo {
    margin: 0 auto;
    display: none;
  }

  .backArrow {
    display: block;
    cursor: pointer;
    width: 18px;
    height: 18px;
  }
  .backArrow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .Menubar {
    display: none;
  }

  .containerWrap {
    padding: 0 16px;
  }
  .sectionEventBanner h1 {
    padding-bottom: 12px;
  }
  .sectionEventBannerWrap {
    gap: 6px;
  }

  .Banner {
    padding: 3% 5%;
  }
  .Banner span {
    margin-bottom: 8px;
    font-size: 10px;
  }
  .BannerContents h3 {
    font-size: 14px;
  }
  .BannerContents p {
    font-size: 11px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: keep-all;
  }

  .topicContainer {
    margin-top: 24px;
    gap: 12px;
  }

  .topicContainer h1 {
    font-size: 20px;
  }

  .filterBtn {
    margin-top: 40px;
    margin-bottom: 16px;
    flex-direction: row;
    overflow-x: auto;
    gap: 32px;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .filterBtn::-webkit-scrollbar {
    display: none;
  }

  .filterBtn ul {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    flex-shrink: 0;
    width: auto;
    min-width: max-content;
  }

  .filterBtn ul li {
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  /* 검색 관련 스타일 */
  .boardSearchWrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    margin-left: 16px;
  }

  .boardSearchContainer {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
  }

  .boardSearchBox {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 36px;
    min-width: 36px;
    height: 36px;
    transition: all 0.3s ease;
    margin-left: 8px;
    overflow: visible;
  }

  .boardSearchInput {
    width: 0;
    padding: 8px 36px 8px 12px;
    border: none;
    background: transparent;
    outline: none;
    transition: all 0.3s ease;
    opacity: 0;
    font-size: 12px;
  }

  .boardSearchInput::placeholder {
    font-size: 12px;
  }

  .boardSearchBox.active {
    width: 160px;
    background-color: #f1f1f1;
  }

  .boardSearchBox.active .boardSearchInput {
    width: 100%;
    opacity: 1;
  }

  .boardSearchIcon {
    position: absolute;
    right: 0px;
    min-width: 36px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
    transform: translateX(10px);
  }

  .boardSearchIcon svg {
    width: 16px;
    height: 16px;
  }

  .boardSortSelect {
    flex-shrink: 0;
    white-space: nowrap;
    display: block;
    min-width: 100px;
    padding: 8px 12px;
    padding-right: 28px;
    font-size: 13px;
  }

  .boardSortSelect option {
    padding: 8px 12px;
    position: relative;
    padding-right: 28px;
  }

  .boardSortSelect option:checked {
    background: #f1f1f1
      url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.3332 4L5.99984 11.3333L2.6665 8' stroke='%23232323' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
      no-repeat right 8px center;
  }

  .boardSearchBox.active + .boardSortSelect {
    display: none;
  }

  .post-item {
    padding: 24px 16px;
  }

  .post-item:hover {
    border: initial;
  }

  .titleWrap {
    gap: 16px;
  }

  .titleWrap .thumbnail {
    flex-basis: 30%;
  }

  .textContents {
    flex-basis: 65%;
    gap: 12px;
  }

  .nickName p {
    font-size: 18px;
  }

  .textContents h3 {
    font-size: 18px;
  }

  .textContents .excerpt {
    font-size: 14px;
    -webkit-line-clamp: 2;
  }

  .textContents .date {
    font-size: 12px;
  }
}

@media (max-width: 490px) {
  .containerWrap {
    padding: 0 12px;
  }

  .filterBtn {
    gap: 24px;
  }

  .filterBtn ul {
    gap: 6px;
  }

  .filterBtn ul li {
    padding: 6px 10px;
    font-size: 12px;
  }

  .boardSearchContainer {
    gap: 0px;
    margin-left: 0px;
  }

  .boardSearchBox.active {
    width: 130px;
  }

  .boardSearchInput {
    padding: 6px 32px 6px 10px;
    font-size: 11px;
  }

  .boardSearchInput::placeholder {
    font-size: 11px;
  }

  .boardSearchIcon {
    min-width: 32px;
    padding: 14px;
    transform: translateX(10px);
  }

  .boardSearchIcon svg {
    width: 16px;
    height: 16px;
  }

  .boardSortSelect {
    min-width: 90px;
    padding: 6px 10px;
    padding-right: 24px;
    font-size: 11px;
  }

  .boardSortSelect option {
    padding: 6px 10px;
    padding-right: 24px;
    font-size: 11px;
  }

  .post-item {
    padding: 20px 12px;
  }

  .titleWrap {
    gap: 12px;
  }

  .titleWrap .thumbnail {
    flex-basis: 30%;
  }

  .textContents {
    flex-basis: 60%;
    gap: 8px;
  }

  .nickName svg {
    width: 24px;
    height: 24px;
  }

  .nickName p {
    font-size: 16px;
  }

  .textContents h3 {
    font-size: 14px;
    line-height: 1.2;
  }

  .textContents .excerpt {
    font-size: 12px;
  }

  .textContents .date {
    font-size: 11px;
  }
}
