*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,"Segoe UI",sans-serif;color:#111a43;background:#fff;font-size:14px;-webkit-font-smoothing:antialiased}.stv_home_wrap{width:1100px;max-width:calc(100% - 64px);margin:auto}.stv_home_header{height:62px;border-bottom:1px solid #e8ebf2;background:rgba(255,255,255,.98)}.stv_home_navrow{height:100%;display:flex;align-items:center}.stv_home_logo{display:block;width:156px;height:42px;overflow:hidden}.stv_home_logo img{width:156px;height:42px;object-fit:cover}.stv_home_nav{display:flex;gap:32px;margin-left:108px}.stv_home_nav a{font-size:14px;font-weight:600;color:#17191f;text-decoration:none}.stv_home_nav-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.stv_home_btn,.stv_home_icon-btn{font:inherit;border:0;cursor:pointer}.stv_home_icon-btn{width:40px;height:40px;border:1px solid #e5e9f1;border-radius:10px;background:#fff;display:grid;place-items:center}.stv_home_icon-btn svg{width:18px;fill:none;stroke:#111a43;stroke-width:1.8;stroke-linecap:round}.stv_home_btn{height:40px;border-radius:9px;padding:0 17px;font-size:14px;font-weight:700}.stv_home_btn-white{background:#fff;border:1px solid #e3e7ef;color:#182047}.stv_home_btn-blue{background:#1559ef;color:#fff;box-shadow:0 8px 18px rgba(21,89,239,.2)}
.stv_home_hero{padding:45px 0 28px;background:linear-gradient(180deg,#fff 0,#fff 77%,#fbfcff 100%)}.stv_home_hero-grid{display:grid;grid-template-columns:55% 45%;gap:0;min-height:405px}.stv_home_hero-copy{padding-top:2px}.stv_home_hero h1{font-size:38px;line-height:1.27;letter-spacing:-1.3px;margin:0;font-weight:800;color:#111a4a}.stv_home_hero h1 .stv_home_blue{color:#1659e8}.stv_home_hero h1 .stv_home_purple{color:#7c41ee}.stv_home_hero-copy>p{font-size:14px;line-height:1.7;color:#30384f;margin:18px 0 23px}.stv_home_searchbar{width:590px;height:48px;display:grid;grid-template-columns:1fr 142px;border:1px solid #dfe4ed;border-radius:9px;background:#fff;box-shadow:0 8px 20px rgba(42,57,104,.09);position:relative;overflow:hidden}
.stv_home_searchbar input{border-radius: 15px;border:0;outline:0;padding:0 44px 0 16px;color:#27304a;font-size:14px}.stv_home_searchbar input::placeholder{color:#9ba5b7}.stv_home_search-svg{position:absolute;left:auto;right:157px;top:14px;width:18px;height:18px;fill:none;stroke:#8793aa;stroke-width:1.8;stroke-linecap:round}
.stv_home_searchbar button{border:0;border-radius: 0 10px 10px 0;background:#1559ef;color:#fff;font-size:14px;font-weight:700}.stv_home_topic-start{display:flex;align-items:center;gap:13px;margin:20px 0 29px 155px;height:31px;padding:0 18px;border:0;border-radius:999px;background:#f0f2f6;color:#414a60;font-size:14px}.stv_home_topic-start span{font-size:16px;color:#647087}.stv_home_stats{display:flex;align-items:center;gap:29px}.stv_home_stat{display:flex;align-items:center;gap:8px}.stv_home_sicon{width:34px;height:34px;border-radius:8px;display:grid;place-items:center;font-size:15px}.stv_home_bluebg{background:#ebf1ff;color:#3f6fea}.stv_home_orangebg{background:#fff3e8;color:#e99440}.stv_home_purplebg{background:#f0edff;color:#7150e8}.stv_home_greenbg{background:#eaf8f0;color:#2f9b69}.stv_home_indigobg{background:#eff0ff;color:#5d63db}.stv_home_stat b{display:block;font-size:14px}.stv_home_stat small{display:block;font-size:14px;color:#7a8497;margin-top:2px}.stv_home_hero-art{position:relative;min-height:405px}.stv_home_girl{position:absolute;right:8px;bottom:3px;width:285px;height:315px;object-fit:cover}.stv_home_dots-ring{position:absolute;right:22px;top:56px;width:328px;height:328px;border:1px dashed #dce5fb;border-radius:50%}.stv_home_aa{position:absolute;width:48px;height:48px;border-radius:50%;background:#f5f2ff;box-shadow:0 6px 14px rgba(91,65,170,.08);display:grid;place-items:center;color:#aaa3ea;font-size:18px}.stv_home_aa1{right:76px;top:47px}.stv_home_aa2{right:-2px;top:164px;color:#9d6eea}.stv_home_float-card{position:absolute;z-index:5;background:#fff;border:1px solid #e0e5ee;border-radius:11px;box-shadow:0 10px 24px rgba(33,48,95,.11)}.stv_home_word-card{left:64px;top:0;width:150px;padding:13px 13px 14px}.stv_home_word-head{display:flex;justify-content:space-between;gap:8px}.stv_home_word-head strong{display:block;font-size:14px}.stv_home_word-head small{display:block;font-size:14px;color:#808ba0;margin-top:4px}.stv_home_word-head span{font-size:14px;color:#7298ea}.stv_home_word-type{margin-top:12px;font-size:14px}.stv_home_meaning{display:block;font-size:14px;margin-top:6px}.stv_home_note-card{left:30px;top:145px;width:148px;padding:10px 11px}.stv_home_note-title{font-size:14px;color:#7848e8;font-weight:700}.stv_home_note-title span{display:inline-grid;width:18px;height:18px;margin-right:3px;border-radius:50%;place-items:center;background:#eee8ff}.stv_home_note-card p{font-size:14px;line-height:1.5;margin:8px 0 0;color:#232b45}.stv_home_srs-card{left:6px;bottom:16px;width:150px;padding:9px 11px}.stv_home_srs-title{font-size:14px;font-weight:700;color:#309361}.stv_home_srs-card p{font-size:14px;color:#4a556b;margin:7px 0 0}
.stv_home_how-section{padding:18px 0 17px}.stv_home_how-box{background:#fff;border-radius:16px;box-shadow:0 8px 28px rgba(31,50,105,.05);border:1px solid #f0f2f7;padding:26px 46px 18px}
.stv_home_how-box h2{text-align:center;font-size:18px;margin:0 0 22px; font-weight: bold;}
.stv_home_steps{display:grid;grid-template-columns:1fr 32px 1fr 32px 1fr 32px 1fr;align-items:center}.stv_home_step{height:155px;border:1px solid #e6eaf2;border-radius:10px;padding:17px 16px;background:#fff}.stv_home_roundico{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;margin-bottom:12px}.stv_home_roundico svg{width:24px;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}.stv_home_b1{background:#ecf2ff;color:#2f6fe0}.stv_home_b2{background:#f2edff;color:#6845dd}.stv_home_b3{background:#e9f8f0;color:#239563}.stv_home_b4{background:#fff0e6;color:#e27032}.stv_home_step h3{font-size:14px;margin:0 0 7px}.stv_home_step p{font-size:14px;line-height:1.6;color:#4e5870;margin:0}.stv_home_arrow{text-align:center;color:#7888a8;font-size:26px}
.stv_home_topics-section{padding:8px 0 15px}.stv_home_section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:14px}.stv_home_section-head h2{font-size:18px;margin:0 0 3px}.stv_home_section-head p{font-size:14px;color:#5f687b;margin:0}.stv_home_section-head a{font-size:14px;color:#0d55df;font-weight:700;text-decoration:none}.stv_home_topic-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.stv_home_topic-card{height:153px;border:1px solid #e4e8ef;border-radius:9px;background:#fff;box-shadow:0 5px 16px rgba(31,48,98,.05);padding:8px 9px;text-align:center;position:relative}.stv_home_topic-card h3{font-size:14px;margin:0 0 4px}.stv_home_topic-card img{width:100%;height:76px;border-radius:6px;display:block}.stv_home_pill{position:absolute;left:50%;transform:translateX(-50%);top:94px;border-radius:999px;padding:3px 11px;font-size:14px;white-space:nowrap}.stv_home_pill-blue{background:#e9f0ff;color:#2e60b7}.stv_home_pill-green{background:#e9f7ed;color:#2e8757}.stv_home_pill-amber{background:#fff0d9;color:#8b6424}.stv_home_topic-card>div{display:flex;justify-content:space-between;margin-top:14px}
.stv_home_topic-card small{font-size:13px;color:#4f596d}
.stv_home_hub-section{padding:0 0 15px}.stv_home_hub-card{border:1px solid #e3e8ef;border-radius:13px;box-shadow:0 8px 22px rgba(28,47,97,.05);background:#fff;overflow:hidden}.stv_home_hub-top{display:flex;align-items:center;justify-content:space-between;padding:13px 20px}.stv_home_hub-title{display:flex;align-items:center;gap:12px}.stv_home_hub-icon{width:44px;height:44px;border-radius:50%;background:#eef4ff;display:grid;place-items:center;font-size:22px}.stv_home_hub-title h2{font-size:18px;margin:0 0 3px}.stv_home_hub-title p{font-size:14px;color:#59647a;margin:0}.stv_home_hub-btn{height:34px;font-size:14px;padding:0 18px}.stv_home_hub-grid{display:grid;grid-template-columns:1fr 1fr 1fr;border-top:1px solid #edf0f4}.stv_home_hub-col{padding:16px 22px 16px;min-height:170px}.stv_home_hub-col.stv_home_middle{border-left:1px solid #edf0f4;border-right:1px solid #edf0f4}.stv_home_hub-col h3{font-size:14px;margin:0 0 6px}.stv_home_muted{font-size:14px;color:#8a93a6;margin:0 0 8px}.stv_home_tags{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:11px}.stv_home_tags span{background:#f0f4ff;color:#345a9b;border-radius:5px;padding:4px 8px;font-size:14px}.stv_home_hub-col>a{font-size:14px;color:#0d56e4;text-decoration:none;font-weight:700}
.stv_home_lesson{display:grid;grid-template-columns:61px 1fr;gap:30px;align-items:start;margin:5px 0}.stv_home_lesson p{font-size:14px;line-height:1.35;margin:0;color:#30394f}.stv_home_level{display:inline-block;width:max-content;border-radius:5px;padding:4px 7px;font-size:14px}.stv_home_easy{background:#e6f6eb;color:#247f49}.stv_home_adv{background:#e8f3e9;color:#2d7450}.stv_home_ielts{background:#f7e8f1;color:#91356c}.stv_home_conv{display:grid;grid-template-columns:24px 1fr;gap:7px;align-items:center;margin:5px 0;padding:4px 6px;background:#f6f7fa;border-radius:6px}.stv_home_conv span{font-size:14px}.stv_home_conv p{font-size:14px;line-height:1.35;margin:0}
.stv_home_features-section{padding:0 0 14px}.stv_home_features-section h2{font-size:17px;margin:0 0 12px 13px}.stv_home_feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:11px}.stv_home_feature-grid article{height:126px;border:1px solid #e4e8ef;border-radius:9px;background:#fff;box-shadow:0 5px 15px rgba(28,44,90,.04);padding:12px 14px}.stv_home_feature-head{display:flex;align-items:center;gap:7px}.stv_home_ficon{width:31px;height:31px;border-radius:8px;display:grid;place-items:center;font-size:14px}.stv_home_f-purple{background:#f0eaff;color:#7547e5}.stv_home_f-green{background:#e9f8f0;color:#2d9662}.stv_home_f-blue{background:#eaf2ff;color:#2b6cd8}.stv_home_f-orange{background:#fff0e5;color:#df7838}.stv_home_f-pink{background:#ffeaf3;color:#d55380}.stv_home_feature-head h3{font-size:14px;margin:0}.stv_home_feature-grid article p{font-size:14px;line-height:1.45;color:#566076;margin:8px 0}.stv_home_feature-grid article a{font-size:14px;color:#0e55df;text-decoration:none;font-weight:700}
.stv_home_cta-section{padding:0 0 10px}.stv_home_cta-box{height:132px;border-radius:13px;background:linear-gradient(112deg,#102b8b 0%,#142f89 50%,#7140df 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:20px 35px;overflow:hidden}.stv_home_cta-box h2{font-size:17px;margin:0 0 7px}.stv_home_cta-box p{font-size:14px;color:#dce5ff;margin:0 0 15px}.stv_home_cta-actions{display:flex;gap:10px}.stv_home_cta-actions .stv_home_btn{height:34px;font-size:14px}.stv_home_cta-white{background:#fff;color:#17204a}.stv_home_cta-blue{background:#1558ed;color:#fff}.stv_home_cta-box img{height:126px;width:305px;object-fit:cover;margin-right:15px;mix-blend-mode:screen;opacity:.62}
@media(max-width:900px){.stv_home_wrap{max-width:calc(100% - 28px)}.stv_home_nav{display:none}.stv_home_nav-actions .stv_home_btn{display:none}.stv_home_hero-grid{grid-template-columns:1fr}.stv_home_hero-copy{padding-bottom:28px}.stv_home_hero-art{min-height:370px}
  .stv_home_topic-grid{grid-template-columns:repeat(3,1fr)}.stv_home_feature-grid{grid-template-columns:repeat(2,1fr)}.stv_home_hub-grid{grid-template-columns:1fr}.stv_home_hub-col.stv_home_middle{border:0;border-top:1px solid #edf0f4;border-bottom:1px solid #edf0f4}.stv_home_steps{grid-template-columns:1fr 1fr;gap:12px}.stv_home_arrow{display:none}.stv_home_searchbar{width:100%}.stv_home_search-svg{left:auto;right:145px}.stv_home_stats{flex-wrap:wrap}.stv_home_cta-box img{display:none}}
@media(max-width:560px){.stv_home_header{height:56px}.stv_home_logo{width:145px}.stv_home_nav-actions{margin-left:auto}.stv_home_hero{padding-top:32px}.stv_home_hero h1{font-size:30px}.stv_home_hero-copy>p br{display:none}.stv_home_searchbar{grid-template-columns:1fr}.stv_home_searchbar button{height:44px}.stv_home_search-svg{right:15px}.stv_home_topic-start{margin-left:0}.stv_home_hero-art{min-height:350px}.stv_home_girl{right:-30px;width:238px}.stv_home_word-card{left:0}.stv_home_note-card{left:0}.stv_home_srs-card{left:0}.stv_home_steps{grid-template-columns:1fr}.stv_home_step{height:auto}.stv_home_topic-grid{grid-template-columns:repeat(2,1fr)}.stv_home_feature-grid{grid-template-columns:1fr}.stv_home_hub-top{align-items:flex-start;flex-direction:column;gap:12px}.stv_home_hub-btn{width:100%}.stv_home_cta-box{height:auto;min-height:130px;padding:22px}.stv_home_cta-actions{flex-direction:column}.stv_home_section-head{align-items:flex-start;flex-direction:column;gap:8px}}


/* ===== 1180px desktop optimization ===== */
@media (min-width:901px) and (max-width:1179px){
  .stv_home_wrap{width:calc(100% - 64px)}
  .stv_home_nav{gap:24px;margin-left:70px}
  .stv_home_hero h1{font-size:36px}
  .stv_home_searchbar{width:100%;max-width:590px}
}


/* =========================================================
   1180 DESKTOP — READABLE TYPE + FULL HERO ILLUSTRATION
   ========================================================= */
@media (min-width:901px){
  body{
    font-size:16px;
  }

  .stv_home_wrap{
    width:1100px;
    max-width:calc(100% - 64px);
  }

  /* Header */
  .stv_home_header{height:68px}
  .stv_home_logo{
    width:164px;
    height:45px;
  }
  .stv_home_logo img{
    width:164px;
    height:45px;
    object-fit:contain;
  }
  .stv_home_nav{
    gap:30px;
    margin-left:96px;
  }
  .stv_home_nav a{
    font-size:14px;
    line-height:1;
  }
  .stv_home_btn{
    height:42px;
    padding:0 18px;
    font-size:14px;
  }
  .stv_home_icon-btn{
    width:42px;
    height:42px;
  }

  /* Hero */
  .stv_home_hero{
    padding:48px 0 30px;
  }
  .stv_home_hero-grid{
    grid-template-columns:56% 44%;
    min-height:438px;
  }
  .stv_home_hero h1{
    font-size:42px;
    line-height:1.22;
    letter-spacing:-1.45px;
  }
  .stv_home_hero-copy>p{
    max-width:610px;
    margin:20px 0 25px;
    font-size:15px;
    line-height:1.72;
  }

  .stv_home_searchbar{
    width:600px;
    height:52px;
    grid-template-columns:1fr 148px;
  }
  .stv_home_searchbar input{
    padding-left:18px;
    padding-right:48px;
    font-size:14px;
  }
  .stv_home_searchbar button{
    font-size:14.5px;
  }
  .stv_home_search-svg{
    right:163px;
    top:16px;
    width:19px;
    height:19px;
  }
  .stv_home_topic-start{
    height:34px;
    margin:20px 0 28px 150px;
    padding:0 18px;
    font-size:14px;
  }

  .stv_home_stats{
    gap:23px;
  }
  .stv_home_sicon{
    width:37px;
    height:37px;
    font-size:16px;
  }
  .stv_home_stat{
    gap:9px;
  }
  .stv_home_stat b{
    font-size:14px;
  }
  .stv_home_stat small{
    margin-top:2px;
    font-size:14px;
  }

  /* Hero art: keep the entire illustration inside the available column. */
  .stv_home_hero-art{
    min-height:438px;
    overflow:visible;
  }
  .stv_home_girl{
    right:24px;
    bottom:4px;
    width:305px;
    height:auto;
    max-height:350px;
    object-fit:contain;
    object-position:center bottom;
  }
  .stv_home_dots-ring{
    right:16px;
    top:58px;
    width:340px;
    height:340px;
  }
  .stv_home_aa{
    width:50px;
    height:50px;
    font-size:19px;
  }
  .stv_home_aa1{right:76px;top:49px}
  .stv_home_aa2{right:0;top:170px}

  .stv_home_word-card{
    left:48px;
    top:1px;
    width:164px;
    padding:14px 14px 15px;
  }
  .stv_home_word-head strong{font-size:14px}
  .stv_home_word-head small{font-size:14px}
  .stv_home_word-head span{font-size:14px}
  .stv_home_word-type{
    margin-top:12px;
    font-size:14px;
  }
  .stv_home_meaning{
    margin-top:5px;
    font-size:14px;
  }

  .stv_home_note-card{
    left:12px;
    top:151px;
    width:174px;
    padding:11px 13px 12px;
  }
  .stv_home_note-title{
    font-size:14px;
  }
  .stv_home_note-title span{
    width:20px;
    height:20px;
  }
  .stv_home_note-card p{
    margin-top:8px;
    font-size:14px;
    line-height:1.52;
  }

  .stv_home_srs-card{
    left:0;
    bottom:17px;
    width:172px;
    padding:10px 13px 11px;
  }
  .stv_home_srs-title{
    font-size:14px;
  }
  .stv_home_srs-card p{
    margin-top:7px;
    font-size:14px;
  }

  /* Four-step learning flow */
  .stv_home_how-section{
    padding:21px 0 20px;
  }
  .stv_home_how-box{
    padding:28px 42px 22px;
  }
  .stv_home_how-box h2{
    margin-bottom:23px;
    font-size:21px;
  }
  .stv_home_steps{
    grid-template-columns:1fr 34px 1fr 34px 1fr 34px 1fr;
  }
  .stv_home_step{
    height:172px;
    padding:18px 17px;
  }
  .stv_home_roundico{
    width:46px;
    height:46px;
    margin-bottom:13px;
  }
  .stv_home_step h3{
    margin-bottom:7px;
    font-size:14px;
  }
  .stv_home_step p{
    font-size:14px;
    line-height:1.58;
  }

  /* Topic section */
  .stv_home_topics-section{
    padding:11px 0 18px;
  }
  .stv_home_section-head{
    margin-bottom:15px;
  }
  .stv_home_section-head h2{
    font-size:21px;
  }
  .stv_home_section-head p{
    font-size:14px;
  }
  .stv_home_section-head a{
    font-size:14px;
  }
  .stv_home_topic-grid{
    gap:14px;
  }
  .stv_home_topic-card{
    height:174px;
    padding:9px 10px 10px;
  }
  .stv_home_topic-card h3{
    margin-bottom:5px;
    font-size:14px;
  }
  .stv_home_topic-card img{
    height:85px;
   
  }
  .stv_home_pill{
    top:105px;
    padding:4px 11px;
    font-size:14px;
  }
  .stv_home_topic-card>div{
    margin-top:17px;
  }
  .stv_home_topic-card small{
    font-size:14px;
  }

  /* Topic hub */
  .stv_home_hub-section{
    padding-bottom:18px;
  }
  .stv_home_hub-top{
    padding:16px 22px;
  }
  .stv_home_hub-icon{
    width:47px;
    height:47px;
    font-size:23px;
  }
  .stv_home_hub-title h2{
    font-size:21px;
  }
  .stv_home_hub-title p{
    font-size:14px;
  }
  .stv_home_hub-btn{
    height:38px;
    padding:0 20px;
    font-size:14px;
  }
  .stv_home_hub-col{
    min-height:195px;
    padding:18px 22px 17px;
  }
  .stv_home_hub-col h3{
    font-size:14px;
  }
  .stv_home_muted{
    font-size:14px;
  }
  .stv_home_tags{
    gap:7px;
  }
  .stv_home_tags span{
    padding:5px 9px;
    font-size:14px;
  }
  .stv_home_hub-col>a{
    font-size:14px;
  }
  .stv_home_lesson{
    grid-template-columns:72px 1fr;
    gap:9px;
    margin:7px 0;
  }
  .stv_home_lesson p{
    font-size:14px;
    line-height:1.42;
  }
  .stv_home_level{
    padding:4px 8px;
    font-size:14px;
  }
  .stv_home_conv{
    grid-template-columns:27px 1fr;
    gap:8px;
    margin:7px 0;
    padding:6px 8px;
  }
  .stv_home_conv span{
    font-size:14px;
  }
  .stv_home_conv p{
    font-size:14px;
    line-height:1.4;
  }

  /* Feature cards */
  .stv_home_features-section{
    padding-bottom:18px;
  }
  .stv_home_features-section h2{
    margin:0 0 13px 13px;
    font-size:20px;
  }
  .stv_home_feature-grid{
    gap:11px;
  }
  .stv_home_feature-grid article{
    height:151px;
    padding:14px 14px 13px;
  }
  .stv_home_ficon{
    width:34px;
    height:34px;
    font-size:14px;
  }
  .stv_home_feature-head h3{
    font-size:14px;
    line-height:1.3;
  }
  .stv_home_feature-grid article p{
    margin:9px 0;
    font-size:14px;
    line-height:1.48;
  }
  .stv_home_feature-grid article a{
    font-size:14px;
  }

  /* CTA */
  .stv_home_cta-box{
    height:145px;
    padding:22px 36px;
  }
  .stv_home_cta-box h2{
    margin-bottom:7px;
    font-size:20px;
  }
  .stv_home_cta-box p{
    margin-bottom:16px;
    font-size:14px;
  }
  .stv_home_cta-actions .stv_home_btn{
    height:37px;
    font-size:14px;
  }
  .stv_home_cta-box img{
    width:315px;
    height:132px;
    object-fit:contain;
    margin-right:10px;
  }
}


/* =========================================================
   1180 DESKTOP — MINIMUM FONT SIZE 14PX
   ========================================================= */
@media (min-width:901px){

  body{
    font-size:16px;
    line-height:1.6;
  }

  /* Global minimum readable text */
  small,
  .stv_home_logo small,
  .stv_home_nav a,
  .stv_home_btn,
  .stv_home_hero-copy>p,
  .stv_home_topic-start,
  .stv_home_stat b,
  .stv_home_stat small,
  .stv_home_word-head strong,
  .stv_home_word-head small,
  .stv_home_word-head span,
  .stv_home_word-type,
  .stv_home_meaning,
  .stv_home_note-title,
  .stv_home_note-card p,
  .stv_home_srs-title,
  .stv_home_srs-card p,
  .stv_home_step p,
  .stv_home_section-head p,
  .stv_home_section-head a,
  .stv_home_topic-card small,
  .stv_home_hub-title p,
  .stv_home_muted,
  .stv_home_tags span,
  .stv_home_hub-col>a,
  .stv_home_lesson p,
  .stv_home_level,
  .stv_home_conv p,
  .stv_home_feature-head h3,
  .stv_home_feature-grid article p,
  .stv_home_feature-grid article a,
  .stv_home_cta-box p,
  .stv_home_cta-actions .stv_home_btn{
    font-size:13px !important;
  }

  /* Header */
  .stv_home_nav a{
    font-size:15px !important;
    font-weight:600;
  }
  .stv_home_btn{
    font-size:15px !important;
  }

  /* Hero */
  .stv_home_hero{
    padding:54px 0 34px;
  }
  .stv_home_hero-grid{
    min-height:470px;
  }
  .stv_home_hero h1{
    font-size:46px;
    line-height:1.18;
    letter-spacing:-1.5px;
  }
  .stv_home_hero-copy>p{
    font-size:17px !important;
    line-height:1.7;
    max-width:620px;
  }

  .stv_home_searchbar{
    width:610px;
    height:56px;
    grid-template-columns:1fr 156px;
  }
  .stv_home_searchbar input{
    font-size:15px;
    padding-left:18px;
  }
  .stv_home_searchbar button{
    font-size:16px !important;
  }
  .stv_home_search-svg{
    right:171px;
    top:18px;
  }
  .stv_home_topic-start{
    height:38px;
    padding:0 20px;
    margin-left:155px;
    font-size:14px !important;
  }

  /* Stats */
  .stv_home_stats{
    gap:24px;
  }
  .stv_home_stat b{
    font-size:15px !important;
  }
  .stv_home_stat small{
    font-size:14px !important;
  }

  /* Hero cards */
  .stv_home_word-card{
    width:185px;
    padding:16px 16px 17px;
  }
  .stv_home_word-head strong{
    font-size:15px !important;
  }
  .stv_home_word-head small,
  .stv_home_word-head span,
  .stv_home_word-type,
  .stv_home_meaning{
    font-size:14px !important;
  }

  .stv_home_note-card{
    width:214px;
    padding:14px 16px 15px;
  }
  .stv_home_note-title{
    font-size:14px !important;
  }
  .stv_home_note-card p{
    font-size:14px !important;
    line-height:1.55;
  }

  .stv_home_srs-card{
    width:204px;
    padding:13px 15px 14px;
  }
  .stv_home_srs-title,
  .stv_home_srs-card p{
    font-size:14px !important;
  }

  /* Hero illustration */
  .stv_home_hero-art{
    min-height:470px;
  }
  .stv_home_girl{
    width:325px;
    max-height:385px;
    right:20px;
    bottom:4px;
  }
  .stv_home_dots-ring{
    width:360px;
    height:360px;
    right:8px;
    top:64px;
  }
  .stv_home_aa{
    width:54px;
    height:54px;
    font-size:20px !important;
  }

  /* Main section headings */
  .stv_home_how-box h2,
  .stv_home_section-head h2,
  .stv_home_hub-title h2,
  .stv_home_features-section h2{
    font-size:25px !important;
    line-height:1.3;
  }

  /* Four-step section */
  .stv_home_how-box{
    padding:32px 44px 26px;
  }
  .stv_home_steps{
    gap:16px;
  }
  .stv_home_step{
    min-height:210px;
    height:auto;
    padding:22px 20px;
  }
  .stv_home_step h3{
    font-size:17px !important;
    margin-bottom:9px;
  }
  .stv_home_step p{
    font-size:14px !important;
    line-height:1.6;
  }

  /* Topics */
  .stv_home_section-head p,
  .stv_home_section-head a{
    font-size:14px !important;
  }
  .stv_home_topic-card{
    height:210px;
    padding:12px 12px 13px;
  }
  .stv_home_topic-card h3{
    font-size:16px !important;
    margin:9px 0 7px;
  }
  .stv_home_topic-card img{
    height:96px;
  }
  .stv_home_pill{
    top:118px;
    padding:5px 12px;
    font-size:14px !important;
  }
  .stv_home_topic-card>div{
    margin-top:30px;
  }
  .stv_home_topic-card small{
    font-size:13px !important;
  }

  /* Topic hub */
  .stv_home_hub-top{
    padding:20px 24px;
  }
  .stv_home_hub-title h2{
    font-size:24px !important;
  }
  .stv_home_hub-title p{
    font-size:14px !important;
  }
  .stv_home_hub-btn{
    height:44px;
    padding:0 22px;
    font-size:14px !important;
  }
  .stv_home_hub-col{
    min-height:255px;
    padding:22px 24px 20px;
  }
  .stv_home_hub-col h3{
    font-size:17px !important;
  }
  .stv_home_muted{
    font-size:14px !important;
  }
  .stv_home_tags{
    gap:8px;
  }
  .stv_home_tags span{
    padding:6px 10px;
    font-size:14px !important;
  }
  .stv_home_hub-col>a{
    font-size:14px !important;
  }
  .stv_home_lesson{
    grid-template-columns:88px 1fr;
    gap:10px;
    margin:10px 0;
  }
  .stv_home_lesson p{
    font-size:14px !important;
    line-height:1.5;
  }
  .stv_home_level{
    padding:5px 9px;
    font-size:14px !important;
  }
  .stv_home_conv{
    grid-template-columns:31px 1fr;
    gap:9px;
    margin:9px 0;
    padding:8px 9px;
  }
  .stv_home_conv span{
    font-size:16px !important;
  }
  .stv_home_conv p{
    font-size:14px !important;
    line-height:1.5;
  }

  /* Features */
  .stv_home_feature-grid{
    gap:12px;
  }
  .stv_home_feature-grid article{
    height:215px;
    padding:18px 17px 16px;
  }
  .stv_home_feature-head h3{
    font-size:15px !important;
    line-height:1.4;
  }
  .stv_home_feature-grid article p{
    font-size:14px !important;
    line-height:1.6;
  }
  .stv_home_feature-grid article a{
    font-size:14px !important;
  }

  /* CTA */
  .stv_home_cta-box{
    height:170px;
    padding:26px 38px;
  }
  .stv_home_cta-box h2{
    font-size:24px !important;
  }
  .stv_home_cta-box p{
    font-size:14px !important;
  }
  .stv_home_cta-actions .stv_home_btn{
    height:42px;
    font-size:14px !important;
  }
  .stv_home_cta-box img{
    width:335px;
    height:150px;
    object-fit:contain;
  }
}

/* Tablet/mobile: also prevent tiny text */
@media (max-width:900px){
  body{font-size:16px}
  small,
  .stv_home_nav a,
  .stv_home_btn,
  .stv_home_hero-copy>p,
  .stv_home_topic-start,
  .stv_home_stat b,
  .stv_home_stat small,
  .stv_home_word-head strong,
  .stv_home_word-head small,
  .stv_home_word-head span,
  .stv_home_word-type,
  .stv_home_meaning,
  .stv_home_note-title,
  .stv_home_note-card p,
  .stv_home_srs-title,
  .stv_home_srs-card p,
  .stv_home_step p,
  .stv_home_section-head p,
  .stv_home_section-head a,
  .stv_home_topic-card small,
  .stv_home_hub-title p,
  .stv_home_muted,
  .stv_home_tags span,
  .stv_home_hub-col>a,
  .stv_home_lesson p,
  .stv_home_level,
  .stv_home_conv p,
  .stv_home_feature-head h3,
  .stv_home_feature-grid article p,
  .stv_home_feature-grid article a,
  .stv_home_cta-box p,
  .stv_home_cta-actions .stv_home_btn{
    font-size:14px !important;
  }
}


/* =========================================================
   FINAL HERO CLEANUP — original-style stats + compact right
   ========================================================= */
@media (min-width:901px){
  .stv_home_hero{
    padding:48px 0 32px;
  }
  .stv_home_hero-grid{
    grid-template-columns:59% 41%;
    gap:8px;
    min-height:485px;
    align-items:start;
  }
  .stv_home_hero-copy{padding-top:6px}
  .stv_home_hero h1{
    font-size:46px;
    line-height:1.18;
    letter-spacing:-1.55px;
  }
  .stv_home_hero-copy>p{
    font-size:16px !important;
    line-height:1.7;
    margin:21px 0 26px;
  }
  .stv_home_searchbar{
    width:610px;
    height:56px;
  }
  .stv_home_topic-start{
    margin:20px 0 27px 155px;
  }

  /* Statistics — like original reference, no surrounding cards */
  .stv_home_stats{
    display:grid;
    grid-template-columns:repeat(5,max-content);
    align-items:center;
    gap:17px;
    margin-top:0;
  }
  .stv_home_stat{
    display:flex;
    align-items:center;
    gap:9px;
    min-width:0;
  }
  .stv_home_sicon{
    width:38px;
    height:38px;
    border-radius:10px;
    flex:0 0 38px;
    font-size:16px;
  }
  .stv_home_stat b{
    display:block;
    font-size:15px !important;
    line-height:1.1;
    white-space:nowrap;
  }
  .stv_home_stat small{
    display:block;
    margin-top:4px;
    font-size:14px !important;
    line-height:1.3;
    color:#6f7990;
    white-space:nowrap;
  }

  /* Right-side composition */
  .stv_home_hero-art-clean{
    position:relative;
    min-height:455px;
    overflow:visible;
  }
  .stv_home_learning-orbit{
    position:absolute;
    right:4px;
    top:48px;
    width:355px;
    height:355px;
    border:1px dashed #d9e4f8;
    border-radius:50%;
  }
  .stv_home_learning-orbit:before,
  .stv_home_learning-orbit:after{
    content:"";
    position:absolute;
    width:9px;height:9px;border-radius:50%;
    background:#d8e6fb;
    box-shadow:0 0 0 5px rgba(216,230,251,.22);
  }
  .stv_home_learning-orbit:before{left:22px;top:70px}
  .stv_home_learning-orbit:after{right:26px;bottom:73px}

  .stv_home_hero-art-clean .stv_home_aa{
    width:48px;
    height:48px;
    font-size:18px !important;
    z-index:4;
  }
  .stv_home_hero-art-clean .stv_home_aa1{right:65px;top:36px}
  .stv_home_hero-art-clean .stv_home_aa2{right:-2px;top:175px}

  .stv_home_book-scene{
    position:absolute;
    right:2px;
    top:92px;
    width:338px;
    height:302px;
    z-index:2;
  }
  .stv_home_scene-glow{
    position:absolute;
    right:6px;
    bottom:7px;
    width:292px;
    height:210px;
    border-radius:48% 52% 45% 55%;
    background:radial-gradient(circle at 45% 55%, rgba(74,159,221,.10), rgba(99,93,233,.045) 48%, transparent 72%);
  }
  .stv_home_book-svg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    filter:drop-shadow(0 15px 18px rgba(37,57,111,.09));
  }
  .stv_home_word-chip{
    position:absolute;
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:70px;
    height:30px;
    padding:0 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #e6ebf4;
    box-shadow:0 8px 18px rgba(31,48,98,.07);
    color:#385f9b;
    font-size:14px;
    font-weight:600;
  }
  .stv_home_chip-one{right:25px;top:64px}
  .stv_home_chip-two{right:8px;top:207px}
  .stv_home_chip-three{right:72px;bottom:5px}

  /* Three floating cards are aligned as one neat vertical rail */
  .stv_home_hero-art-clean .stv_home_float-card{
    z-index:7;
  }
  .stv_home_hero-art-clean .stv_home_word-card{
    left:0;
    top:4px;
    width:176px;
    padding:14px 15px 15px;
  }
  .stv_home_hero-art-clean .stv_home_note-card{
    left:-18px;
    top:158px;
    width:204px;
    padding:13px 15px 14px;
  }
  .stv_home_hero-art-clean .stv_home_srs-card{
    left:-26px;
    bottom:11px;
    width:204px;
    padding:12px 15px 13px;
  }
  .stv_home_hero-art-clean .stv_home_note-card p,
  .stv_home_hero-art-clean .stv_home_srs-card p,
  .stv_home_hero-art-clean .stv_home_word-card small,
  .stv_home_hero-art-clean .stv_home_word-type,
  .stv_home_hero-art-clean .stv_home_meaning{
    font-size:14px !important;
  }
}

@media (max-width:900px){
  .stv_home_stats{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px 20px;
  }
  .stv_home_stat{display:flex;align-items:center;gap:10px}
  .stv_home_hero-art-clean{min-height:440px}
  .stv_home_learning-orbit{right:18px;top:58px;width:300px;height:300px}
  .stv_home_book-scene{right:8px;top:110px;width:285px;height:245px}
  .stv_home_hero-art-clean .stv_home_word-card{left:0;top:10px}
  .stv_home_hero-art-clean .stv_home_note-card{left:0;top:160px}
  .stv_home_hero-art-clean .stv_home_srs-card{left:0;bottom:10px}
}

@media (max-width:560px){
  .stv_home_stats{grid-template-columns:1fr 1fr}
  .stv_home_stat small{white-space:normal}
  .stv_home_hero-art-clean{min-height:405px}
  .stv_home_learning-orbit{right:-18px;top:70px;width:250px;height:250px}
  .stv_home_book-scene{right:-6px;top:130px;width:238px;height:205px}
  .stv_home_word-chip{display:none}
  .stv_home_hero-art-clean .stv_home_word-card{width:168px}
  .stv_home_hero-art-clean .stv_home_note-card{width:190px}
  .stv_home_hero-art-clean .stv_home_srs-card{width:192px}
}


/* =========================================================
   HERO CENTERED — ONE COLUMN, NO RIGHT ILLUSTRATION
   ========================================================= */

.stv_home_hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 20% 8%, rgba(41,111,246,.055), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(123,66,244,.05), transparent 24%),
    linear-gradient(180deg,#fff 0%,#fbfcff 100%);
}

@media (min-width:901px){
  .stv_home_hero{
    padding:64px 0 48px;
  }

  .stv_home_hero-grid{
    display:block !important;
    min-height:0 !important;
  }

  .stv_home_hero-copy{
    width:100%;
    max-width:980px;
    margin:0 auto;
    padding:0 !important;
    text-align:center;
  }

  .stv_home_hero h1{
    max-width:900px;
    margin:0 auto;
    font-size:48px;
    line-height:1.18;
    letter-spacing:-1.65px;
  }

  .stv_home_hero-copy>p{
    max-width:760px;
    margin:24px auto 28px;
    font-size:17px !important;
    line-height:1.72;
    text-align:center;
  }

  .stv_home_searchbar{
    width:700px;
    max-width:100%;
    height:56px;
    margin:0 auto;
    grid-template-columns:1fr 158px;
  }

  .stv_home_searchbar input{
    font-size:15px;
    padding-left:20px;
    padding-right:50px;
  }

  .stv_home_searchbar button{
    font-size:16px !important;
  }

  .stv_home_search-svg{
    right:174px !important;
    top:18px !important;
    width:19px;
    height:19px;
  }

  .stv_home_topic-start{
    display:flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    min-width:330px;
    height:38px;
    margin:20px auto 34px !important;
    padding:0 20px;
    font-size:14px !important;
  }

  /* Statistics: same visual idea as the original mockup, centered and without boxes */
  .stv_home_stats{
    display:flex !important;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:nowrap !important;
    gap:32px !important;
    width:100%;
    max-width:920px;
    margin:0 auto;
  }

  .stv_home_stat{
    display:flex;
    align-items:center;
    gap:10px !important;
    min-width:0;
    text-align:left;
  }

  .stv_home_sicon{
    width:40px !important;
    height:40px !important;
    flex:0 0 40px;
    border-radius:12px;
    font-size:16px !important;
  }

  .stv_home_stat b{
    display:block;
    font-size:16px !important;
    line-height:1.15;
    white-space:nowrap;
  }

  .stv_home_stat small{
    display:block;
    margin-top:4px !important;
    font-size:14px !important;
    line-height:1.35;
    color:#6b758a;
    white-space:nowrap;
  }

  .stv_home_hero-art,
  .stv_home_hero-art-clean{
    display:none !important;
  }
}

@media (min-width:901px) and (max-width:1179px){
  .stv_home_hero h1{
    font-size:46px !important;
  }

  .stv_home_searchbar{
    width:680px !important;
    max-width:680px !important;
  }

  .stv_home_stats{
    gap:25px !important;
  }
}

@media (max-width:900px){
  .stv_home_hero{
    padding:48px 0 38px;
  }

  .stv_home_hero-grid{
    display:block !important;
  }

  .stv_home_hero-copy{
    max-width:720px;
    margin:0 auto;
    text-align:center;
  }

  .stv_home_hero h1{
    max-width:700px;
    margin:0 auto;
    text-align:center;
  }

  .stv_home_hero-copy>p{
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
    text-align:center;
  }

  .stv_home_searchbar{
    margin-left:auto;
    margin-right:auto;
  }

  .stv_home_topic-start{
    margin-left:auto !important;
    margin-right:auto !important;
  }

  .stv_home_stats{
    justify-content:center;
  }

  .stv_home_hero-art,
  .stv_home_hero-art-clean{
    display:none !important;
  }
}

@media (max-width:640px){
  .stv_home_hero{
    padding-top:38px;
  }

  .stv_home_hero h1{
    font-size:36px !important;
    line-height:1.2;
  }

  .stv_home_hero-copy>p{
    font-size:15px !important;
  }

  .stv_home_searchbar{
    width:100%;
    grid-template-columns:1fr;
  }

  .stv_home_search-svg{
    right:16px !important;
    top:18px !important;
  }

  .stv_home_searchbar button{
    min-height:48px;
  }

  .stv_home_topic-start{
    min-width:0;
    width:auto;
    max-width:100%;
  }

  .stv_home_stats{
    display:grid !important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px 22px !important;
    max-width:520px;
  }

  .stv_home_stat{
    justify-content:flex-start;
  }
}


/* =========================================================
   FINAL POLISH — VECTOR LOGO, MOBILE MENU, FOOTER
   ========================================================= */

/* Vector logo: always crisp on retina/high-DPI screens */
.stv_home_logo-vector{
  width:auto !important;
  height:auto !important;
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  flex:0 0 auto;
}
.stv_home_logo-mark{
  width:42px;
  height:42px;
  flex:0 0 42px;
}
.stv_home_logo-copy{
  display:block;
  min-width:126px;
}
.stv_home_logo-copy strong{
  display:block;
  color:#1762bf;
  font-size:16px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:.01em;
}
.stv_home_logo-copy small{
  display:block;
  margin-top:4px;
  color:#8791a4;
  font-size:14px !important;
  line-height:1.1;
}

/* Mobile menu button */
.stv_home_menu-btn{
  display:none;
  width:42px;
  height:42px;
  border:1px solid #e3e8f1;
  border-radius:11px;
  background:#fff;
  color:#17204a;
  align-items:center;
  justify-content:center;
  padding:0;
}
.stv_home_menu-btn svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
}
.stv_home_mobile-nav-actions{
  display:none;
}

/* Footer */
.stv_home_site-footer{
  margin-top:28px;
  border-top:1px solid #e8ecf3;
  background:#f8faff;
}
.stv_home_footer-main{
  min-height:112px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:36px;
  padding-top:24px;
  padding-bottom:24px;
}
.stv_home_footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}
.stv_home_footer-logo-mark{
  width:36px;
  height:36px;
  flex:0 0 36px;
}
.stv_home_footer-brand strong{
  display:block;
  color:#1b3f87;
  font-size:15px;
  line-height:1.2;
}
.stv_home_footer-brand small{
  display:block;
  color:#758097;
  font-size:14px !important;
  line-height:1.4;
  margin-top:3px;
}
.stv_home_footer-links{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:10px 22px;
}
.stv_home_footer-links a{
  color:#526078;
  font-size:14px;
  text-decoration:none;
}
.stv_home_footer-links a:hover{
  color:#1558ed;
}
.stv_home_footer-bottom{
  min-height:54px;
  border-top:1px solid #e7ebf2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  color:#8992a5;
  font-size:14px;
}

/* Improve responsive behavior under tablet width */
@media (max-width:900px){
  .stv_home_header{
    height:68px !important;
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.96);
    backdrop-filter:blur(12px);
  }

  .stv_home_navrow{
    height:68px;
    position:relative;
  }

  .stv_home_logo-mark{
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .stv_home_logo-copy strong{
    font-size:15px;
  }

  .stv_home_logo-copy small{
    display:none;
  }

  .stv_home_nav-actions{
    margin-left:auto;
    gap:8px;
  }

  .stv_home_nav-actions>.stv_home_btn{
    display:none !important;
  }

  .stv_home_icon-btn{
    display:flex;
  }

  .stv_home_menu-btn{
    display:flex;
  }

  .stv_home_nav{
    display:none !important;
    position:absolute;
    left:0;
    right:0;
    top:68px;
    z-index:120;
    margin:0 !important;
    padding:10px;
    background:#fff;
    border:1px solid #e4e9f2;
    border-radius:0 0 16px 16px;
    box-shadow:0 18px 36px rgba(30,48,96,.13);
  }

  .stv_home_nav.stv_home_is-open{
    display:flex !important;
    flex-direction:column;
    align-items:stretch;
    gap:4px !important;
  }

  .stv_home_nav>a{
    display:flex;
    align-items:center;
    min-height:46px;
    padding:0 14px;
    border-radius:9px;
    font-size:15px !important;
    color:#202b4c;
  }

  .stv_home_nav>a:hover{
    background:#f2f6ff;
    color:#1458e8;
  }

  .stv_home_mobile-nav-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:10px 4px 4px;
    border-top:1px solid #edf0f5;
    margin-top:6px;
  }

  .stv_home_mobile-nav-actions a{
    min-height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    font-size:14px;
    font-weight:700;
  }

  .stv_home_mobile-login{
    border:1px solid #dfe5ef;
    color:#25304e;
    background:#fff;
  }

  .stv_home_mobile-register{
    color:#fff !important;
    background:#1558ed;
  }

  /* Hero/mobile */
  .stv_home_hero{
    padding:42px 0 34px !important;
  }

  .stv_home_hero h1{
    font-size:40px !important;
    line-height:1.2;
    letter-spacing:-1.1px;
  }

  .stv_home_hero-copy>p{
    font-size:16px !important;
    line-height:1.65;
  }

  .stv_home_searchbar{
    width:min(100%,680px);
    max-width:100%;
    height:auto;
    grid-template-columns:1fr 148px;
  }

  .stv_home_searchbar input{
    height:54px;
    min-width:0;
  }

  .stv_home_searchbar button{
    min-height:54px;
  }

  .stv_home_search-svg{
    top:17px !important;
    right:163px !important;
  }

  .stv_home_stats{
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:20px 24px !important;
    width:100%;
    max-width:720px;
    margin-left:auto;
    margin-right:auto;
  }

  .stv_home_stat{
    justify-content:flex-start;
  }

  /* Main content */
  .stv_home_how-box{
    padding:26px 24px 22px !important;
  }

  .stv_home_steps{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  .stv_home_arrow{
    display:none !important;
  }

  .stv_home_step{
    min-height:188px !important;
    height:auto !important;
  }

  .stv_home_topic-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:14px !important;
  }

  .stv_home_topic-card{
    height:auto !important;
    min-height:218px;
  }

  .stv_home_topic-card img{
    height:110px !important;
  }

  .stv_home_pill{
    top:132px !important;
  }

  .stv_home_hub-grid{
    grid-template-columns:1fr !important;
  }

  .stv_home_hub-col{
    min-height:0 !important;
  }

  .stv_home_hub-col.stv_home_middle{
    border-left:0 !important;
    border-right:0 !important;
    border-top:1px solid #edf0f4;
    border-bottom:1px solid #edf0f4;
  }

  .stv_home_feature-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .stv_home_feature-grid article{
    height:auto !important;
    min-height:205px;
  }

  .stv_home_cta-box{
    height:auto !important;
    min-height:170px;
  }

  .stv_home_cta-box img{
    width:250px !important;
    height:135px !important;
  }

  /* Footer tablet */
  .stv_home_footer-main{
    align-items:flex-start;
    flex-direction:column;
    gap:20px;
  }

  .stv_home_footer-links{
    justify-content:flex-start;
  }
}

@media (max-width:640px){
  .stv_home_wrap{
    max-width:calc(100% - 28px) !important;
  }

  .stv_home_logo-mark{
    width:36px;
    height:36px;
    flex-basis:36px;
  }

  .stv_home_logo-copy strong{
    font-size:14px;
  }

  .stv_home_hero{
    padding:34px 0 30px !important;
  }

  .stv_home_hero h1{
    font-size:34px !important;
    line-height:1.22;
    letter-spacing:-.9px;
  }

  .stv_home_hero-copy>p{
    font-size:15px !important;
    line-height:1.6;
    margin-top:18px;
    margin-bottom:22px;
  }

  .stv_home_searchbar{
    display:grid !important;
    grid-template-columns:1fr !important;
    border-radius:12px;
  }

  .stv_home_searchbar input{
    height:52px;
    padding-right:48px;
  }

  .stv_home_search-svg{
    right:17px !important;
    top:17px !important;
  }

  .stv_home_searchbar button{
    height:50px;
    border-radius:0 0 11px 11px;
  }

  .stv_home_topic-start{
    width:100%;
    min-width:0 !important;
    max-width:100%;
    min-height:42px;
    height:auto !important;
    padding:9px 14px !important;
    line-height:1.4;
  }

  .stv_home_stats{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:18px 14px !important;
  }

  .stv_home_stat{
    align-items:flex-start;
  }

  .stv_home_stat small{
    white-space:normal !important;
  }

  .stv_home_how-section,
  .stv_home_topics-section,
  .stv_home_hub-section,
  .stv_home_features-section{
    padding-left:0;
    padding-right:0;
  }

  .stv_home_how-box{
    padding:24px 16px 20px !important;
  }

  .stv_home_how-box h2,
  .stv_home_section-head h2,
  .stv_home_hub-title h2,
  .stv_home_features-section h2{
    font-size:22px !important;
  }

  .stv_home_steps{
    grid-template-columns:1fr !important;
  }

  .stv_home_step{
    min-height:0 !important;
  }

  .stv_home_step p br,
  .stv_home_feature-grid article p br,
  .stv_home_lesson p br,
  .stv_home_conv p br{
    display:none;
  }

  .stv_home_section-head{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:8px;
  }

  .stv_home_topic-grid{
   grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }

  .stv_home_topic-card{
    min-height:240px;
  }

  .stv_home_topic-card img{
    height:135px !important;
  }

  .stv_home_pill{
    top:157px !important;
  }

  .stv_home_hub-top{
    flex-direction:column !important;
    align-items:flex-start !important;
    gap:14px;
  }

  .stv_home_hub-btn{
    width:100%;
    height:46px !important;
  }

  .stv_home_feature-grid{
    grid-template-columns:1fr !important;
  }

  .stv_home_feature-grid article{
    min-height:0;
  }

  .stv_home_cta-box{
    padding:24px 20px !important;
  }

  .stv_home_cta-box img{
    display:none !important;
  }

  .stv_home_cta-actions{
    flex-direction:column;
  }

  .stv_home_cta-actions .stv_home_btn{
    width:100%;
    min-height:44px;
  }

  .stv_home_footer-main{
    min-height:0;
    padding-top:24px;
    padding-bottom:20px;
  }

  .stv_home_footer-links{
    display:grid;
    grid-template-columns:1fr 1fr;
    width:100%;
    gap:12px 18px;
  }

  .stv_home_footer-bottom{
    min-height:0;
    padding-top:16px;
    padding-bottom:18px;
    flex-direction:column;
    align-items:flex-start;
    gap:6px;
  }
}


/* =========================================================
   V1.1 — FIXED HEADER + ICON NAV + TOPIC SELECT
   ========================================================= */
:root{
  --stv-header-height:68px;
}

body{
  padding-top:var(--stv-header-height);
}

.stv_home_header{
  position:fixed !important;
  top:0;
  left:0;
  right:0;
  width:100%;
  height:var(--stv-header-height) !important;
  z-index:1000 !important;
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid #e5e9f1;
  box-shadow:0 1px 0 rgba(22,39,83,.02);
  -webkit-backdrop-filter:blur(12px);
  backdrop-filter:blur(12px);
}

.stv_home_navrow{
  height:var(--stv-header-height) !important;
}

@media (min-width:901px){
  .stv_home_nav{
    align-self:stretch;
    display:flex;
    align-items:stretch;
    gap:2px !important;
    margin-left:34px !important;
  }

  .stv_home_nav>a.stv_home_nav-link{
    position:relative;
    display:flex;
    align-items:center;
    gap:8px;
    height:100%;
    padding:0 10px;
    color:#24314d;
    font-size:14px !important;
    font-weight:600;
    white-space:nowrap;
    transition:color .18s ease, background .18s ease;
  }

  .stv_home_nav>a.stv_home_nav-link:hover{
    color:#1558ed;
    background:#f8faff;
  }

  .stv_home_nav>a.stv_home_nav-link.stv_home_is-active{
    color:#1558ed;
  }

  .stv_home_nav>a.stv_home_nav-link.stv_home_is-active::after{
    content:"";
    position:absolute;
    left:9px;
    right:9px;
    bottom:-1px;
    height:2px;
    border-radius:2px 2px 0 0;
    background:#1558ed;
  }

  .stv_home_nav-icon{
    width:18px;
    height:18px;
    flex:0 0 18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  .stv_home_nav-actions{
    gap:8px;
  }

  .stv_home_nav-actions .stv_home_btn{
    padding-left:14px;
    padding-right:14px;
  }
}

#dictionarySearch{
  scroll-margin-top:calc(var(--stv-header-height) + 22px);
}

#dictionarySearch.stv_home_is-search-focus{
  border-color:#6f96ff;
  box-shadow:0 0 0 4px rgba(21,88,237,.09),0 8px 20px rgba(42,57,104,.09);
}

.stv_home_topic-select-wrap{
  position:relative;
  width:max-content;
  max-width:100%;
  margin:20px auto 34px;
}

.stv_home_topic-select-wrap .stv_home_topic-start{
  display:block !important;
  width:390px !important;
  max-width:100% !important;
  min-width:0 !important;
  height:38px !important;
  margin:0 !important;
  padding:0 45px 0 20px !important;
  border:0 !important;
  border-radius:999px !important;
  outline:0;
  background:#f0f2f6 !important;
  color:#414a60 !important;
  font-family:inherit;
  font-size:14px !important;
  font-weight:400;
  line-height:38px;
  cursor:pointer;
  -webkit-appearance:none;
  appearance:none;
  transition:background .18s ease, box-shadow .18s ease;
}

.stv_home_topic-select-wrap .stv_home_topic-start:hover{
  background:#e9edf3 !important;
}

.stv_home_topic-select-wrap .stv_home_topic-start:focus{
  box-shadow:0 0 0 4px rgba(21,88,237,.10);
}

.stv_home_topic-select-chevron{
  position:absolute;
  top:50%;
  right:17px;
  width:16px;
  height:16px;
  transform:translateY(-50%);
  pointer-events:none;
  fill:none;
  stroke:#657187;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

#topics{
  scroll-margin-top:calc(var(--stv-header-height) + 18px);
}

@media (max-width:1120px) and (min-width:901px){
  .stv_home_nav{
    margin-left:18px !important;
  }

  .stv_home_nav>a.stv_home_nav-link{
    gap:6px;
    padding-left:7px;
    padding-right:7px;
  }

  .stv_home_nav-price-link{
    display:none !important;
  }
}

@media (max-width:900px){
  body{
    padding-top:var(--stv-header-height);
  }

  .stv_home_header{
    position:fixed !important;
  }

  .stv_home_nav>a.stv_home_nav-link{
    gap:10px;
  }

  .stv_home_nav-icon{
    width:19px;
    height:19px;
    flex:0 0 19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }

  .stv_home_nav>a.stv_home_nav-link.stv_home_is-active{
    color:#1558ed;
    background:#f2f6ff;
  }

  .stv_home_topic-select-wrap{
    width:100%;
    margin:20px 0 30px;
  }

  .stv_home_topic-select-wrap .stv_home_topic-start{
    width:100% !important;
    min-height:42px;
    height:42px !important;
    line-height:42px;
    padding-left:16px !important;
  }
}

/* =========================================================
   V1.2 — CLEAN NAV + AUTH / USER DROPDOWN
   ========================================================= */
[hidden]{display:none !important;}

/* Guest buttons keep the original Home styling. */
.stv_home_guest-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.stv_home_guest-actions .stv_home_btn-white{
  background:#fff;
  border:1px solid #e3e7ef;
  color:#182047;
  box-shadow:none;
}

.stv_home_guest-actions .stv_home_btn-blue{
  background:#1559ef;
  color:#fff;
  border:0;
  box-shadow:0 8px 18px rgba(21,89,239,.20);
}

.stv_home_guest-actions .stv_home_btn-white:hover{
  background:#f8faff;
  border-color:#d7deea;
}

.stv_home_guest-actions .stv_home_btn-blue:hover,
.stv_home_user-menu-trigger:hover{
  background:#0f50dc;
}

/* Desktop logged-in account menu. */
.stv_home_user-menu{
  position:relative;
}

.stv_home_user-menu-trigger{
  display:flex;
  align-items:center;
  gap:8px;
  max-width:210px;
  padding-left:10px !important;
  padding-right:12px !important;
}

.stv_home_user-avatar{
  width:25px;
  height:25px;
  flex:0 0 25px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(255,255,255,.18);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.stv_home_user-name{
  min-width:0;
  max-width:122px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.stv_home_user-chevron{
  width:15px;
  height:15px;
  flex:0 0 15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .16s ease;
}

.stv_home_user-menu.stv_home_is-open .stv_home_user-chevron{
  transform:rotate(180deg);
}

.stv_home_user-dropdown{
  position:absolute;
  top:calc(100% + 10px);
  right:0;
  width:205px;
  padding:7px;
  border:1px solid #e2e7ef;
  border-radius:11px;
  background:#fff;
  box-shadow:0 14px 34px rgba(29,43,79,.14);
  z-index:1300;
}

.stv_home_user-dropdown::before{
  content:"";
  position:absolute;
  top:-5px;
  right:23px;
  width:9px;
  height:9px;
  background:#fff;
  border-left:1px solid #e2e7ef;
  border-top:1px solid #e2e7ef;
  transform:rotate(45deg);
}

.stv_home_user-dropdown a{
  position:relative;
  z-index:1;
  min-height:40px;
  padding:0 10px;
  display:flex;
  align-items:center;
  gap:10px;
  border-radius:8px;
  color:#27314b;
  font-size:14px;
  font-weight:600;
  text-decoration:none;
}

.stv_home_user-dropdown a:hover{
  background:#f3f6ff;
  color:#1558ed;
}

.stv_home_user-dropdown a svg{
  width:17px;
  height:17px;
  flex:0 0 17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.stv_home_user-dropdown .stv_home_logout-link{
  color:#c93b45;
}

.stv_home_user-dropdown .stv_home_logout-link:hover{
  color:#b52833;
  background:#fff3f4;
}

.stv_home_user-dropdown-separator{
  height:1px;
  margin:5px 7px;
  background:#edf0f5;
}

/* Mobile auth area lives inside the hamburger panel. */
.stv_home_mobile-auth{
  display:none;
}

@media (min-width:901px){
  /* Five requested menu items fit without hiding Pricing. */
  .stv_home_nav-price-link{
    display:flex !important;
  }
}

@media (max-width:900px){
  .stv_home_guest-actions,
  .stv_home_user-menu{
    display:none !important;
  }

  .stv_home_mobile-auth:not([hidden]){
    display:block;
    padding:10px 4px 4px;
    border-top:1px solid #edf0f5;
    margin-top:6px;
  }

  .stv_home_mobile-guest-actions:not([hidden]){
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }

  .stv_home_mobile-guest-actions a{
    min-height:43px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:9px;
    font-size:14px;
    font-weight:700;
    text-decoration:none;

  }

  .stv_home_mobile-user-trigger{
    width:100%;
    min-height:44px;
    padding:0 11px;
    border:0;
    border-radius:9px;
    display:flex;
    align-items:center;
    gap:9px;
    background:#1559ef;
    color:#fff;
    font-family:inherit;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
  }

  .stv_home_mobile-user-avatar{
    width:27px;
    height:27px;
    flex:0 0 27px;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.19);
    font-size:12px;
    font-weight:800;
  }

  .stv_home_mobile-user-name{
    min-width:0;
    flex:1;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-align:left;
  }

  .stv_home_mobile-user-trigger svg{
    width:16px;
    height:16px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.9;
    stroke-linecap:round;
    stroke-linejoin:round;
    transition:transform .16s ease;
  }

  .stv_home_mobile-user-menu.stv_home_is-open .stv_home_mobile-user-trigger svg{
    transform:rotate(180deg);
  }

  .stv_home_mobile-user-dropdown{
    padding:6px 2px 0;
  }

  .stv_home_mobile-user-dropdown a{
    min-height:42px;
    padding:0 12px;
    display:flex;
    align-items:center;
    border-radius:8px;
    color:#27314b;
    font-size:14px;
    font-weight:600;
    text-decoration:none;
  }

  .stv_home_mobile-user-dropdown a:hover{
    background:#f3f6ff;
    color:#1558ed;
  }

  .stv_home_mobile-user-dropdown .stv_home_logout-link{
    color:#c93b45;
  }
}

@media (min-width:901px){
  .stv_home_guest-actions .stv_home_btn{
    height:42px;
    padding:0 18px;
    border-radius:9px;
    font-size:14px;
    font-weight:700;
  }
}

@media (max-width: 900px) {
  body.stv_home_home-page > .stv_home_wrap_body > .stv_home_header {
    top: 0 !important;
    margin-top: 0 !important;
  }
}


.btn_register_modal_home {color: #fff !important;}

/*auto complete*/

/*style tra từ autocomplete*/
/* =========================================================
   DICTIONARY AUTOCOMPLETE
   ========================================================= */

#dictionarySearch{
    position:relative !important;
    overflow:visible !important;
}

/* dropdown phải nằm NGOÀI thanh search */
#dictionarySuggestions{
    display:none;

    position:absolute !important;
    top:calc(100% + 8px) !important;
    left:0 !important;
    right:0 !important;

    width:100% !important;
    height:auto !important;

    z-index:9999 !important;

    padding:6px !important;
    margin:0 !important;

    background:#fff !important;

    border:1px solid #dfe5ee !important;
    border-radius:10px !important;

    box-shadow:
        0 14px 35px rgba(20,35,70,.14) !important;

    max-height:320px;
    overflow-y:auto !important;

    text-align:left !important;
}


/* từng từ */
#dictionarySuggestions .stv_home_dictionary-suggestion-item{
    width:100% !important;

    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;

    gap:14px;

    min-height:50px;

    padding:8px 12px !important;

    margin:0 !important;

    border:0 !important;
    border-radius:7px;

    background:#fff;

    cursor:pointer;

    text-align:left !important;
}

#dictionarySuggestions .stv_home_dictionary-suggestion-item:hover,
#dictionarySuggestions .stv_home_dictionary-suggestion-item.stv_home_active{
    background:#f1f5ff !important;
}


/* bên trái */
#dictionarySuggestions .stv_home_dictionary-suggestion-left{
    flex:1;
    min-width:0;

    display:block !important;

    text-align:left !important;
}


#dictionarySuggestions .stv_home_dictionary-suggestion-word{
    display:block !important;

    color:#172554 !important;

    font-size:14px !important;
    font-weight:700 !important;

    line-height:1.35 !important;
}


/* phiên âm + loại từ */
#dictionarySuggestions .stv_home_dictionary-suggestion-meta{
    display:block !important;

    margin-top:3px !important;

    color:#8792a5 !important;

    font-size:11px !important;
    font-weight:400 !important;

    line-height:1.35 !important;
}


/* nghĩa tiếng Việt */
#dictionarySuggestions .stv_home_dictionary-suggestion-meaning{
    flex:0 0 44%;

    max-width:44% !important;

    color:#64748b !important;

    font-size:13px !important;
    font-weight:400 !important;

    text-align:right !important;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}


/* Mobile */
@media(max-width:560px){

    #dictionarySuggestions{
        top:calc(100% + 6px) !important;
    }

    #dictionarySuggestions .stv_home_dictionary-suggestion-item{
        min-height:48px;
        padding:8px 10px !important;
    }

    #dictionarySuggestions .stv_home_dictionary-suggestion-meaning{
        flex-basis:42%;
        max-width:42% !important;

        font-size:12px !important;
    }

}


