/*
Theme Name: GeneratePress Child
Theme URI: https://proadvicehub.com
Author: 대표님
Description: 수익형 워드프레스 블로그 (AI 콘텐츠 + 쿠팡 파트너스 + GA4 자동 트래킹 + SEO 자동화)
Template: generatepress
Version: 2025.10.25
Text Domain: generatepress-child
*/

body, p {
  font-family: 'Noto Sans KR', 'Pretendard', sans-serif;
  line-height: 1.8;
  color: #222;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Noto Sans KR', sans-serif;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  margin-top: 2.5em;
  margin-bottom: 1em;
}

h2 {
  border-left: 5px solid #3B82F6; /* 파란색 포인트 라인 */
  padding-left: 12px;
  font-size: 1.6em;
}

h3 {
  font-size: 1.25em;
  margin-top: 2em;
  color: #2563EB;
}

/* ========== ✨ 본문 ========== */
p {
  margin-bottom: 1.3em;
}

strong {
  color: #111;
  font-weight: 600;
}

/* ========== 📋 리스트 ========== */
ul {
  background: #f9fafb;
  padding: 1em 1.5em;
  border-radius: 10px;
  border-left: 4px solid #60A5FA;
  margin: 1.5em 0;
}
ul li {
  margin-bottom: .5em;
}

/* ========== 📦 인포박스 ========== */
blockquote, .notice-box {
  background: #eef6ff;
  border-left: 4px solid #3B82F6;
  padding: 1.2em 1.5em;
  border-radius: 8px;
  margin: 2em 0;
  color: #1e293b;
}

/* ========== 🛒 쿠팡 링크 강조 (현재 광고 비노출 상태, 필요 시 해제 가능) */
/*
a[href*="coupa.ng"], a[href*="coupang.com"] {
  color: #2563EB;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid #93C5FD;
  transition: all 0.2s ease;
}
a[href*="coupa.ng"]:hover, a[href*="coupang.com"]:hover {
  color: #1D4ED8;
  background: #EFF6FF;
}
*/

/* ========== 📌 CTA 버튼 ========== */
.cta-btn, button, a.button {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  background: linear-gradient(90deg, #2563EB, #3B82F6);
  color: white !important;
  text-decoration: none;
  margin-top: 1em;
  box-shadow: 0 2px 6px rgba(37,99,235,0.2);
  transition: all 0.2s ease;
}
.cta-btn:hover, button:hover, a.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.25);
}

/* ========== ❓FAQ 영역 ========== */
.faq-block details {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin: 1em 0;
  padding: 0.8em 1em;
}
.faq-block summary {
  font-weight: 600;
  color: #111;
  cursor: pointer;
}
.faq-block p {
  margin-top: .8em;
  color: #444;
}

/* ========== 🌙 구분선 ========== */
hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 2.5em 0;
}

/* ========== 📱 반응형 ========== */
@media (max-width: 768px) {
  h2 { font-size: 1.4em; }
  h3 { font-size: 1.1em; }
  .cta-btn, button { width: 100%; text-align: center; }
}

/* 🚫 광고 관련 영역 전부 주석 처리 */
/*
.coupang-banner,
.sidebar-banner,
.mobile-remitbuddy-banner,
.mobile-cheongyak-banner,
#floating-left-banner {
  display: none !important;
}
.coupang-banner iframe,
.sidebar-banner iframe {
  display: none !important;
}
*/

/* 🖼️ 본문 이미지 자동 여백 + 반응형 */
.post-content img {
  display: block;
  margin: 1.5em auto;
  max-width: 100%;
  border-radius: 8px;
}

/* 📢 CTA 버튼 강조 */
.click-me-button {
  box-shadow: 0px 4px 15px 0px rgba(255, 0, 0, 0.4);
  background: linear-gradient(135deg, #ff0000 0%, #ff1744 100%);
  color: #ffffff !important;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 42px;
  display: inline-block;
  cursor: pointer;
  font-family: 'Pretendard', sans-serif;
  font-size: 25px;
  font-weight: bold;
  padding: 24px 0;
  text-decoration: none;
  width: 95%;
  text-align: center;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  animation: shake 2s ease-in-out infinite;
}

/* 클릭 버튼 효과 (선택적 유지) */
.click-me-button::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: rgba(255,255,255,0.3);
  transform: skewX(-25deg);
  transition: left 0.5s;
}
.click-me-button:hover::before { left: 130%; }
.click-me-button:hover {
  transform: scale(1.02);
}
