.main {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.8) 0%, rgba(226, 232, 240, 0.8) 100%);
  padding: 20px 0;
}

.container-place {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 헤더 스타일 */
.place-header {
  margin: 40px 0 50px;
  text-align: center;
  position: relative;
}

.page-title {
  display: inline-flex;
  margin: 40px 0 50px;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 700;
  color: #2d3748;
  background: rgba(255, 255, 255, 0.9);
  padding: 34px 35px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 87, 146, 0.2);
  border: 1px solid rgba(0, 87, 146, 0.1);
}

.title-icon {
  font-size: 32px;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.header-gradient {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #005792, #001A2C);
  border-radius: 2px;
  opacity: 0.7;
}

/* 장소 정보 스타일 */
.place-image-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 20px;
  font-size: 24px;
  font-weight: 600;
  color: #2d3748;
}

.location-icon {
  width: 28px;
  height: 28px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.place-name {
  color: #005792;
  font-weight: 700;
  font-size: clamp(22px, 4vw, 35px)
}

.placeInfo {
  display: flex;
  height: 400px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.placeInfo:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.place-image {
  flex: 1;
  line-height: 0;
  position: relative;
  overflow: hidden;
  margin: 0;
}

.place {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.place:hover {
  transform: scale(1.05);
}

.blank {
  flex: 1;
  /* 왼쪽 공간 확보용 */
}

.overlay-content h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.overlay-content p {
  font-size: 16px;
  opacity: 0.9;
}
/* 장소 태그 스타일  */

.place-tag {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin: 50px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}

.tag-icon {
  font-size: 32px;
}

.tag-info {
  padding: 20px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);

  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}


.tag-item {
  background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 20px;
  font-weight: 550;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.tag-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 87, 146, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.place-tag-info {
  position: relative;
  width: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heart-img-wrapper {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 22px;
  height: 22px;
  cursor: pointer;
  margin: 0;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.heart-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.heart-img-wrapper:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.28));
}
.heart-button-wrapper { display: none; }

.like-btn {
  color: #ff4757;
}
.like-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 60px;
  height: 60px;
  font-size: 33px;
  display: flex
;
  align-items: center;
  justify-content: center;
  line-height: 1;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 26, 44, 0.1);
  transition: color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}
.like-btn.liked {
  color: #ff4757;
  animation: heartBeat 0.6s ease-in-out;
}

.like-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  transform: scale(1.1); /* 레이아웃에 영향을 주지 않는 transform 사용 */
  box-shadow: 0 6px 20px rgba(0, 26, 44, 0.15);
}

.detail-icon {
  font-size: 32px;
}


.info-item:hover {
  background: rgba(0, 87, 146, 0.15);
}

/* 상세 내용 스타일 */
.place-detail-wrapper {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}


/* 매칭 서비스 스타일 */
.container-match-service {
  margin: 60px auto 0;
  max-width: 1200px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 87, 146, 0.1);
  margin-top: 120px;
}

.container-title {
  background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
  color: white;
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
}

.service-icon {
  font-size: 26px;
}

.container {
  display: flex;
  align-items: center;
  padding: 40px 32px;
  gap: 30px;
}

.container-guide {
  flex: 1;
}

.title-service {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 12px;
}

.service-description {
  font-size: 16px;
  color: #4a5568;
  margin-bottom: 24px;
  line-height: 1.6;
}

.guide-body {
  height: 20px;
}