/* =========================================================
   FIX AUTOCOMPLETE BỊ CẮT BỞI HERO
   ========================================================= */

.stv_home_hero{
    position:relative !important;
    z-index:20 !important;
    overflow:visible !important;
}

.stv_home_hero > .stv_home_wrap,
.stv_home_hero .stv_home_hero-grid,
.stv_home_hero .stv_home_hero-copy{
    position:relative;
    overflow:visible !important;
}

/* Search */
#dictionarySearch{
    position:relative !important;
    z-index:100 !important;
    overflow:visible !important;
}

/* Dropdown */
#dictionarySuggestions{
    position:absolute !important;

    top:calc(100% + 6px) !important;
    left:0 !important;
    right:0 !important;

    z-index:99999 !important;

    max-height:320px;
    overflow-x:hidden !important;
    overflow-y:auto !important;
}

/*
 * Các section bên dưới phải nằm thấp hơn dropdown.
 */
.stv_home_how-section,
.stv_home_topics-section,
.stv_home_hub-section,
.stv_home_features-section,
.stv_home_cta-section{
    position:relative;
    z-index:1;
}


/* ===== FIX DICTIONARY AUTOCOMPLETE CLICK ===== */
.dictionary-searchbar{
    overflow:visible !important;
    position:relative;
    z-index:100;
}

