/* index2.css - K·messe home */
:root{
  --max: 1200px;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --brand: #FF0000;
  --bg: #f7f8fb;
}

/* hero */
.kv{
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 130px;
}
.kv-image{
  display: block;
  width: 100%;
  height: auto;
  max-height: 800px;
  aspect-ratio: 1920 / 800;
  object-fit: cover;
}

/* programs */
.programs{
  background:#f4f1ec;
  margin: 0 auto;
  padding: 130px 0 0;
}
.programs-inner{
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.programs-head h3{
  font-size: 50px;
  font-weight: 900;
  color: #535353;
  letter-spacing: 0.4px;
}
.programs-head p{
  margin: 20px 0 20px;
  font-size: 25px;
  color: #444;
}
.programs-head .divider{
  display: inline-block;
  width: 200px;
  height: 2px;
  background: #222;
}
.programs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin: 60px auto 140px;
}
.program-card{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  color: inherit;
  text-decoration: none;
}
.program-card img{
  width: 100%;
  height: 300px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.program-card strong{
  font-size: 35px;
  font-weight: 600;
  color: #222;
}
.program-stats{
  background: #3a3a3a;
  padding: 40px 0;
  color: #e7ded5;
}
.program-stats-inner{
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.program-stat{
  position: relative;
  text-align: center;
  padding: 0 30px;
  height: 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.program-stat:not(:last-child)::after{
  content:'';
  position:absolute;
  right:0;
  top:16px;
  bottom:16px;
  width:1px;
  background: rgba(255,255,255,0.15);
}
.program-stat .value{
  display: inline-flex;
  align-items: center;
  gap: 25px;
  font-size: 70px;
  font-weight: 800;
  color: #C5AA94;
}
.program-stat .value .plus{display: flex;height: 33px;}
.program-stat p{
  margin-top: 6px;
  font-size: 17px;
  color: #dcd6ce;
}
.program-stat .value .plus img{
  width: 33px;
  height: 33px;
}

/* 추천 여행 */
.reco-section{
  padding: 140px 0 140px;
  background: #FEFEFE;
}
.reco-inner{
  max-width: var(--max);
  margin: 0 auto;
}
.reco-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
  position: relative;
  margin-bottom: 66px;
}
.reco-title{
  text-align: center;
  flex:1;
}
.reco-title h3{font-size: 50px;font-weight: 700;color: #535353;letter-spacing: 0.4px;}
.reco-title p{margin: 20px 0 20px;font-size: 25px;color: #444;}
.reco-title .line{
  display:inline-block;
  width: 200px;
  height:2px;
  background: #222;
}
.reco-arrows{
  display:flex;
  align-items:center;
  gap:6px;
  position: absolute;
  right: 0;
  bottom: -50px;
}
.reco-arrow{
  width: 20px;
  height: 20px;
  border:0;
  background:#8d6a36 center/16px 16px no-repeat;
  cursor:pointer;
  transition:opacity .2s ease;
  background-size: cover;
}
.reco-arrow.left{background-image:url('/img/reco_left_arrow.png');}
.reco-arrow.right{background-image:url('/img/reco_right_arrow.png');}
.reco-arrow.disabled,
.reco-arrow:disabled{
  opacity:0.35;
  cursor:default;
  background-color:#c7c2bb;
}
.reco-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap: 40px;
}
.reco-card{
  display:block;
  background:#fff;
  border-radius:4px;
  overflow:hidden;
  color:#222;
  transition:transform .2s ease, box-shadow .2s ease;
}

.reco-card .thumb{
  height: 220px;
  overflow:hidden;
  background:#ddd;
}
.reco-card .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.reco-card .meta{
  padding: 25px 0;
}
.reco-card .label{
  display:block;
  font-size: 18px;
  font-weight:700;
  color:#b2872d;
  margin-bottom: 10px;
}
.reco-card .title{
  font-size: 20px;
  font-weight:700;
  color:#222;
  line-height:1.4;
  min-height:44px;
  word-break: keep-all;
}
.reco-card .sub{
  margin-top: 15px;
  font-size:13px;
  color:#757575;
}
.reco-empty{
  grid-column:1/-1;
  text-align:center;
  padding:40px 0;
  color:#666;
}

/* 공지사항 */
.notice-section{
  background:#3cb0c9;
  color: #fff;
  padding: 55px 0;
}
.notice-inner{
  max-width: var(--max);
  margin: 0 auto;
}
.notice-head h3{
  font-size: 50px;
  font-weight: 800;
  margin: 0;
}
.notice-head p{
  margin: 0 0 40px;
  font-size: 25px;
}
.notice-head .line{
  display:block;
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.6);
  margin: 0 0 10px;
}
.notice-list{
  list-style:none;
  margin: 10px 0 0;
  padding: 0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.notice-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  color:#e9f7fb;
}
.notice-item .title{
  display:flex;
  flex: 1;
  min-width: 0;
  align-items:center;
  gap: 10px;
  font-size: 20px;
  font-weight: 500;
  line-height:1.5;
  color:#e9f7fb;
  text-decoration:none;
}
.notice-item .title img{
  width: 18px;
  height: 15px;
  object-fit: contain;
}
.notice-item .title span{
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 100%;
}
.notice-item .date{
  font-size: 16px;
  white-space: nowrap;
}
/* search */
.search-wrap{max-width:var(--max);margin: 0 auto 130px;border-radius: 16px;}
.search-wrap .se_ti{color: #222;font-size: 25px;font-weight: 700;margin-bottom: 50px;}
.search-form{display:grid;grid-template-columns:repeat(5,1fr);gap: 20px;}
.search-form .field{display:flex;flex-direction:column;gap: 15px;}
.search-form label{font-size: 18px;color: #737373;font-weight: 600;}
.search-form select{background: #ffffff;border-radius:10px;padding: 0 15px;height: 60px;font-size: 20px;font-weight: 700;border: 1px solid #444;}
.search-form .btn-search{width: 100%;height: 60px;font-weight: 700;font-size: 24px;background:#444;color:#fff;border-radius:10px;align-self:end;display: flex;align-items: center;justify-content: center;}
.search-form .btn-search img{width: 25px;height: 25px;object-fit: cover;margin-left: 10px;}
.search-form .field.actions{
  justify-content: flex-end;
}
/* 공통 유틸: 유연한 타이포/사이즈 */
.search-wrap .se_ti {font-size: clamp(20px, 3vw, 25px);}

/* Responsive */
@media (max-width:1400px){
  .kv{margin-bottom: 90px;}

  .search-wrap{
    margin: 0 24px 90px;
    padding: 28px 24px;
    border-radius: 14px;
  }
  .search-form{
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 16px 18px;
  }
  .search-form select{height: 48px;font-size: 18px;}
  .search-form .btn-search{height: 52px;font-size: 20px;}

  .programs{padding: 110px 24px 0;}
  .programs-head h3{font-size: 44px;}
  .programs-head p{font-size: 22px;}
  .programs-grid{gap: 32px;}
  .program-card strong{font-size: 32px;}
  .program-stats{padding: 40px 24px;}
  .program-stat .value{font-size: 60px;}
  .program-stat p{font-size: 16px;}

  .reco-section{padding: 110px 24px 130px;}
  .reco-title h3{font-size: 44px;}
  .reco-title p{font-size: 22px;}
  .reco-grid{gap: 28px;}

  .notice-section{padding: 70px 24px 80px;}
  .notice-head h3{font-size: 42px;}
  .notice-head p{font-size: 22px;}
}

@media (max-width:1100px){
  .search-wrap{margin: 0 20px 80px;}
  .search-form{
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 16px;
  }
  .search-form .field.actions{grid-column: 1 / -1;}

  .programs-grid{grid-template-columns: repeat(2,1fr);gap: 28px;}
  .program-card img{height: 240px;}
  .program-card strong{font-size: 30px;}
  .program-stat .value{font-size: 56px;}

  .reco-head{margin-bottom: 56px;}
  .reco-grid{grid-template-columns: repeat(3,1fr);gap: 24px;}

  .notice-head h3{font-size: 36px;}
}

@media (max-width:1024px){
  .kv{margin-bottom: 72px;}
  .program-card img{height: 220px;}
  .program-stat{padding: 0 16px;min-height: 170px;}
  .program-stat .value{font-size: 52px;}
  .program-stats-inner{gap: 18px;}

  .reco-head{gap: 12px;}
  .reco-title h3{font-size: 38px;}
  .reco-title p{font-size: 19px;}
  .reco-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
  .reco-card .thumb{height: 200px;}
  .reco-card .meta{padding: 20px 0;}
  .reco-card .title{font-size: 18px;}
}

@media (max-width:820px){
  .search-wrap{
    padding: 22px 18px;
    margin: 0 18px 70px;
  }
  .search-form{grid-template-columns:1fr 1fr;gap: 15px;}

  .programs{padding: 80px 18px 0;}
  .programs-head h3{font-size: 34px;}
  .programs-head p{font-size: 18px;}
  .programs-grid{gap: 22px;}
  .program-card strong{font-size: 26px;}
  .program-stat{padding: 0;min-height: 100px;height: 130px;}
  .program-stat .value{font-size: 46px;}

  .reco-section{padding: 80px 18px 100px;}
  .reco-head{flex-direction:column;align-items:flex-start;margin-bottom: 42px;}
  .reco-title{text-align:left;}
  .reco-title .line{width: 160px;}
  .reco-arrows{position: static; margin-top: 6px;}
  .reco-grid{grid-template-columns:repeat(2,1fr);gap:16px;}

  .notice-section{padding:60px 18px 72px;}
  .notice-head h3{font-size: 30px;}
  .notice-head p{font-size: 18px;}
  .notice-item{gap: 10px;}
  .notice-item .title{font-size: 16px;}
  .notice-item .date{font-size: 14px;}
}

@media (max-width:720px){
  .kv{margin-bottom: 56px;}
  .search-form .field.actions{grid-column: 1 / -1;}

  .programs{padding: 64px 16px 0;}
  .programs-grid{grid-template-columns:1fr;gap:24px;}
  .program-card img{max-width:100%;height:auto;}
  .program-stats{padding: 48px 16px 58px;}
  .program-stats-inner{grid-template-columns:1fr;gap:18px;}
  .program-stat:not(:last-child)::after{display:none;}

  .reco-section{padding:72px 16px 96px;}
  .reco-grid{grid-template-columns:1fr;}
}

@media (max-width:560px){
  .search-wrap{
    margin: 0 14px 70px;
    padding: 20px 14px;
    border-radius: 12px;
  }
  .search-wrap .se_ti{ margin-bottom: 18px; }
  .search-form{
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .search-form .field{ gap: 8px; }
  .search-form label{ font-size: 13px; }
  .search-form select{
    height: 40px;
    font-size: 16px;
    border-radius: 8px;
    padding: 0 12px;
  }
  .search-form .btn-search{
    height: 42px;
    font-size: 18px;
    border-radius: 8px;
  }
  .search-form .btn-search img{
    width: 20px; height: 20px; margin-left: 8px;
  }

  .programs-head h3{font-size: 30px;}
  .programs-head p{font-size: 16px;}
  .programs-grid{gap: 20px;margin-bottom: 60px;}
  .program-card strong{font-size: 24px;}
  .program-stat .value{font-size: 40px;}
  .program-stat p{font-size: 14px;}

  .reco-title h3{font-size: 30px;}
  .reco-title p{font-size: 17px;}
  .reco-title .line{width: 130px;}
  .reco-card .thumb{height: 190px;}
  .reco-card .meta{padding: 18px 0;}
  .reco-card .label{font-size: 15px;}
  .reco-card .title{font-size: 17px; min-height: auto;}

  .notice-head h3{font-size: 26px;}
  .notice-head p{font-size: 16px;}
  .notice-item{gap: 8px;}
}

@media (max-width:400px){
  .search-wrap{margin: 0 12px 64px;}

  .programs{padding: 56px 12px 30px;}
  .programs-head h3{font-size: 28px;}
  .programs-head p{font-size: 15px;}
  .program-stats{padding: 42px 12px 52px;border-radius: 10px;}
  .program-stat .value{font-size: 36px;}

  .reco-section{padding: 64px 12px 88px;}
  .reco-title h3{font-size: 28px;}
  .reco-title p{font-size: 16px;}
  .reco-arrows{gap: 4px;}
  .reco-arrow{width: 18px;height: 18px;background-size: 14px;}
  .reco-card .thumb{height: 180px;}

  .notice-item{gap: 6px;}
  .notice-item .title{font-size: 14px;}
}

@media (max-width:360px){
  .search-form .btn-search span{ transform: translateY(1px); }
  .program-card strong{font-size: 22px;}
  .program-stat .value{font-size: 34px;}
  .reco-title h3{font-size: 26px;}
  .reco-card .label{font-size: 14px;}
  .reco-card .sub{font-size: 12px;}
  .notice-item .date{font-size: 13px;}
}
