/* M304 — fix mobile text/card collision by giving copy a wider column and compacting feature rail.
   Also outrank all legacy homepage account-icon colour rules with the homepage ID. */
@media(max-width:767px){
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-inner{
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(112px,.9fr)!important;
    grid-template-areas:"eyebrow eyebrow" "copy icons" "actions actions"!important;
    column-gap:9px!important;row-gap:13px!important;
    width:100%!important;max-width:100%!important;
    padding:24px 8px 36px 12px!important;
    box-sizing:border-box!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m303-hero-copy{
    grid-area:copy!important;display:block!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    overflow:visible!important;box-sizing:border-box!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m303-hero-copy h1{
    display:block!important;width:100%!important;max-width:100%!important;
    font-size:clamp(21px,5.1vw,25px)!important;
    line-height:1.1!important;letter-spacing:-.025em!important;
    overflow-wrap:break-word!important;word-break:normal!important;
    white-space:normal!important;margin:0 0 12px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-lead{
    display:block!important;width:100%!important;max-width:100%!important;
    min-width:0!important;font-size:clamp(11px,2.8vw,12px)!important;
    line-height:1.45!important;overflow-wrap:anywhere!important;
    white-space:normal!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-rail{
    grid-area:icons!important;display:flex!important;
    flex-direction:column!important;align-items:stretch!important;
    justify-content:flex-start!important;width:100%!important;
    max-width:100%!important;min-width:0!important;
    margin:0!important;padding:0!important;gap:9px!important;
    box-sizing:border-box!important;position:relative!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:flex-start!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    min-height:66px!important;height:auto!important;
    padding:7px 6px!important;gap:6px!important;
    box-sizing:border-box!important;overflow:hidden!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol{
    width:25px!important;height:25px!important;flex:0 0 25px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy{
    display:flex!important;flex:1 1 auto!important;min-width:0!important;
    max-width:100%!important;overflow-wrap:anywhere!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy strong{
    font-size:10px!important;line-height:1.12!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy small{
    font-size:8px!important;line-height:1.2!important;
    white-space:normal!important;overflow-wrap:anywhere!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions{
    grid-area:actions!important;display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
    gap:8px!important;margin:8px 0 0!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-actions>a{
    min-width:0!important;max-width:100%!important;width:100%!important;
    min-height:46px!important;padding:8px 6px!important;
    font-size:10px!important;line-height:1.2!important;
    white-space:normal!important;text-align:center!important;
  }
}
@media(max-width:380px){
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m243-hero-inner{
    grid-template-columns:minmax(0,1.25fr) minmax(102px,.85fr)!important;
    column-gap:7px!important;padding-left:9px!important;padding-right:6px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m303-hero-copy h1{
    font-size:20px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature{
    min-height:62px!important;padding:6px 4px!important;gap:4px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-symbol{
    width:22px!important;height:22px!important;flex-basis:22px!important;
  }
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy strong{font-size:9px!important}
  body.shk-managed-home-active #shikshan-homepage .shk-m243-hero .shk-m302-feature-copy small{font-size:7.5px!important}
}
/* Account control: M204 base stylesheet previously won due to #shikshan-homepage specificity.
   Match and exceed that specificity, including the actual SVG path and circle elements. */
body.shk-managed-home-active #shikshan-homepage .shk-public-header .shk-header-tools a.shk-header-account{
  color:#F58220!important;-webkit-text-fill-color:#F58220!important;
  background:#E8F4FF!important;border:1px solid #C9E4FA!important;opacity:1!important;
}
body.shk-managed-home-active #shikshan-homepage .shk-public-header .shk-header-tools a.shk-header-account svg,
body.shk-managed-home-active #shikshan-homepage .shk-public-header .shk-header-tools a.shk-header-account svg *,
body.shk-managed-home-active #shikshan-homepage .shk-public-header .shk-header-tools a.shk-header-account svg path,
body.shk-managed-home-active #shikshan-homepage .shk-public-header .shk-header-tools a.shk-header-account svg circle{
  color:#F58220!important;stroke:#F58220!important;fill:none!important;
  stroke-opacity:1!important;opacity:1!important;
}