#dictionarySuggestions{
    pointer-events:auto !important;
    z-index:999999 !important;
}

#dictionarySuggestions .stv_home_dictionary-suggestion-item{
    pointer-events:auto !important;
    cursor:pointer !important;
    position:relative;
    z-index:1000000;
}

/* =========================================================
   V3.0 — HEADER: MEGA DROPDOWN "TÀI NGUYÊN"
   Chia nhóm: Kho học liệu / Học theo hình thức / Theo chương trình.
   Số cột tự đổi theo số nhóm đang được bật bằng PHP.
   ========================================================= */
.stv_home_resources-menu{
  position:relative;
}

.stv_home_resources-trigger{
  font:inherit;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#24314d;
}

.stv_home_resources-chevron{
  width:14px;
  height:14px;
  flex:0 0 14px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.9;
  stroke-linecap:round;
  stroke-linejoin:round;
  transition:transform .16s ease;
}

.stv_home_resources-menu.stv_home_is-open .stv_home_resources-chevron{
  transform:rotate(180deg);
}

.stv_home_resources-dropdown[hidden]{
  display:none !important;
}

.stv_home_resources-dropdown{
  position:absolute;
  top:calc(100% + 9px);
  left:50%;
  padding:12px;
  display:grid;
  gap:10px;
  transform:translateX(-50%);
  border:1px solid #e2e7ef;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 44px rgba(27,43,84,.16);
  z-index:1400;
}

