/* ── 히어로 비디오 ── */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 420px;
  overflow: hidden;
  background: #000;
}
.hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 177.77vh;
  height: 100%;
  min-width: 100%;
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.40);
  z-index: 1;
}

/* 버튼: 좌상단(브랜드영상) + 우상단(플랫폼접속) */
.hero__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
}
.hero__btn-left {
  position: absolute;
  top: 140px;
  left: 120px;
}
.hero__btn-right {
  position: absolute;
  top: 140px;
  right: 120px;
}
/* 공통 버튼 기본 스타일 */
.hero__btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
/* 브랜드 영상 PLAY: 투명 테두리 */
.hero__btn-left .hero__btn {
  border: 1px solid rgba(255,255,255,0.85);
  color: #fff !important;
  background: transparent;
}
.hero__btn-left .hero__btn:hover {
  background: rgba(255,255,255,0.18);
  color: #fff !important;
  text-decoration: none;
}
/* 플랫폼 접속: 민트색 배경 (xitecloud.io 동일) */
.hero__btn-right .hero__btn {
  border: none;
  color: #252931 !important;
  background: #00e5c4;
}
.hero__btn-right .hero__btn:hover {
  background: #00c8aa;
  color: #252931 !important;
  text-decoration: none;
}

/* ── All-in-One 섹션 (패럴렉스 + 높은 패딩 + 흰 텍스트) ── */
.aio {
  background: url('/assets/images/20210815_f34b78c1e5108.png') center / cover no-repeat fixed;
  padding: 220px 0 200px;
}
.aio__inside {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
.aio__heading {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 24px;
}
.aio__sub {
  font-size: 16px;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.8;
}

/* ── 뉴스룸 ── */
.newsroom {
  padding: 70px 0 90px;
  background: #fff;
}
.newsroom__inside {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  box-sizing: border-box;
}
.newsroom__heading {
  font-size: 60px;
  font-weight: 700;
  color: #252931;
  margin: 0 0 8px;
}
.newsroom__sub {
  color: #666;
  font-size: 15px;
  margin: 0 0 40px;
}
.newsroom-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.newsroom-grid .news-card {
  width: calc(33.333% - 16px);
  box-sizing: border-box;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}
.newsroom-grid .news-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}
.newsroom-grid .news-thumb {
  height: 200px;
  background-size: cover;
  background-position: 50% 50%;
}
.newsroom-grid .news-body {
  padding: 16px 16px 8px;
}
.newsroom-grid .news-category {
  font-size: 12px;
  color: #00c8aa;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.newsroom-grid .news-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
}
.newsroom-grid .news-date {
  font-size: 13px;
  color: #999;
  padding: 10px 16px 14px;
}
.newsroom-grid a.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.newsroom-grid a.news-link:hover .news-title {
  color: #0066cc;
}

/* ── 모바일 ── */
@media (max-width: 767px) {
  /* 16:9 정비율로 동영상 영역 표시 */
  .hero { height: 56.25vw; min-height: 220px; }
  .hero__btn-left  { top: 70px; left: 16px; }
  .hero__btn-right { top: 70px; right: 16px; }
  .hero__btn { font-size: 12px; padding: 8px 14px; }
  .aio {
    /* iOS/Android: background-attachment:fixed 미지원 → scroll + bgsize 명시 */
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 60px 0 50px;
  }
  .aio__inside { padding: 0 20px; }
  .aio__heading { font-size: 30px; }
  .aio__sub { font-size: 14px; }
  .newsroom { padding: 48px 0 60px; }
  .newsroom__inside { padding: 0 20px; }
  .newsroom__heading { font-size: 36px; }
  .newsroom__sub { margin-bottom: 24px; }
  .newsroom-grid .news-card { width: 100%; }
  .newsroom-grid .news-thumb { height: 180px; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .hero { height: 80vh; }
  .hero__btn-left  { top: 80px; left: 40px; }
  .hero__btn-right { top: 80px; right: 40px; }
  .aio__inside { padding: 0 40px; }
  .aio__heading { font-size: 40px; }
  .newsroom__inside { padding: 0 40px; }
  .newsroom__heading { font-size: 48px; }
  .newsroom-grid .news-card { width: calc(50% - 12px); }
}
