/* The complete directory and existing instructional reader own their controls. */
.skill-photo-choices[hidden]{display:none}
/* The photo shelf has the primary all-guides and filter controls. Restore the
   native controls and match count as soon as visitors enter the directory. */
.editorial-directory:has(.skill-photo-choices:not([hidden])) :is([data-editorial-filter-toggle],[data-editorial-count]){display:none!important}
.skill-photo-choices{margin:0 0 clamp(22px,3vw,38px)}
.skill-photo-tools{display:flex;align-items:center;justify-content:space-between;gap:10px 18px;flex-wrap:wrap;margin-bottom:12px}
.skill-photo-choices .skill-photo-tools h2{color:var(--premium-ink,#f1f0eb);font:600 clamp(30px,4.7vw,52px)/1.04 Georgia,serif;letter-spacing:-.035em;margin:0}
.skill-photo-tools nav{display:flex;flex-wrap:wrap;gap:8px}
.skill-photo-tools a{min-height:44px;display:inline-flex;align-items:center;background:var(--premium-panel,#192436);border:1px solid var(--premium-line,#586576);border-radius:8px;padding:6px 13px;color:var(--premium-ink,#f1f0eb);text-decoration:none;font:650 15px/1.2 var(--font-ui,system-ui)}
.skill-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.skill-photo-grid .skill-photo-tile{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;overflow:hidden;border-radius:10px;border:1px solid #67778b;background:#111b29;color:#f4efdf;text-decoration:none}
.skill-photo-tile img{display:block;grid-column:1/-1;width:100%;height:auto;aspect-ratio:2.65;object-fit:cover;object-position:50% 56%}
.skill-photo-caption{display:grid;gap:3px;padding:10px 0 10px 14px}
.skill-photo-caption strong{font:600 clamp(22px,2.7vw,32px)/1.1 Georgia,serif;letter-spacing:-.025em}
html[data-map-product=skill] .skill-photo-caption strong{color:#fff2db}
html[data-map-product=skill] .skill-photo-tools nav a{color:#f1f4fa}
@media screen{
  html[data-map-product=skill] body.premium-editorial #main [data-skill-photo-choices] .skill-photo-tools nav a:is(:link,:visited){color:#f1f4fa!important;border-color:#8191a5}
}
.skill-photo-caption>span{color:#cad5e2;font:500 15px/1.32 var(--font-ui,system-ui)}
.skill-photo-arrow{color:var(--skill-accent,#8dbaff);font:500 25px/1 system-ui;padding:6px 13px}
.skill-photo-grid a:is(:hover,:focus-visible),.skill-photo-tools a:is(:hover,:focus-visible){border-color:var(--skill-accent,#8dbaff)}
.skill-photo-choices :focus-visible{outline:3px solid var(--skill-accent,#8dbaff);outline-offset:3px}
.skill-photo-guide{width:100%;min-width:0;grid-column:1/-1;margin:10px 0 16px}
.skill-photo-guide img{display:block;width:100%;height:auto;aspect-ratio:2.7;object-fit:cover;object-position:50% 50%;border-radius:8px}
.skill-photo-guide .skill-photo-check{color:var(--premium-ink,#f1f0eb);border-left:3px solid var(--skill-accent,#8dbaff);margin:12px 0;padding:2px 0 2px 12px;font:500 16px/1.45 var(--font-ui,system-ui)}
.skill-photo-check strong{display:block;color:var(--skill-accent,#8dbaff)}
@media screen and (max-width:680px){
  html.map-redesign[data-map-product=skill] body.premium-editorial #main.editorial-main:has(.skill-photo-choices:not([hidden])){padding-top:12px!important}
  html.map-redesign[data-map-product=skill] body.premium-editorial .editorial-directory:has(.skill-photo-choices:not([hidden]))>.catalog-title-row{margin-bottom:8px}
  html.map-redesign[data-map-product=skill] body.premium-editorial .editorial-directory:has(.skill-photo-choices:not([hidden])) h1.brand{font-size:26px}
  .skill-photo-grid{grid-template-columns:1fr;gap:10px}
  .skill-photo-tile img{aspect-ratio:3.25}
  .skill-photo-caption{padding:8px 0 9px 12px}
  .skill-photo-tools{gap:7px;margin-bottom:9px}
}
@media print{.skill-photo-choices,.skill-photo-guide img{display:none}.skill-photo-check{break-inside:avoid}}
.skill-repair-start{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:12px 22px;align-items:center}
.skill-repair-start .skill-photo-check{margin:0 0 8px}
.skill-repair-action,.skill-step-next{display:inline-flex;align-items:center;min-height:44px;font-weight:700;text-underline-offset:.2em}
.skill-repair-tools summary{cursor:pointer;min-height:44px;line-height:1.5;align-content:center}
.skill-button-position{margin:14px 0;max-width:36rem}
.skill-button-position img{width:100%;height:auto;display:block;border-radius:8px}
.skill-button-position figcaption{font-size:.95rem;line-height:1.5;margin-top:5px}
.skill-thread-reference{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,160px),1fr));gap:12px;background:#1b2937;padding:14px;border-radius:8px}
.skill-thread-reference dt{color:#b9d8fd;font-weight:700}
.skill-thread-reference dd{margin:.35em 0 0}
.skill-steps [id^="button-step-"],#button-fit{scroll-margin-top:6rem}
@media print{.skill-repair-action,.skill-step-next{display:none}.skill-thread-reference{background:white}.skill-thread-reference dt{color:black}.skill-button-position img{max-height:140px;object-fit:contain}.skill-repair-tools{display:none}}