.stv_home_resources-groups-1{
  width:330px;
  grid-template-columns:1fr;
}

.stv_home_resources-groups-2{
  width:650px;
  grid-template-columns:repeat(2,minmax(0,1fr));
}

.stv_home_resources-groups-3{
  width:860px;
  grid-template-columns:repeat(3,minmax(0,1fr));
}

.stv_home_resources-dropdown::before{
  content:"";
  position:absolute;
  top:-6px;
  left:50%;
  width:10px;
  height:10px;
  background:#fff;
  border-left:1px solid #e2e7ef;
  border-top:1px solid #e2e7ef;
  transform:translateX(-50%) rotate(45deg);
}

.stv_home_resource-group{
  min-width:0;
  padding:4px;
}

.stv_home_resource-group + .stv_home_resource-group{
  border-left:1px solid #eef1f6;
  padding-left:13px;
}

.stv_home_resource-group-title{
  margin:1px 7px 8px;
  color:#8a94a8;
  font-size:11px;
  font-weight:800;
  line-height:1.2;
  letter-spacing:.055em;
  text-transform:uppercase;
}

.stv_home_resource-item{
  position:relative;
  z-index:1;
  min-width:0;
  min-height:66px;
  padding:9px;
  display:flex;
  align-items:center;
  gap:10px;
  border:1px solid transparent;
  border-radius:10px;
  color:#26324c !important;
  text-decoration:none !important;
  transition:background .16s ease,border-color .16s ease,transform .16s ease;
}

