/* 언어설정 */
@charset 'utf-8';

@font-face {
  font-family: 'SUIT-Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'KCCHyerim-Regular';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2411-3@1.0/KCCHyerim-Regular.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

/* 전체설정 */
* {
  margin: 0;
  padding: 0;
  font-family: 'SUIT-Regular';
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: var(--main-text);
}

img {
  vertical-align: bottom;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;

}

.body {
  max-width: 100%;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
  /* 스크롤 막기 */
  touch-action: none;
  /* 터치 시 흔들림 방지 (모바일 UX 향상) */
}

/* 색상설정 */
:root {
  --main-navi: #204B62;
  --main-text: #333;
  --main-white: #fff;
}

/* 상세설정 ---------------------------------------------------------------------------- */


.review-section {
    padding: 6.25rem 0 0 0;
    scroll-snap-align: start;
    height: 100vh;
  }
  
  .review-header {
    max-width: 95.25rem;
    margin: 0 auto 2.5rem auto;
    padding: 0 1.25rem;
  }
  
  .review-title-box {
    margin-bottom: 0.9375rem;
  }
  
  .review-title {
    font-size: 2.5875rem;
    font-weight: bold;
    display: inline-block;
  }
  
  .review-btn-box {
    margin-bottom: 4.625rem;
    text-align: center;
  }
  
  .review-more-btn {
    display: inline-block;
    padding: 0.625rem 1.5625rem;
    border: 0.125rem solid var(--main-navi);
    border-radius: 1.875rem;
    color: var(--main-navi);
    font-weight: bold;
    font-size: 1.0rem;
    background-color: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: -5rem;
  }
  
  .review-more-btn:hover {
    background-color: var(--main-navi);
    color: white;
  }
  
  /* 후기 카드 리스트 배경 */
  
  .review_bg {
    background-color: #e9f3fa;
    padding: 4.5rem 0;
    margin-left: 0.3125rem;
  }
  
  .review-list-wrap {
    max-width: 91rem;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 1.875rem;
  }
  
  .review-slider {}
  
  
  .review-list {
    display: flex;
    flex-wrap: nowrap;
    transition: transform 0.6s ease;
    will-change: transform;
  }
  
  .review-card {
    width: 21rem;
    flex: 0 0 auto; /* 고정 너비 */
    margin-right: 1.25rem;
    border-radius: 1.25rem;
    padding: 1.25rem;
    background-color: #fff;
    border: 0.0625rem solid #ccc;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.05);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .review-top {
    margin-bottom: 0.9375rem;
  }
  
  .review-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.625rem;
  }
  
  .review-user img {
    width: 1.875rem;
    height: 1.875rem;
    object-fit: cover;
    border-radius: 50%;
  }
  
  .review-category {
    font-size: 1.25rem;
    margin-bottom: 0.625rem;
    color: #333;
  }
  
  .review-box img {
    width: 100%;
    height: 17rem;
  }
  
  .review-hashtag {
    font-size: 1.0rem;
    color: #204B62;
    margin: 0.3125rem 0;
  }
  
  .review-hashtag i {
    color: red;
    margin-right: 0.3125rem;
  }
  
  .review-lawyer {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-top: auto;
    padding-top: 0.625rem;
    margin-left: 2rem;
  }
  
  .lawyer-img {
    width: 3.75rem;
    height: 3.75rem;
    object-fit: contain;
    border-radius: 50%;
    border: 0.125rem solid #ddd;
  }
  .lawyer-info-text {
    display: flex;
    flex-direction: column;
    font-size: 0.875rem;
    color: #333;
  }
  
  .lawyer-info-text strong {
    font-weight: bold;
    font-size: 1.0rem;
  }
  
  .lawyer-specialty {
    color: #0b3c5d;
    font-weight: 500;
  }

/* 미디어 쿼리 구간------------------------------------------------------------------------------------- */


/* PC 전용 */
@media screen and (min-width: 90.0rem) {  .review-sub-title{
  text-decoration: none;
  margin-left: 15px;
}}

/* 노트북 전용 */
@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .review-sub-title{
    text-decoration: none;
    margin-left: 15px;
  }


  .review_bg{
    padding: 0;
  }
}

/* 태블릿 전용 */
@media screen and (min-width: 48rem) and (max-width: 63.9375rem) {

  .review-sub-title{
    text-decoration: none;
    margin-left: 15px;
  }
}

/* 모바일 전용 */
@media screen and (min-width: 30.0625rem) and (max-width: 47.9375rem) {

  .review-sub-title{
    text-decoration: none;
    margin-left: 15px;
  }

  .review_bg {
    background-color: #e9f3fa;
    padding: 4.5rem 0;
    margin-left: 0rem;
  }

}

@media screen and (max-width: 30.0rem) and (orientation: portrait) {


  .review-section{
    height: 100vh;
  }

  .review-card{
    width: 21.75rem;
    margin-left: 1.5px;
  }

  .review-title{
    font-size: 1.8rem;
  }

  .review-sub-title{
    font-size: 0.6rem;
    text-decoration: none;
  }


  .review-btn-box{
    margin-bottom: 0;
    margin-top: 4rem;
  }

  .review_bg {
    background-color: #e9f3fa;
    padding: 4.5rem 0;
    margin-left: 0rem;
  }
}