*{box-sizing:border-box}
body{font:16px/1.65 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f8f9fe;color:#242b3a;margin:0}
header{background:white;border-bottom:1px solid #e9eaf2}
nav{max-width:1050px;margin:auto;padding:15px 20px;display:flex;gap:24px;align-items:center;flex-wrap:wrap}
a{color:#6250c9;text-decoration:none}
a:hover{text-decoration:underline}
nav a{font-size:13px;font-weight:600;color:#50596e}
nav .guide-logo{font-size:24px;font-weight:850;color:#1d2350;margin-right:auto;letter-spacing:-1px}
.guide-logo span{color:#8465de}
main{max-width:880px;padding:45px 24px 85px;margin:auto}
h1{font-size:clamp(28px,5vw,42px);letter-spacing:-.035em;line-height:1.18;color:#1b2144;margin:14px 0 18px}
h2{font-size:24px;line-height:1.35;color:#272854;letter-spacing:-.02em;margin:37px 0 12px}
p{margin:0 0 16px}
.guide-lead{font-size:18px;color:#626c81;max-width:720px}
.guide-kicker{color:#6456b9;font-size:12px;letter-spacing:.1em;font-weight:800;text-transform:uppercase}
.guide-kicker a{letter-spacing:0;text-transform:none}
article{margin-top:26px;background:white;border-radius:18px;padding:18px 32px 35px;border:1px solid #e7eaf3}
article h2:first-child{margin-top:10px}
article ul{padding-left:24px}
article li{margin:0 0 12px}
.guide-tools{display:flex;flex-wrap:wrap;gap:9px;margin:15px 0 20px}
.guide-tools a,.guide-end a{display:inline-flex;align-items:center;border:1px solid #e2ddff;background:#f3f1ff;border-radius:10px;padding:9px 13px;font-size:13px;font-weight:700}
.guide-caution{background:#f7f8fc;border-left:3px solid #aeabc8;padding:14px 16px;font-size:13px;color:#5c6474}
.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:28px}
.guide-card{background:white;border:1px solid #e5e6f1;border-radius:15px;padding:23px;display:flex;gap:12px;flex-direction:column;box-shadow:0 8px 30px #111b3607}
.guide-card strong{font-size:20px;color:#1e2241;line-height:1.35}
.guide-card span{font-size:14px;color:#646d80}
.guide-card em{margin-top:auto;font-style:normal;font-weight:700;font-size:13px}
.guide-end{margin-top:26px}
footer{border-top:1px solid #e6e8f0;padding:25px;text-align:center;font-size:12px;color:#8b91a2}
footer p{margin:3px}
@media(max-width:680px){main{padding:26px 15px 65px}article{padding:18px}.guide-grid{grid-template-columns:1fr}h2{font-size:21px}}

/* Native language picker in the compact article navigation. */
nav .language-picker{margin-left:auto;display:inline-flex;position:relative;align-items:center;
 min-width:125px;height:38px;gap:7px;padding:0 12px;
 border:1px solid #ddd9ee;border-radius:10px;background:#fff;color:#6855c9}
nav .language-picker-icon{width:17px;height:17px;flex:0 0 17px}
nav .language-picker select{font:700 12px/1.25 system-ui,sans-serif;min-width:76px;
 border:0;outline:0;appearance:none;background:transparent;color:#3c3358;
 cursor:pointer;padding:8px 17px 8px 0}
nav .language-picker select option{background:#fff;color:#292a3d}
nav .language-picker-chevron{position:absolute;right:9px;width:14px;height:14px;pointer-events:none}
nav .language-picker:focus-within{border-color:#7565df;box-shadow:0 0 0 3px #7565df24}
@media(max-width:620px){nav .language-picker{margin-left:auto;min-width:110px}}


/* Filelo custom language dropdown in article navigation. */
nav .language-picker{position:relative;display:inline-flex;border:0;padding:0;min-width:0;height:auto;box-shadow:none;overflow:visible}
nav .language-toggle{
  display:inline-flex;align-items:center;gap:8px;justify-content:space-between;
  min-width:130px;min-height:38px;padding:0 11px;
  border:1px solid #ded9ef;border-radius:10px;background:#fff;
  color:#333251;font:750 12px/1.25 system-ui,sans-serif;white-space:nowrap
}
nav .language-toggle #languageCurrent{flex:1;text-align:left}
nav .language-toggle .language-picker-icon{width:17px;height:17px;flex:0 0 17px;color:#7562dc}
nav .language-toggle .language-picker-chevron{position:static;transform:none;width:14px;height:14px;flex:0 0 14px;color:#9186b7}
nav .language-picker.is-open .language-toggle{border-color:#a89eec;background:#fbfaff}
nav .language-picker.is-open .language-picker-chevron{transform:rotate(180deg)}
nav .language-menu{
  display:block;position:absolute;z-index:60;top:calc(100% + 7px);right:0;
  min-width:165px;padding:6px;background:white;border:1px solid #e4dff0;
  border-radius:12px;box-shadow:0 16px 45px rgba(27,20,79,.16)
}
nav .language-menu[hidden]{display:none!important}
nav .language-option{
  width:100%;display:flex;align-items:center;justify-content:space-between;
  gap:16px;padding:9px 10px;min-height:37px;
  border:0;border-radius:8px;background:#fff;color:#4b506a;
  text-align:left;font:650 12px/1.35 system-ui,sans-serif;cursor:pointer
}
nav .language-option:hover,nav .language-option:focus-visible{outline:0;background:#f3f0ff;color:#6753c8}
nav .language-option[aria-checked="true"]{background:#f0edff;color:#654ed0;font-weight:800}
nav .language-option svg{width:15px;height:15px;opacity:0}
nav .language-option[aria-checked="true"] svg{opacity:1}
@media(max-width:620px){
  nav{gap:10px}
  nav .language-toggle{min-width:110px;min-height:35px;gap:5px;padding:0 8px}
}

/* New Yandex RTB side units. Keep article column readable. */
.ad-rails{width:min(880px,calc(100% - 36px));margin:0 auto 26px;
 display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ad-rail{min-width:0}.ad-rail>div{width:100%}
@media(min-width:1380px){
  body.has-side-ads{--ad-rail-width:clamp(150px,11.5vw,210px);
    padding-inline:calc(var(--ad-rail-width) + 14px)}
  .ad-rails{display:contents}
  .ad-rail{position:fixed;top:114px;z-index:2;width:var(--ad-rail-width)}
  .ad-rail-left{left:7px}.ad-rail-right{right:7px}
}
@media(max-width:720px){
  .ad-rails{grid-template-columns:1fr;gap:12px}
}

/* Wider native-size Yandex side ad units. Narrow viewports use inline units. */
@media(min-width:1700px){
  body.has-side-ads{--ad-rail-width:300px;padding-inline:314px}
  body.has-side-ads .ad-rail{width:300px;top:114px}
}
@media(min-width:1380px) and (max-width:1699px){
  body.has-side-ads{padding-inline:0}
  body.has-side-ads .ad-rails{
    display:grid;grid-template-columns:repeat(2,minmax(300px,1fr));
    max-width:720px;width:calc(100% - 36px);margin:0 auto 26px;
  }
  body.has-side-ads .ad-rail{position:static;width:auto}
}


/* Editorial directory for FILE-O's 22 practical how-to guides. */
body.guide-index main{max-width:1120px}
.guide-amount{font-size:12px;font-weight:820;color:#6857be;background:#eeeafa;
  border-radius:999px;padding:6px 12px;display:inline-flex;margin:6px 0 17px}
.guide-topics-nav{max-width:none;display:flex;flex-wrap:wrap;gap:8px;align-items:center;
  margin:17px 0 30px;padding:0}
.guide-topics-nav a{color:#5d5392;background:#fff;border:1px solid #e3ddec;
  border-radius:999px;padding:9px 13px;font-size:12px;font-weight:750}
.guide-topics-nav a:hover,.guide-topics-nav a:focus-visible{background:#efeaff;border-color:#b2a2df}
.guide-topic{margin:25px 0 38px;scroll-margin-top:28px}
.guide-topic-heading{display:flex;justify-content:space-between;gap:14px;align-items:baseline;
  border-bottom:1px solid #e1e2f0;margin-bottom:18px;padding-bottom:10px}
.guide-topic-heading h2{margin:0;font-size:23px}
.guide-topic-heading p{font-size:12px;color:#77788b;margin:0;text-align:right}
.guide-topic .guide-grid{margin-top:0}
.guide-index .guide-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.guide-index .guide-card{padding:19px;box-shadow:0 5px 22px #2d24600b}
.guide-index .guide-card strong{font-size:16px;line-height:1.42}
.guide-index .guide-card span{font-size:12px;line-height:1.58}
.guide-index .guide-card em{font-size:11px}
.guide-index .guide-card:hover{border-color:#c0b3ed;box-shadow:0 10px 30px #2d246017}
article .guide-intro{font-size:16px;color:#454b63;line-height:1.75}
article h3{font-size:17px;line-height:1.4;color:#333052;margin:25px 0 8px}
article .guide-tools a{font-size:12px}
.guide-related{margin:30px 0 10px;padding:0}
.guide-related h2{font-size:21px;margin:0 0 15px}
.guide-related-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.guide-related-links a{border:1px solid #e4e1ef;background:white;padding:14px 17px;
  border-radius:12px;font-weight:740;font-size:13px;line-height:1.45}
.guide-related-links a:hover{border-color:#baabeb;background:#f6f2ff}
@media(max-width:970px){
 .guide-index .guide-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .guide-topic-heading{align-items:flex-start;flex-direction:column;gap:0}
 .guide-topic-heading p{text-align:left}
}
@media(max-width:670px){
 .guide-index .guide-grid{grid-template-columns:1fr}
 .guide-topics-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px}
 .guide-topics-nav a{white-space:nowrap;flex-shrink:0}
 .guide-related-links{grid-template-columns:1fr}
 .guide-topic-heading h2{font-size:21px}
 article h3{font-size:16px}
}

.guide-start-button{display:inline-flex;align-items:center;margin:13px 0 4px;
  color:#fff!important;background:#7059dc;padding:12px 19px;border-radius:11px;
  font-weight:800;font-size:13px;text-decoration:none}
.guide-start-button:hover{background:#5f47cf;text-decoration:none}

/* Locally hosted CC0 article cover photography and lazy-loaded listing art. */
.guide-index .guide-card{padding:0;overflow:hidden;gap:0}
.guide-card-photo{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  background:#eeeaf4;border:0;flex-shrink:0}
.guide-card-copy{display:flex;flex-direction:column;gap:11px;padding:19px;flex:1}
.guide-card-copy em{margin-top:auto}
.guide-hero-figure{margin:23px 0 21px;padding:0;background:#fff;border-radius:16px;
  border:1px solid #e6e2f1;overflow:hidden}
.guide-hero-photo{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;
  display:block;background:#efecf4}
.guide-photo-credit{font-size:10px;color:#88869b;padding:9px 13px;background:#faf9fd;
  line-height:1.5}
.guide-photo-credit a{font-size:10px;color:#817a91}
.guide-hero-figure+.guide-start-button{margin-top:3px}
@media(max-width:680px){.guide-card-copy{padding:16px}.guide-photo-credit{font-size:9px}}

/* One unified 137-article library, easy to search without losing indexability. */
.guide-list-controls{margin:14px 0 18px;border:1px solid #e3ddf1;background:#fff;
  padding:18px 20px;border-radius:15px}
.guide-list-controls label{font-size:13px;font-weight:780;color:#393052;display:block;margin-bottom:9px}
.guide-search-row{display:flex;gap:9px}
.guide-search-row input{width:100%;min-width:0;flex:1;border:1px solid #dcd4ed;
  border-radius:10px;padding:12px 13px;font:inherit;font-size:14px;outline-color:#7661d5}
.guide-search-row button{padding:9px 13px;border-radius:10px;background:#f1edfa;
  color:#5b48bc;font-weight:720;border:1px solid #d8cff0;cursor:pointer}
#guideSearchCount{font-size:12px;color:#857a96;margin:9px 0 0}
#guideSearchEmpty{color:#796c8d;font-size:13px;margin:10px 0}
.guide-topic[hidden],.guide-card[hidden],.guide-topics-nav a[hidden],
#guideSearchEmpty[hidden]{display:none!important}
.guide-english-link{display:inline-flex;margin:11px 0 2px;border:1px solid #ddd4f0;
  border-radius:8px;padding:6px 10px;font-size:12px;font-weight:730;color:#5d49be}
@media(max-width:560px){.guide-search-row{flex-direction:column}.guide-search-row button{align-self:flex-end}}