.stv_home_resource-item + .stv_home_resource-item{
  margin-top:3px;
}

.stv_home_resource-item:hover{
  background:#f8faff;
  border-color:#e6ebf5;
  transform:translateY(-1px);
}

.stv_home_resource-icon{
  width:38px;
  height:38px;
  flex:0 0 38px;
  display:grid;
  place-items:center;
  border-radius:10px;
}

.stv_home_resource-icon svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.stv_home_resource-copy{
  min-width:0;
  display:block;
}

.stv_home_resource-copy strong{
  display:block;
  color:#1f2b46;
  font-size:13px;
  font-weight:750;
  line-height:1.35;
}

.stv_home_resource-copy strong b{
  color:#1559ef;
  font-weight:850;
}

.stv_home_resource-copy small{
  display:block;
  margin-top:3px;
  color:#758197;
  font-size:11px;
  font-weight:450;
  line-height:1.4;
}

.stv_home_resource-item-blue .stv_home_resource-icon{
  background:#eef4ff;
  color:#2865df;
}

.stv_home_resource-item-purple .stv_home_resource-icon{
  background:#f3efff;
  color:#7751dc;
}

.stv_home_resource-item-green .stv_home_resource-icon{
  background:#ecf9f2;
  color:#15945e;
}

.stv_home_resource-item-orange .stv_home_resource-icon{
  background:#fff5e8;
  color:#e58a16;
}

