@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+KR:wght@400;600;700;900&display=swap');

#ctt{margin:0;padding:0;background:transparent}
#ctt header h1{position:absolute;font-size:0;line-height:0;overflow:hidden}
#ctt_con{padding:0;line-height:1.6em}
#ctt_con img{max-width:100%;height:auto}

.cond-page{max-width:1536px;margin:0 auto;padding:0;font-family:'Noto Sans KR','Malgun Gothic',sans-serif;color:#333}

/* 상단 */
.cond-header{text-align:center;padding:60px 0 50px}
.cond-header .cond-sub{font-size:16px;color:#2d86d9;font-weight:600;letter-spacing:.1em;margin-bottom:8px}
.cond-header .cond-h1{font-family:'Noto Serif KR',serif;font-size:42px;font-weight:900;color:#0f172a;letter-spacing:-.04em;margin:0 0 20px}
.cond-header .cond-desc{font-size:18px;color:#64748b;line-height:1.7;font-weight:500;max-width:700px;margin:0 auto}

/* ===== 조문 순서 스텝 ===== */
.cond-section{margin-bottom:64px}
.cond-stitle{
  font-family:'Noto Serif KR',serif;font-size:28px;font-weight:900;color:#0f172a;
  letter-spacing:-.03em;margin:0 0 8px;
}
.cond-ssub{font-size:15px;color:#64748b;font-weight:500;margin:0 0 32px}

/* 스텝 카드 - 번호 좌측 세로줄 */
.cond-steps{display:flex;flex-direction:column;gap:0;position:relative;padding-left:50px}
.cond-steps::before{
  content:'';position:absolute;left:23px;top:28px;bottom:28px;
  width:2px;background:#e2e8f0;
}
.cond-step{position:relative;padding:22px 0 22px 30px}
.cond-step-num{
  position:absolute;left:-50px;top:22px;
  width:48px;height:48px;border-radius:50%;
  background:#2d86d9;color:#fff;
  font-size:18px;font-weight:900;
  display:flex;align-items:center;justify-content:center;
  z-index:2;box-shadow:0 4px 12px rgba(45,134,217,.25);
}
.cond-step-card{
  background:#fff;border:1px solid #e8ecf1;border-radius:14px;
  padding:28px 30px;
  transition:transform .2s,box-shadow .2s;
}
.cond-step:hover .cond-step-card{transform:translateX(6px);box-shadow:0 10px 30px rgba(0,0,0,.06)}
.cond-step-name{font-size:19px;font-weight:800;color:#0f172a;margin-bottom:8px}
.cond-step-desc{font-size:15px;line-height:1.85;color:#475569;font-weight:500;word-break:keep-all}
.cond-step-desc b{color:#0f172a;font-weight:700}

/* ===== 예절 그리드 ===== */
.cond-manner-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.cond-manner{
  background:#fff;border:1px solid #e8ecf1;border-radius:16px;
  padding:32px 30px;transition:transform .2s,box-shadow .2s;
}
.cond-manner:hover{transform:translateY(-4px);box-shadow:0 12px 32px rgba(0,0,0,.07)}
.cond-manner-top{display:flex;align-items:center;gap:14px;margin-bottom:16px}
.cond-manner-icon{
  width:48px;height:48px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  font-size:24px;flex-shrink:0;
}
.mi-dress{background:rgba(45,134,217,.08)}.mi-bow{background:rgba(139,92,246,.08)}.mi-incense{background:rgba(245,158,11,.08)}
.mi-talk{background:rgba(16,185,129,.08)}.mi-money{background:rgba(239,68,68,.08)}.mi-food{background:rgba(20,184,166,.08)}
.mi-religion{background:rgba(107,114,128,.08)}.mi-child{background:rgba(236,72,153,.08)}
.cond-manner-name{font-size:18px;font-weight:800;color:#0f172a}
.cond-manner-body{font-size:14px;line-height:1.85;color:#475569;font-weight:500;word-break:keep-all}
.cond-manner-body b{color:#0f172a;font-weight:700}

/* ===== 주의사항 DO / DON'T ===== */
.cond-donts{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.cond-do,.cond-dont{border-radius:16px;padding:36px 32px}
.cond-do{background:#f0fdf4;border:1px solid #bbf7d0}
.cond-dont{background:#fef2f2;border:1px solid #fecaca}
.cond-do-title,.cond-dont-title{font-size:20px;font-weight:900;margin:0 0 20px;display:flex;align-items:center;gap:10px}
.cond-do-title{color:#16a34a}
.cond-dont-title{color:#dc2626}
.cond-do-list,.cond-dont-list{margin:0;padding:0;list-style:none}
.cond-do-list li,.cond-dont-list li{
  position:relative;padding-left:24px;
  font-size:15px;font-weight:600;line-height:2;word-break:keep-all;
}
.cond-do-list li{color:#166534}
.cond-dont-list li{color:#991b1b}
.cond-do-list li::before{content:'✓';position:absolute;left:0;color:#16a34a;font-weight:900}
.cond-dont-list li::before{content:'✕';position:absolute;left:0;color:#dc2626;font-weight:900}

/* ===== 절 순서 인포 ===== */
.cond-bow-info{
  background:#f8fafc;border:1px solid #e8ecf1;border-radius:16px;
  padding:40px 36px;
}
.cond-bow-title{font-family:'Noto Serif KR',serif;font-size:22px;font-weight:900;color:#0f172a;margin:0 0 24px}
.cond-bow-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.cond-bow-card{
  text-align:center;background:#fff;border:1px solid #e8ecf1;border-radius:12px;
  padding:24px 18px;
}
.cond-bow-step{
  display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border-radius:50%;
  background:#2d86d9;color:#fff;font-size:14px;font-weight:900;
  margin-bottom:10px;
}
.cond-bow-name{font-size:15px;font-weight:800;color:#0f172a;margin-bottom:6px}
.cond-bow-desc{font-size:13px;color:#64748b;font-weight:500;line-height:1.6}

/* ===== 인사말 예시 ===== */
.cond-greetings{
  background:linear-gradient(135deg,#071223 0%,#0a254f 100%);
  border-radius:16px;padding:42px 40px;
}
.cond-greetings-title{font-family:'Noto Serif KR',serif;font-size:22px;font-weight:900;color:#fff;margin:0 0 24px}
.cond-greet-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.cond-greet{
  background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);
  border-radius:12px;padding:22px 24px;
}
.cond-greet-label{font-size:12px;font-weight:800;color:#f59e0b;margin-bottom:8px;letter-spacing:.04em}
.cond-greet-text{font-size:15px;color:rgba(255,255,255,.85);font-weight:500;line-height:1.7;word-break:keep-all}

/* CTA */
.cond-cta{
  margin-top:64px;
  background:linear-gradient(135deg,#071223 0%,#0a254f 100%);
  border-radius:16px;padding:46px 54px;
  display:flex;align-items:center;justify-content:space-between;gap:40px;
}
.cond-cta .cta-title{font-family:'Noto Serif KR',serif;font-size:24px;font-weight:900;color:#fff;letter-spacing:-.03em;margin:0 0 8px}
.cond-cta .cta-desc{font-size:15px;color:rgba(255,255,255,.7);font-weight:500}
.cond-cta-right{flex-shrink:0;text-align:center}
.cond-cta-phone{font-size:38px;font-weight:900;color:#f59e0b;margin-bottom:12px}
.cond-cta-right a{display:inline-flex;align-items:center;gap:8px;padding:13px 30px;border-radius:8px;background:#2d86d9;color:#fff;font-size:15px;font-weight:800;text-decoration:none;transition:background .2s}
.cond-cta-right a:hover{background:#2474c0}

/* 반응형 */
@media(max-width:1024px){
  .cond-manner-grid{grid-template-columns:1fr}
  .cond-donts{grid-template-columns:1fr}
  .cond-bow-grid{grid-template-columns:repeat(3,1fr)}
  .cond-greet-grid{grid-template-columns:1fr}
  .cond-cta{flex-direction:column;text-align:center;padding:40px 30px}
}
@media(max-width:768px){
  .cond-header{padding:40px 20px 30px}.cond-header .cond-h1{font-size:30px}.cond-header .cond-desc{font-size:16px}
  .cond-stitle{font-size:22px}
  .cond-steps{padding-left:40px}
  .cond-steps::before{left:18px}
  .cond-step-num{left:-40px;width:38px;height:38px;font-size:15px}
  .cond-step-card{padding:22px 20px}
  .cond-manner{padding:26px 22px}
  .cond-do,.cond-dont{padding:28px 24px}
  .cond-bow-grid{grid-template-columns:1fr 1fr 1fr;gap:12px}
  .cond-bow-card{padding:18px 14px}
  .cond-greetings{padding:32px 24px}
  .cond-cta{padding:36px 24px}.cond-cta-phone{font-size:30px}
}
@media(max-width:480px){
  .cond-bow-grid{grid-template-columns:1fr}
}