.button-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.guide-btn,
.ask-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.guide-btn {
  background: linear-gradient(135deg, #005792 0%, #001A2C 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 87, 146, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.guide-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 87, 146, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.ask-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #005792;
  border-color: #005792;
  backdrop-filter: blur(10px);
}

.ask-btn:hover {
  background: rgba(0, 87, 146, 0.1);
  transform: translateY(-2px);
  border-color: #005792;
}

.btn-arrow,
.btn-plus {
  font-size: 18px;
  font-weight: bold;
}

.introduction-image {
  flex: 1;
  position: relative;
  text-align: center;
}

.introduction-image img {
  max-width: 100%;
  max-height: 250px;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.introduction-image:hover img {
  transform: scale(1.02);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .container-place {
    padding: 0 16px;
  }

  .container-match-service {
    max-width: 95%;
    margin: 40px auto 0;
  }

  .page-title {
    font-size: 24px;
    padding: 12px 24px;
  }

  .placeInfo {
    flex-direction: column;
  }

  .place-tag-info {
    width: 100%;
    padding: 20px;
  }

  .container {
    flex-direction: column;
    padding: 30px 20px;
  }

  .title-service {
    font-size: 24px;
  }

  .button-group {
    flex-direction: column;
  }

  .guide-btn,
  .ask-btn {
    justify-content: center;
    width: 100%;
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

.place-detail-wrapper .content-section p#overviewPreview,
.place-detail-wrapper .content-section p#overviewMoreBody {
  font-size: 20px;  /* 기존 16px +5px */
  line-height: 1.8;
  color: #374151;
}

/* ===== 장애인 편의 정보 스타일 ===== */

.accessibility-grid {
  display: grid;
  gap: 20px;
}
.accessibility-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.08);
}

.accessibility-item .icon {
  font-size: 28px;
  color: #0284c7;
  flex-shrink: 0;
}

.accessibility-item .label {
  font-weight: 600;
  font-size: 23px;
  color: #1e3a8a;
}

.accessibility-item .value {
  font-size: 20px;
  color: #2d3748;
  margin-top: 15px;
}

/* 480px */
@media (max-width: 480px) {
  .page-title {
    font-size: 20px;     /* 더 작게 */
    padding: 30px 31px;  /* 얇게 */
  }
  /* 컨테이너 좌우 여백 제거 */
  .main {
    width: 100%;
  }
  body {
    margin: 0;     /* 기본 여백 제거 */
    padding: 0;    /* 혹시 모를 패딩도 제거 */
  }


  /* 버튼: 가로 꽉 차게(한 줄씩) + 좌우 여백 없음 */
  .guide-btn,
  .ask-btn {
    display: flex;
    width: 300px;
    justify-content: center;
    align-items: center;
      font-size: 14px;
      padding: 12px 12px;
      margin: 10px auto 0 auto;
      box-sizing: border-box;
  }

}

.notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: white;
  z-index: 10000;
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-15px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  max-width: 320px;
  line-height: 1.4;
}
.notification.show {
  opacity: 1;
  transform: translateY(0);
}
.notification.info    { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.notification.success { background: linear-gradient(135deg, #22c55e, #16a34a); }
.notification.warning { background: linear-gradient(135deg, #f59e0b, #d97706); }
.notification.error   { background: linear-gradient(135deg, #ef4444, #dc2626); }
/* 하트 애니메이션 */
@keyframes heartBeat {
  0%   { transform: scale(1); }
  14%  { transform: scale(1.3); }
  28%  { transform: scale(1); }
  42%  { transform: scale(1.3); }
  70%  { transform: scale(1); }
}

/* ====== Weather Card ====== */
.today-weather {
  margin-bottom: 60px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
  padding: 28px 32px;
}

.today-weather .time{
  font-size: 25px;
  line-height: 1.5;
  color: #6b7280;                       /* gray-500 */
  margin: 0 0 12px;
}

.today-weather .weather {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.current-degree {
  display: flex;
  align-items: center; /* 글자 기준선에 맞춤 */
  gap: 8px;
}

.current-degree img {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
}

.current-degree span {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #2d3748;        /* 본문 진한색 */
}

/* 오탈자 있었던 클래스 정정: weather-state */
.weather-state {
  font-weight: 700;
  color: #374151;        /* gray-700 */
  margin: 0;
}

.highest-lowest-degree {
  color: #6b7280;        /* gray.today-weather .weather-500 */
  margin: 10px;
}

/* ---- Skeleton (옵션: 데이터 로딩 시) ---- */
.weather-skeleton{
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 37%, #f3f4f6 63%);
  background-size: 400% 100%;
  animation: wskeleton 1.2s ease-in-out infinite;
}
@keyframes wskeleton{
  0%{ background-position: 100% 0 }
  100%{ background-position: 0 0 }
}

/* ---- Responsive ---- */
@media (min-width: 640px){              /* ≥ sm */
  .today-weather .weather{
    grid-template-columns: auto 1fr;    /* 아이콘/온도 + 텍스트 */
    column-gap: 16px;
    align-items: center;
  }
  .current-degree span{
    line-height: 1;
    font-size: 36px;
  }
}

@media (min-width: 1024px){             /* ≥ lg */
  .today-weather{
    padding: 20px 24px;
  }
  .current-degree img{
    width: 100px;
    height: 100px;
  }
  .current-degree span{
    font-size: 30px;
  }
  .weather-state{
    font-size: 27px;
  }

  .highest-lowest-degree {
    font-size: 20px;       /* 본문 크기 */
  }
}

/* 상세정보 섹션 전체 */

/* 상단 제목 */
.place-detail {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin: 50px 0 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  justify-content: flex-start;
}
.place-detail .detail-icon {
  font-size: 1.4rem;
}

/* 정보 그리드 */
.place-detail-info .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
}

.info-item {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  padding: 1rem;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.info-item:hover {
  border-color: #005792;
  background: rgba(2, 101, 168, 0.12);
  transform: translateY(-2px);
}

/* 라벨 */
.info-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #444;
}

/* 값 */
.info-value {
  font-size: 0.95rem;
  color: #555;
  word-break: keep-all;
  line-height: 1.6;
}

/* 상세 이야기 */
.place-detail-wrapper {
  margin-top: 2rem;
}

.place-detail-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid #e6e6e6;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.place-detail-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2a7d8c;
}

.place-detail-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  white-space: pre-line;
}

/* ====== 장애인 편의 정보 (기존 스타일) ====== */
.accessibility-info {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.accessibility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.accessibility-item {
  display: flex;
  flex-direction: column;
  align-items: center;     /* 아이콘+라벨+값 모두 가운데 */
  text-align: center;      /* 텍스트도 가운데 */
  padding: 16px;
  background: rgba(0, 87, 146, 0.1);
  border-radius: 12px;
  border-left: 4px solid #005792;

  padding: 28px 24px;
}

.accessibility-item:hover {
  background: rgba(0, 87, 146, 0.15);
}

.accessibility-item .label {
  display: flex;
  align-items: center;
  justify-content: center; /* 아이콘 + 텍스트 가로 가운데 */
  gap: 8px;
  width: 100%;             /* 항목 전체 너비 차지 */
  font-weight: 600;
  font-size: 20px;
  color: #005792;
  margin-bottom: 15px;
}

.accessibility-item .value {
  font-size: 16px;
  color: #2d3748;
  margin-top: 6px;
}

/* 홈페이지 전용 카드 */
.info-item.homepage-card {
  grid-column: span 2;            /* 가로 두 칸 차지 (강조) */
  text-align: center;
  background: rgba(0, 87, 146, 0.1);
  border: none;
}

.homepage-card .info-label {
  color: black;
  font-size: 22px;
}

.homepage-link {
  display: inline-block;
  margin-top: 12px;
  padding: 12px 20px;
  background: #fff;
  color: #005792;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.homepage-link:hover {
  background: rgba(0, 87, 146, 0.15);
  color: #001A2C;
  transform: translateY(-2px);
}