.stv_home_resource-item-red .stv_home_resource-icon{
  background:#fff0f0;
  color:#dc4d4d;
}

.stv_home_resource-item-pink .stv_home_resource-icon{
  background:#fff0f7;
  color:#d64e8f;
}

.stv_home_resource-item-cyan .stv_home_resource-icon{
  background:#ecf9fb;
  color:#188aa1;
}

.stv_home_resource-item-indigo .stv_home_resource-icon{
  background:#eef0ff;
  color:#5865d8;
}

@media (min-width:901px){
  .stv_home_resources-menu{
    align-self:stretch;
    display:flex;
    align-items:stretch;
  }

  .stv_home_resources-trigger{
    position:relative;
    height:100%;
    padding:0 9px;
    display:flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
    font-size:14px;
    font-weight:600;
    transition:color .18s ease,background .18s ease;
  }

  .stv_home_resources-trigger:hover,
  .stv_home_resources-menu.stv_home_is-open .stv_home_resources-trigger{
    color:#1558ed;
    background:#f8faff;
  }
}

@media (max-width:1120px) and (min-width:901px){
  .stv_home_resources-trigger{
    padding-left:6px;
    padding-right:6px;
    gap:5px;
  }

  .stv_home_resources-groups-3{
    width:780px;
  }
}

