/*
 Theme Name:   Eduma Child
 Theme URI:    http://educationwp.thimpress.com/
 Description:  Eduma Child Theme
 Author:       ThimPress
 Author URI:   http://thimpress.com
 Template:     eduma
 Version:      1.0.0
 Text Domain:  eduma-child
*/

#masthead.affix.menu-hidden {
  -webkit-transform: inherit !important;
}

/* =============================================
   COINCRAFT ABOUT PAGE — cc-* design system
   ============================================= */

/* Force dark background on the page container */
.page-id-18331 #main,
.page-id-18331 .entry-content,
.page-id-18331 article {
  background: #0a0a14 !important;
}

/* Reset & base */
.cc-about-wrap {
  font-family: 'Pretendard', 'Noto Sans KR', -apple-system, sans-serif;
  color: #d1d5db;
  line-height: 1.6;
  background: #0a0a14;
  padding: 0 0 40px;
}
.cc-about-wrap * { box-sizing: border-box; }

/* Remove wpautop empty paragraphs */
.cc-about-wrap > p:empty,
.cc-about-wrap p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

/* Typography */
.cc-label {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #F5A623;
  display: block;
  margin: 0 0 14px;
}
.cc-h2 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 16px;
  color: #ffffff !important;
}
.cc-h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #ffffff !important;
}
.cc-lead {
  font-size: 16px;
  line-height: 1.85;
  color: #94a3b8;
  margin: 0 0 16px;
}
.cc-text {
  font-size: 14px;
  line-height: 1.85;
  color: #6b7280;
  margin: 0 0 12px;
}
.cc-gold { color: #F5A623 !important; }
.cc-divider {
  width: 40px;
  height: 3px;
  background: #F5A623;
  border-radius: 2px;
  margin: 0 0 28px;
}

/* Sections */
.cc-dark {
  background: #0d0d1a !important;
  border-radius: 16px;
  padding: 60px 48px;
  margin: 0 0 28px;
}
.cc-glass {
  background: #111827 !important;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 52px 48px;
  margin: 0 0 28px;
}

/* Cards */
.cc-card {
  background: #1a2035 !important;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 28px;
  transition: border-color 0.25s, background 0.25s;
}
.cc-card:hover {
  border-color: rgba(245,166,35,0.45);
  background: #1e2540 !important;
}

/* Grids */
.cc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.cc-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cc-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

/* Badges */
.cc-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.cc-badge-green  { background: rgba(52,211,153,0.15); color: #34d399; }
.cc-badge-blue   { background: rgba(96,165,250,0.15);  color: #60a5fa; }
.cc-badge-amber  { background: rgba(245,166,35,0.15);  color: #F5A623; }
.cc-badge-purple { background: rgba(167,139,250,0.15); color: #a78bfa; }

/* Stats */
.cc-stat-num {
  font-size: 44px;
  font-weight: 900;
  color: #F5A623;
  line-height: 1;
  margin-bottom: 6px;
}
.cc-stat-label {
  font-size: 13px;
  color: #6b7280;
  margin-top: 4px;
}

/* Highlight block */
.cc-highlight {
  border-left: 3px solid #F5A623;
  padding: 4px 0 4px 20px;
  margin: 0 0 24px;
}
.cc-highlight p {
  font-size: 17px;
  font-weight: 600;
  color: #e2e8f0 !important;
  line-height: 1.75;
  margin: 0 !important;
}

/* Timeline */
.cc-tl {
  list-style: none;
  padding: 0;
  margin: 0;
}
.cc-tl li {
  padding: 0 0 28px 30px;
  border-left: 1px solid rgba(245,166,35,0.25);
  position: relative;
}
.cc-tl li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.cc-tl li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #F5A623;
  border-radius: 50%;
  position: absolute;
  left: -5px;
  top: 5px;
  box-shadow: 0 0 0 4px rgba(245,166,35,0.15);
}
.cc-tl-year {
  font-size: 11px;
  font-weight: 700;
  color: #F5A623;
  margin-bottom: 5px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Responsive */
@media (max-width: 900px) {
  .cc-grid-2 { grid-template-columns: 1fr; gap: 28px; }
  .cc-grid-3 { grid-template-columns: 1fr; }
  .cc-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .cc-dark, .cc-glass { padding: 36px 24px; }
  .cc-h2 { font-size: 24px !important; }
}
@media (max-width: 560px) {
  .cc-grid-4 { grid-template-columns: 1fr 1fr; }
  .cc-stat-num { font-size: 32px; }
}

/* CTA Button Group */
.cc-btn-group {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cc-btn-primary {
  display: inline-block;
  background: #F5A623;
  color: #0d0d18 !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}
.cc-btn-primary:hover {
  background: #e6961a;
  transform: translateY(-1px);
}
.cc-btn-ghost {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.25);
  color: #e8e8e8 !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 36px;
  border-radius: 10px;
  text-decoration: none !important;
  white-space: nowrap;
  transition: border-color 0.2s, color 0.2s, transform 0.15s;
}
.cc-btn-ghost:hover {
  border-color: #F5A623;
  color: #F5A623 !important;
  transform: translateY(-1px);
}

/* ===== Responsive Video Fix (2026-04-12) ===== */
.learn-press-content-item-summary iframe,
.learnpress-content-item-description iframe,
.entry-content iframe,
.lp-course-content iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
}
