/* wp-content/uploads/ymx/css/ymx-about.css */

.ymx-about-wrap{
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 14px;
  color: #dbe8ff;
}

.ymx-about-hero{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  margin-bottom: 14px;
  min-height: 100px;
}

.ymx-about-title h1{
  margin: 0 0 8px 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
  color: #ffffff;
}

.ymx-about-sub{
  margin: 0;
  color: rgba(219,232,255,.85);
  line-height: 1.45;
  font-size: 14px;
}

.ymx-about-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.ymx-about-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: #0b1220;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
}

.ymx-about-btn:hover{ filter: brightness(0.98); }

.ymx-about-btn-ghost{
  background: transparent;
  color: #dbe8ff;
  border: 1px solid rgba(255,255,255,.18);
}

.ymx-about-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.ymx-about-card{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.01);
}

.ymx-about-card h2{
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 900;
  color: #e6f0ff;
}

.ymx-about-card ul{
  margin: 0;
  padding-left: 18px;
  color: rgba(219,232,255,.85);
  line-height: 1.55;
  font-size: 14px;
}

.ymx-about-note{
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px dashed rgba(255,255,255,.18);
  color: rgba(219,232,255,.80);
  line-height: 1.45;
  font-size: 13px;
}

.ymx-about-mini{
  margin-top: 10px;
  color: rgba(219,232,255,.70);
  font-size: 12px;
  line-height: 1.45;
}

.ymx-about-mini code{
  background: rgba(255,255,255,0.06);
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.10);
}

.ymx-about-footer{
  margin-top: 14px;
  opacity: .85;
}

.ymx-about-story{
  color: rgba(219,232,255,.85);
}
.ymx-about-story h2{
  color: #e6f0ff;
}
.ymx-about-story p{
  color: rgba(219,232,255,.80);
}

/* mobile */
@media (max-width: 720px){
  .ymx-about-grid{ grid-template-columns: 1fr; }
  .ymx-about-title h1{ font-size: 22px; }
}

/* ===== About page: Contact form block (safe) ===== */
/* NOTE: WP 블록 전체(.wp-block-group 등)는 건드리지 않고,
   "Contact 영역"에만 적용되게 범위를 좁힘 */

.ymx-about-wrap .ymx-contact-block{
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: 14px;
  background: rgba(255,255,255,0.01);
  color: rgba(219,232,255,.85);
}

.ymx-about-wrap .ymx-contact-block label,
.ymx-about-wrap .ymx-contact-block p{
  color: rgba(219,232,255,.85);
}

.ymx-about-wrap .ymx-contact-block input[type="text"],
.ymx-about-wrap .ymx-contact-block input[type="email"],
.ymx-about-wrap .ymx-contact-block input[type="url"],
.ymx-about-wrap .ymx-contact-block textarea{
  width: 100%;
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 10px 12px;
  outline: none;
}

.ymx-about-wrap .ymx-contact-block input::placeholder,
.ymx-about-wrap .ymx-contact-block textarea::placeholder{
  color: rgba(219,232,255,.55);
}

.ymx-about-wrap .ymx-contact-block button,
.ymx-about-wrap .ymx-contact-block input[type="submit"],
.ymx-about-wrap .ymx-contact-block .wp-block-button__link{
  background: #ffffff;
  color: #0b1220;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
}

.ymx-about-wrap .ymx-contact-block button:hover,
.ymx-about-wrap .ymx-contact-block input[type="submit"]:hover,
.ymx-about-wrap .ymx-contact-block .wp-block-button__link:hover{
  filter: brightness(0.98);
}

.ymx-about-wrap .ymx-about-note{
  background: rgba(255,255,255,0.01);
}