@media (max-width:900px){
  .stv_home_resources-menu{
    width:100%;
  }

  .stv_home_resources-trigger{
    width:100%;
    min-height:46px;
    padding:0 14px;
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:9px;
    color:#202b4c;
    font-size:15px;
    font-weight:600;
    text-align:left;
  }

  .stv_home_resources-trigger:hover,
  .stv_home_resources-menu.stv_home_is-open .stv_home_resources-trigger{
    color:#1458e8;
    background:#f2f6ff;
  }

  .stv_home_resources-trigger > span{
    flex:1;
  }

  .stv_home_resources-dropdown,
  .stv_home_resources-groups-1,
  .stv_home_resources-groups-2,
  .stv_home_resources-groups-3{
    position:static;
    width:100%;
    margin:4px 0 6px;
    padding:7px;
    grid-template-columns:1fr;
    gap:6px;
    transform:none;
    border:1px solid #e7ebf3;
    border-radius:10px;
    background:#f9fbff;
    box-shadow:none;
  }

  .stv_home_resources-dropdown::before{
    display:none;
  }

  .stv_home_resource-group{
    padding:3px;
  }

  .stv_home_resource-group + .stv_home_resource-group{
    margin-top:2px;
    padding-top:9px;
    padding-left:3px;
    border-left:0;
    border-top:1px solid #e7ebf3;
  }

  .stv_home_resource-group-title{
    margin:2px 7px 7px;
    font-size:10px;
  }

  .stv_home_resource-item{
    min-height:62px;
    padding:8px 10px;
    background:#fff;
    border-color:#edf0f5;
  }

  .stv_home_resource-icon{
    width:35px;
    height:35px;
    flex-basis:35px;
  }

  .stv_home_resource-copy strong{
    font-size:13px;
  }

  .stv_home_resource-copy small{
    font-size:11px;
  }
}

