/* mini.css — lightweight CSS micro-framework
   Rule: every class name is 4 characters or fewer.
*/

/* ========== Variables ========== */
:root{
  --pri:#5755d9;
  --pri2:#403ed0;
  --txt:#303742;
  --mut:#66758c;
  --bdr:#dadee4;
  --bg:#fff;
  --bg2:#f7f8f9;
  --ok:#32b643;
  --wrn:#ffb700;
  --err:#e85600;
  --rad:6px;
  --gap:16px;
  --max:1600px;
  --t-h1:clamp(36px,4vw,52px);
  --t-h2:clamp(28px,2.8vw,40px);
  --t-h3:clamp(20px,1.8vw,26px);
}

/* ========== Reset / base ========== */
*,*::before,*::after{box-sizing:border-box}
html{font-size:16px;line-height:1.5;-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--txt);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
}
article,aside,footer,header,main,nav,section{display:block}
img,svg,video{max-width:100%;height:auto}
button,input,select,textarea{font:inherit}
button,input,select,textarea{margin:0}
textarea{resize:vertical}
a{color:var(--pri);text-decoration:none}
a:hover{text-decoration:underline}
hr{border:0;border-top:1px solid var(--bdr);margin:24px 0}
p{margin:0 0 1rem}
ul,ol{margin:0 0 1rem;padding-left:1.5rem}
h1,h2,h3,h4,h5,h6{margin:0 0 .6em;line-height:1.2;font-weight:600}
h1{font-size:var(--t-h1);font-weight:800;line-height:1.15}
h2{font-size:var(--t-h2);font-weight:800;line-height:1.15}
h3{font-size:var(--t-h3);font-weight:700;line-height:1.2}
h4{font-size:1.2rem}
h5{font-size:1rem}
h6{font-size:.875rem}
small{font-size:.85em}
code,pre,kbd{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}
code{background:var(--bg2);padding:2px 5px;border-radius:4px}
pre{overflow:auto;background:var(--bg2);padding:16px;border-radius:var(--rad)}
blockquote{
  margin:0 0 1rem;
  padding:12px 16px;
  background:var(--bg2);
  border-left:4px solid var(--pri);
  border-radius:var(--rad);
}

/* ========== Layout ========== */
.cnt{
  width:100%;
  max-width:var(--max);
  margin-left:auto;
  margin-right:auto;
  padding-left:var(--gap);
  padding-right:var(--gap);
}
.row{
  display:flex;
  flex-wrap:wrap;
  margin-left:calc(var(--gap) / -2);
  margin-right:calc(var(--gap) / -2);
}
.col,.c1,.c2,.c3,.c4,.c5,.c6,.c7,.c8,.c9,.c10,.c11,.c12{
  min-width:0;
  padding-left:calc(var(--gap) / 2);
  padding-right:calc(var(--gap) / 2);
}
.col{flex:1 1 0}
.c1{width:8.333333%}.c2{width:16.666667%}.c3{width:25%}.c4{width:33.333333%}
.c5{width:41.666667%}.c6{width:50%}.c7{width:58.333333%}.c8{width:66.666667%}
.c9{width:75%}.c10{width:83.333333%}.c11{width:91.666667%}.c12{width:100%}

.g0{--gap:0}
.g1{--gap:8px}
.g2{--gap:16px}
.g3{--gap:24px}
.g4{--gap:32px}

/* large <= 960 */
@media(max-width:960px){
  .lg1{width:8.333333%}.lg2{width:16.666667%}.lg3{width:25%}.lg4{width:33.333333%}
  .lg5{width:41.666667%}.lg6{width:50%}.lg7{width:58.333333%}.lg8{width:66.666667%}
  .lg9{width:75%}.lg10{width:83.333333%}.lg11{width:91.666667%}.lg12{width:100%}
}
/* medium <= 768 */
@media(max-width:768px){
  .md1{width:8.333333%}.md2{width:16.666667%}.md3{width:25%}.md4{width:33.333333%}
  .md5{width:41.666667%}.md6{width:50%}.md7{width:58.333333%}.md8{width:66.666667%}
  .md9{width:75%}.md10{width:83.333333%}.md11{width:91.666667%}.md12{width:100%}
}
/* small <= 576 */
@media(max-width:576px){
  .sm1{width:8.333333%}.sm2{width:16.666667%}.sm3{width:25%}.sm4{width:33.333333%}
  .sm5{width:41.666667%}.sm6{width:50%}.sm7{width:58.333333%}.sm8{width:66.666667%}
  .sm9{width:75%}.sm10{width:83.333333%}.sm11{width:91.666667%}.sm12{width:100%}
}
@media(max-width:768px){
  .mdn{display:none!important}
  .mdb{display:block!important}
}
@media(max-width:576px){
  .sdn{display:none!important}
  .sdb{display:block!important}
  .sdf{display:flex!important}
}
