.lp-home-body { background: #f4f6f8; }
.lp-home-body .lp-main { min-height: 0; }
.lp-home-body .lp-container { width: min(1200px, calc(100% - 48px)); }
.ph-banner { height: 400px; position: relative; overflow: hidden; background: #dcecff; }
.ph-banner-slides, .ph-banner-slide, .ph-banner-target { height: 100%; }
.ph-banner-slide { position: relative; background: radial-gradient(ellipse at 80% 35%, #f6fbff 0, #e8f3ff 35%, #cae0ff 100%); }
.ph-banner-slide[hidden], .ph-carousel-controls[hidden] { display: none; }
.ph-banner-target { display: block; color: inherit; text-decoration: none; }
.ph-banner-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ph-banner.ph-banner-with-image { height: auto; aspect-ratio: 24 / 5; }
.ph-banner.ph-banner-with-image > .ph-banner-slides, .ph-banner.ph-banner-with-image .ph-banner-slide { position: absolute; inset: 0; }
.ph-banner.ph-banner-with-image .ph-banner-image { object-fit: contain; }
.ph-banner-inner { display: flex; align-items: center; justify-content: space-between; position: relative; height: 100%; gap: 32px; }
.ph-banner-copy { position: relative; z-index: 2; flex: 1; padding: 0 24px; min-width: 0; }
.ph-banner-copy h2 { color: #1655a2; font-size: clamp(32px, 3.5vw, 48px); line-height: 1.5; letter-spacing: 2px; font-weight: 800; margin: 0 0 16px; }
.ph-banner-copy p { color: #3d6da5; font-size: 20px; line-height: 1.8; margin: 0; max-width: 580px; }
.ph-banner-slide.has-image .ph-banner-copy { flex: 0 1 720px; }
.ph-banner-slide.has-image .ph-banner-copy h2, .ph-banner-slide.has-image .ph-banner-copy p { text-shadow: 0 1px 12px rgba(255,255,255,.8); }
.ph-banner-art { width: 480px; height: 300px; flex: 0 0 44%; position: relative; }
.ph-banner-art svg { width: 100%; height: 100%; position: relative; z-index: 1; overflow: visible; }
.ph-art-orbit { position: absolute; border: 1px solid rgba(114,163,231,.22); border-radius: 50%; transform: rotate(-18deg); }
.ph-art-orbit-one { inset: 15px -35px 20px; }
.ph-art-orbit-two { inset: -10px 20px -10px; }
.ph-carousel-controls { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 12px; align-items: center; z-index: 3; }
.ph-carousel-controls button { cursor: pointer; border: 0; }
.ph-carousel-arrow, .ph-carousel-pause { background: rgba(15,68,124,.28); color: #fff; width: 28px; height: 28px; border-radius: 50%; padding: 0; line-height: 24px; }
.ph-carousel-arrow { font-size: 25px; }
.ph-carousel-pause { font-size: 12px; }
.ph-carousel-arrow:hover, .ph-carousel-pause:hover { background: rgba(15,68,124,.6); }
.ph-carousel-dots { display: flex; align-items: center; gap: 8px; }
.ph-carousel-dots button { height: 8px; width: 8px; padding: 0; border-radius: 6px; background: rgba(71,120,181,.4); transition: width .2s ease; }
.ph-carousel-dots button.is-active { width: 26px; background: #177dff; }
.ph-carousel-controls button:focus-visible, .ph-category-tabs a:focus-visible, .ph-home-bottom a:focus-visible, .ph-learning-layout a:focus-visible { outline: 3px solid #177dff; outline-offset: 4px; }
.ph-training-area { padding: 32px 0; background: linear-gradient(120deg, #f4f6f7, #ecf5ff 52%, #e2efff); }
.ph-section-heading { min-height: 52px; margin: 0 0 24px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.ph-heading-copy { min-width: 0; display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.ph-heading { font-size: 30px; line-height: 52px; font-style: italic; letter-spacing: 2px; font-weight: 900; margin: 0; color: #172b4a; }
.ph-heading > span:first-child { color: #177dff; }
.ph-heading-copy > p { font-size: 16px; line-height: 26px; margin: 0; color: #777; }
.ph-more { font-size: 14px; line-height: 24px; white-space: nowrap; color: #777; text-decoration: none; }
.ph-more span { font-size: 20px; margin-left: 6px; }
.ph-more:hover { color: #177dff; }
.ph-learning-layout { display: grid; grid-template-columns: minmax(0, 1fr) 284px; gap: 15px; align-items: start; }
.ph-learning-sections, .ph-rankings { min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.ph-course-section { min-height: 476px; padding: 24px; border-radius: 8px; background: linear-gradient(125deg, #d8eaff, #e9f3ff); position: relative; overflow: hidden; }
.ph-course-section::before { content: ''; position: absolute; top: 20px; right: -18px; width: 160px; height: 160px; border: 24px solid rgba(255,255,255,.25); border-radius: 32px; transform: rotate(20deg); pointer-events: none; }
.ph-course-section-shortage { background: linear-gradient(125deg, #ffedcb, #fff5de); }
.ph-course-section-standards { background: linear-gradient(125deg, #d6f2f8, #e9fafd); }
.ph-course-section-heading { position: relative; min-height: 76px; padding-right: 30px; }
.ph-course-section-heading h3 { margin: 0 0 5px; font-size: 28px; font-style: italic; line-height: 38px; font-weight: 900; letter-spacing: 1px; color: #1f83fb; }
.ph-course-section-shortage .ph-course-section-heading h3 { color: #e98b00; }
.ph-course-section-standards .ph-course-section-heading h3 { color: #20abc8; }
.ph-course-section-heading p { margin: 0; font-size: 14px; line-height: 22px; color: #626c7c; }
.ph-category-tabs { display: flex; align-items: center; gap: 8px; margin: 8px 0 16px; min-height: 34px; position: relative; flex-wrap: wrap; }
.ph-category-tabs a { color: #45556b; text-decoration: none; padding: 5px 10px; font-size: 14px; line-height: 24px; border-radius: 4px; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-category-tabs a:hover, .ph-category-tabs a.is-active { color: #fff; background: #1f83fb; }
.ph-course-section-shortage .ph-category-tabs a:hover, .ph-course-section-shortage .ph-category-tabs a.is-active { background: #ef9a18; }
.ph-course-section-standards .ph-category-tabs a:hover, .ph-course-section-standards .ph-category-tabs a.is-active { background: #2ab9d7; }
.ph-category-tabs a.ph-tab-more { margin-left: auto; padding-right: 0; color: #768397; font-size: 12px; background: transparent; }
.ph-category-tabs a.ph-tab-more:hover { color: #177dff; }
.ph-compact-grid { position: relative; background: #fff; border-radius: 8px; padding: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; min-height: 294px; align-content: start; }
.ph-compact-card { min-width: 0; height: 123px; }
.ph-compact-card > a { color: inherit; text-decoration: none; display: flex; align-items: stretch; height: 100%; }
.ph-compact-cover { position: relative; width: 55%; flex: 0 0 55%; border-radius: 6px; overflow: hidden; background: #edf3fb; }
.ph-compact-cover > img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .2s; }
.ph-compact-card a:hover .ph-compact-cover > img { transform: scale(1.04); }
.ph-compact-cover > span { position: absolute; bottom: 5px; right: 5px; font-size: 10px; line-height: 18px; padding: 0 5px; border-radius: 3px; background: rgba(0,0,0,.6); color: #fff; }
.ph-compact-info { padding-left: 12px; flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ph-compact-info h3 { font-size: 14px; line-height: 22px; font-weight: 400; margin: 0; height: 44px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ph-compact-card a:hover h3 { color: #177dff; }
.ph-compact-meta { margin-top: auto; line-height: 24px; }
.ph-compact-info > p { font-size: 12px; line-height: 22px; color: #aaa; margin: 2px 0 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-ranking { background: #fff; padding: 24px 16px; border-radius: 8px; min-height: 730px; position: relative; }
.ph-ranking-popular { background: linear-gradient(#fff0e7, #fff 145px); }
.ph-ranking-latest { background: linear-gradient(#e8f0ff, #fff 145px); }
.ph-rank-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ph-rank-heading h3 { font-size: 24px; line-height: 34px; font-weight: 700; margin: 0; }
.ph-rank-heading a { color: #9099a7; text-decoration: none; font-size: 24px; line-height: 30px; }
.ph-ranking-list { margin: 0; padding: 0; list-style: none; }
.ph-ranking-list li { margin-bottom: 24px; }
.ph-ranking-list li:last-child { margin-bottom: 0; }
.ph-ranking-list li.ph-rank-featured { margin-bottom: 16px; }
.ph-ranking-list a { color: #455065; text-decoration: none; display: flex; align-items: center; gap: 8px; min-height: 24px; }
.ph-ranking-list a:hover { color: #177dff; }
.ph-rank-number { flex: 0 0 18px; width: 18px; height: 20px; text-align: center; font-size: 13px; font-weight: 700; line-height: 20px; color: #99a1ad; font-style: italic; }
.ph-rank-number-1 { color: #ed6c39; }.ph-rank-number-2 { color: #f4984b; }.ph-rank-number-3 { color: #d5a965; }
.ph-ranking-list img { width: 102px; height: 58px; flex: 0 0 102px; object-fit: cover; border-radius: 4px; background: #edf3fb; }
.ph-rank-title { font-size: 14px; line-height: 22px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ph-rank-featured .ph-rank-title { white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 44px; font-size: 12px; line-height: 20px; }
.ph-empty { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; flex-direction: column; width: 100%; min-height: 230px; color: #99a8b9; text-align: center; padding: 24px; }
.ph-empty svg { width: 80px; height: 70px; margin-bottom: 10px; }
.ph-empty svg rect { fill: #edf3fb; }.ph-empty svg path { stroke: #bdcfe4; stroke-width: 3; stroke-linecap: round; fill: none; }.ph-empty svg circle { fill: #f8fbff; stroke: #b1c8e2; stroke-width: 3; }
.ph-empty p { margin: 0; font-size: 14px; line-height: 24px; }
.ph-ranking .ph-empty { min-height: 600px; }
.ph-home-bottom { padding-bottom: 48px; }
.ph-topic-section, .ph-news-section, .ph-providers-section { margin-top: 48px; }
.ph-topic-layout { display: grid; grid-template-columns: 282px minmax(0, 1fr); gap: 24px; align-items: start; }
.ph-topic-poster { display: block; position: relative; overflow: hidden; text-decoration: none; color: #fff; height: 516px; border-radius: 8px; background: linear-gradient(145deg, #3590ff, #1c65cd); }
.ph-topic-section-2 .ph-topic-poster { background: linear-gradient(145deg, #39b9e9, #147ba6); }
.ph-topic-poster > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph-poster-copy { padding: 44px 28px; position: relative; z-index: 1; }
.ph-poster-copy h3 { font-size: 32px; line-height: 1.5; margin: 0 0 20px; letter-spacing: 2px; font-weight: 700; }
.ph-poster-copy p { font-size: 16px; line-height: 1.9; margin: 0; color: #dceaff; }
.ph-poster-art { position: absolute; bottom: 28px; left: 40px; right: 30px; height: 180px; transform: rotate(-9deg); }
.ph-poster-art span { display: block; background: rgba(255,255,255,.17); border: 1px solid rgba(255,255,255,.35); border-radius: 8px; width: 150px; height: 100px; position: absolute; left: 20px; bottom: 0; transform: skewY(10deg); }
.ph-poster-art span:nth-child(2) { bottom: 28px; background: rgba(255,255,255,.28); }.ph-poster-art span:nth-child(3) { bottom: 56px; background: #dbeeff; }
.ph-poster-art i { width: 54px; height: 54px; border: 12px solid rgba(255,255,255,.3); border-radius: 50%; position: absolute; top: -15px; right: -5px; }
.ph-topic-courses.lp-course-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; }
.ph-topic-courses .lp-course-card { min-width: 0; }
.ph-topic-courses .lp-course-info { height: 76px; }
.ph-topic-courses .ph-empty { min-height: 516px; background: #fff; border-radius: 8px; }
.ph-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ph-news-card { border-radius: 8px; background: #fff; min-width: 0; overflow: hidden; }
.ph-news-card > a { display: block; color: inherit; text-decoration: none; height: 100%; }
.ph-news-image { height: 170px; background: linear-gradient(135deg, #e5f0ff, #eff7ff); display: flex; align-items: center; justify-content: center; }
.ph-news-image > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph-news-image svg { width: 100px; height: 80px; }.ph-news-image svg rect { fill: #fff; }.ph-news-image svg path { fill: none; stroke: #a9c6ed; stroke-width: 4; stroke-linecap: round; }
.ph-news-copy { padding: 18px 20px; }
.ph-news-copy h3 { margin: 0 0 10px; font-size: 16px; line-height: 26px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-weight: 500; }
.ph-news-card a:hover h3 { color: #177dff; }
.ph-news-copy p { margin: 0 0 16px; color: #888; font-size: 13px; line-height: 24px; height: 48px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.ph-news-copy time { font-size: 12px; color: #aaa; }
.ph-news-grid > .ph-empty { background: #fff; border-radius: 8px; }
.ph-provider-grid, .ph-friend-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ph-provider-card { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 20px; background: #fff; padding: 24px 16px; min-height: 194px; border-radius: 8px; color: #455065; text-decoration: none; }
.ph-provider-card img { width: 140px; height: 90px; object-fit: contain; }
.ph-provider-card h3 { margin: 0; font-size: 16px; line-height: 24px; font-weight: 400; text-align: center; }
a.ph-provider-card:hover { color: #177dff; }
.ph-provider-monogram { height: 90px; width: 90px; background: #edf5ff; color: #73a6e5; font-size: 36px; line-height: 90px; text-align: center; border-radius: 50%; }
.ph-provider-grid > .ph-empty { background: #fff; border-radius: 8px; min-height: 194px; }
.ph-friends-section { padding: 32px 0 48px; background: linear-gradient(130deg, #e4f1ff, #edf4ff 50%, #e5edfa); }
.ph-friend-card { height: 88px; display: flex; align-items: center; justify-content: center; padding: 16px; gap: 16px; background: #fff; border-radius: 4px; text-decoration: none; color: #455065; }
.ph-friend-card img { flex: 0 0 60px; width: 60px; height: 56px; object-fit: contain; }
.ph-friend-card span { font-size: 16px; line-height: 24px; text-align: center; max-height: 48px; overflow: hidden; }
a.ph-friend-card:hover { color: #177dff; }
.ph-friend-grid > .ph-empty { background: rgba(255,255,255,.65); border-radius: 4px; min-height: 120px; }
.ph-friend-grid > .ph-empty svg { display: none; }
@media (max-width: 1100px) {
  .ph-learning-layout { grid-template-columns: minmax(0, 1fr) 250px; }
  .ph-course-section { padding: 20px; }
  .ph-compact-grid { padding: 12px; gap: 12px; }
  .ph-compact-cover { width: 48%; flex-basis: 48%; }
  .ph-ranking { padding-left: 12px; padding-right: 12px; }
  .ph-ranking-list img { width: 90px; flex-basis: 90px; height: 51px; }
  .ph-topic-layout { grid-template-columns: 230px minmax(0, 1fr); gap: 20px; }
  .ph-topic-courses.lp-course-grid { gap: 20px; }
  .ph-heading-copy { gap: 8px 16px; }
  .ph-heading-copy > p { font-size: 14px; }
}
@media (max-width: 900px) {
  .ph-banner-art { flex-basis: 40%; }
  .ph-banner-copy { padding-left: 0; padding-right: 0; }
  .ph-banner-copy p { font-size: 17px; }
  .ph-learning-layout { grid-template-columns: 1fr; gap: 24px; }
  .ph-rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .ph-ranking { min-height: 730px; }
  .ph-compact-cover { width: 55%; flex-basis: 55%; }
  .ph-topic-layout { grid-template-columns: 200px minmax(0, 1fr); }
  .ph-topic-poster { height: 100%; min-height: 500px; }
  .ph-poster-copy { padding: 28px 20px; }.ph-poster-copy h3 { font-size: 26px; }
  .ph-topic-courses.lp-course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ph-news-grid { gap: 16px; }.ph-news-image { height: 140px; }.ph-news-copy { padding: 14px; }
  .ph-provider-grid, .ph-friend-grid { gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .lp-home-body .lp-container { width: calc(100% - 32px); }
  .ph-banner { height: 300px; }
  .ph-banner-inner { gap: 0; }
  .ph-banner-copy { flex: 1; max-width: 100%; }
  .ph-banner-copy h2 { font-size: 28px; letter-spacing: 1px; max-width: 85%; }
  .ph-banner-copy p { font-size: 15px; line-height: 1.8; max-width: 80%; }
  .ph-banner-art { position: absolute; bottom: -35px; right: -100px; width: 270px; height: 170px; opacity: .4; }
  .ph-banner-slide.has-image .ph-banner-copy h2, .ph-banner-slide.has-image .ph-banner-copy p { max-width: 100%; }
  .ph-training-area { padding: 24px 0; }
  .ph-section-heading { gap: 12px; margin-bottom: 16px; align-items: flex-start; }
  .ph-heading { font-size: 24px; line-height: 36px; letter-spacing: 1px; }
  .ph-heading-copy { display: block; }.ph-heading-copy > p { margin-top: 4px; font-size: 12px; line-height: 20px; }
  .ph-more { font-size: 12px; padding-top: 6px; }
  .ph-learning-sections { gap: 24px; }
  .ph-course-section { padding: 16px; min-height: 0; }
  .ph-course-section-heading { min-height: 0; padding-right: 0; }
  .ph-course-section-heading h3 { font-size: 24px; line-height: 34px; }
  .ph-course-section-heading p { font-size: 12px; line-height: 20px; }
  .ph-category-tabs { gap: 4px; margin-top: 12px; }
  .ph-category-tabs a { font-size: 12px; padding: 3px 8px; line-height: 22px; max-width: 140px; }
  .ph-compact-grid { grid-template-columns: 1fr; min-height: 260px; padding: 12px; gap: 16px; }
  .ph-compact-card { height: 112px; }.ph-compact-cover { width: 50%; flex-basis: 50%; }.ph-compact-info h3 { font-size: 13px; }
  .ph-rankings { grid-template-columns: 1fr; gap: 24px; }
  .ph-ranking { min-height: 0; padding: 20px 16px; }
  .ph-ranking .ph-empty { min-height: 230px; }
  .ph-ranking-list img { width: 102px; height: 58px; flex-basis: 102px; }
  .ph-rank-featured .ph-rank-title { font-size: 14px; line-height: 22px; }
  .ph-rank-heading h3 { font-size: 22px; }
  .ph-topic-section, .ph-news-section, .ph-providers-section { margin-top: 32px; }
  .ph-topic-layout { grid-template-columns: 1fr; gap: 16px; }
  .ph-topic-poster { height: 220px; min-height: 0; }.ph-topic-poster.has-image { height: auto; }.ph-topic-poster > img { aspect-ratio: 282 / 516; height: auto; max-height: 400px; object-fit: cover; }
  .ph-poster-copy { padding: 26px 24px; width: 75%; }.ph-poster-copy h3 { font-size: 26px; margin-bottom: 12px; }.ph-poster-copy p { font-size: 14px; line-height: 24px; }
  .ph-poster-art { left: auto; width: 120px; right: -25px; bottom: -50px; opacity: .5; }
  .ph-topic-courses.lp-course-grid { gap: 16px; }.ph-topic-courses .lp-course-info { padding: 12px; height: 80px; }.ph-topic-courses .lp-course-title { font-size: 13px; }.ph-topic-courses .lp-course-price { font-size: 14px; }.ph-topic-courses .lp-course-source { font-size: 10px; }.ph-topic-courses .lp-course-meta { gap: 6px; }
  .ph-topic-courses .ph-empty { min-height: 230px; }
  .ph-news-grid { grid-template-columns: 1fr; }.ph-news-image { height: 160px; }.ph-news-copy { padding: 16px; }
  .ph-provider-card { padding: 20px 12px; min-height: 170px; gap: 12px; }.ph-provider-card h3 { font-size: 14px; }.ph-provider-card img { width: 110px; height: 80px; }.ph-provider-monogram { height: 80px; width: 80px; line-height: 80px; }
  .ph-friends-section { padding: 24px 0 32px; }.ph-friend-card { gap: 8px; padding: 12px; }.ph-friend-card img { width: 40px; height: 44px; flex-basis: 40px; }.ph-friend-card span { font-size: 13px; line-height: 22px; }
  .ph-home-bottom { padding-bottom: 32px; }
}
@media (prefers-reduced-motion: reduce) { .ph-carousel-dots button, .ph-compact-cover > img { transition: none; } }