@media (max-width:1080px) and (min-width:901px){
  .stv_home_nav{
    margin-left:12px !important;
  }

  .stv_home_nav>a.stv_home_nav-link,
  .stv_home_resources-trigger{
    padding-left:6px !important;
    padding-right:6px !important;
    gap:5px !important;
  }

  .stv_home_nav>a.stv_home_nav-link > .stv_home_nav-icon,
  .stv_home_resources-trigger > .stv_home_nav-icon{
    display:none;
  }

  .stv_home_nav-actions .stv_home_btn{
    padding-left:10px !important;
    padding-right:10px !important;
  }
}


/* =========================================================
   V1.3 — AUTH BUTTONS: KHÔNG XUỐNG DÒNG TRÊN DESKTOP
   ========================================================= */
@media (min-width:901px){
  .stv_home_nav-actions{
    flex:0 0 auto;
  }

  .stv_home_guest-actions{
    flex:0 0 auto;
  }

  .stv_home_guest-actions .stv_home_btn{
    flex:0 0 auto;
    white-space:nowrap;
    font-size:13px;
    line-height:1;
    padding-left:14px;
    padding-right:14px;
  }
}

@media (max-width:1080px) and (min-width:901px){
  .stv_home_guest-actions .stv_home_btn{
    font-size:12.5px;
    padding-left:9px !important;
    padding-right:9px !important;
  }
}


/* =========================================================
   V3.1 — MOBILE MENU SCROLL
   Cho phép kéo dọc toàn bộ menu hamburger khi mega dropdown
   "Tài nguyên" dài hơn chiều cao màn hình.
   ========================================================= */
@media (max-width:900px){
  .stv_home_nav.stv_home_is-open{
    max-height:calc(100vh - var(--stv-header-height)) !important;
    overflow-x:hidden !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior-y:contain;
    touch-action:pan-y;
    padding-bottom:max(14px, env(safe-area-inset-bottom));
  }

  /* Dropdown nằm trong vùng cuộn chung của menu, không tự khóa thao tác kéo. */
  .stv_home_resources-dropdown,
  .stv_home_resources-groups-1,
  .stv_home_resources-groups-2,
  .stv_home_resources-groups-3{
    max-height:none !important;
    overflow:visible !important;
    touch-action:pan-y;
  }

  .stv_home_resources-menu,
  .stv_home_resource-group,
  .stv_home_resource-item{
    touch-action:pan-y;
  }
}

/* Trình duyệt hỗ trợ dvh: bám đúng chiều cao viewport động trên mobile. */
@supports (height:100dvh){
  @media (max-width:900px){
    .stv_home_nav.stv_home_is-open{
      max-height:calc(100dvh - var(--stv-header-height)) !important;
    }
  }
}

/* =========================================================
   V3.2 — BADGE "ĐỘC QUYỀN" CHO 3.000+ Ý TƯỞNG GHI NHỚ
   ========================================================= */
.stv_home_resource-title-exclusive{
  display:flex !important;
  align-items:center;
  flex-wrap:nowrap;
  gap:5px;
  white-space:nowrap;
}

.stv_home_resource-title-exclusive > span:first-child{
  min-width:0;
  flex:0 1 auto;
  white-space:nowrap;
}

.stv_home_exclusive-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 auto;
  min-height:17px;
  padding:2px 6px;
  border:1px solid #ffd7b1;
  border-radius:999px;
  background:#fff1e7;
  color:#df6616;
  font-size:8px;
  line-height:1;
  font-weight:850;
  letter-spacing:.035em;
  white-space:nowrap;
  box-shadow:0 1px 2px rgba(223,102,22,.08);
}

