/* asset-finance-scotland.html - Asset finance in Scotland (WEB-082, walk-through 15). Loaded after asset-finance.css,
   whose af- shapes it shares (the points, the tables, the note). House variables only. */


/* Who we are, one fact a line */
.afs-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 var(--mcf-s6);max-width:960px;background:var(--mcf-card);border:1px solid var(--mcf-line);border-radius:var(--mcf-r-card);padding:var(--mcf-s3) var(--mcf-s6)}
.afs-facts div{display:grid;grid-template-columns:9.5em 1fr;gap:var(--mcf-s3);padding-block:var(--mcf-s3);border-bottom:1px solid var(--mcf-line-soft)}
.afs-facts dt{font-weight:600;color:var(--mcf-grey-strong)}
.afs-facts dd{margin:0;line-height:1.45}

/* Every council area: three columns, stacked on a phone */
.afs-regions{min-width:0}
.afs-regions tbody th{width:28%}
.afs-choose{min-width:0}
.afs-choose tbody th{width:32%}

/* What Scottish businesses finance */
.afs-sectors{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--mcf-s4)}
.afs-sectors li{display:flex;flex-direction:column;gap:var(--mcf-s1);background:var(--mcf-card);border:1px solid var(--mcf-line);border-radius:var(--mcf-r-card);padding:var(--mcf-s5)}
.afs-sectors .ico{width:28px;height:28px;color:var(--mcf-blue);margin-bottom:var(--mcf-s2)}
.afs-sectors span{font-size:var(--mcf-size-small);color:var(--mcf-grey);line-height:1.45}
.afs-print-head{display:none}

/* How business differs across Scotland: one card an area, three across, one on a phone */
.afs-areas{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--mcf-s4);margin:0}
.afs-areas div{background:var(--mcf-card);border:1px solid var(--mcf-line);border-radius:var(--mcf-r-card);padding:var(--mcf-s4) var(--mcf-s5)}
.afs-areas dt{font-weight:600;margin-bottom:var(--mcf-s1)}
.afs-areas dd{margin:0;line-height:1.45;color:var(--mcf-grey)}

@media (max-width:900px){.afs-areas{grid-template-columns:repeat(2,minmax(0,1fr))}.afs-facts{grid-template-columns:1fr}.afs-sectors{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){
  .afs-facts{padding:var(--mcf-s2) var(--mcf-s4)}
  .afs-facts div{grid-template-columns:1fr;gap:2px}
  .afs-sectors,.afs-areas{grid-template-columns:1fr}
  .afs-regions thead,.afs-choose thead{display:none}
  .afs-regions tr,.afs-choose tr{display:block;padding:var(--mcf-s3) var(--mcf-s4);border-bottom:1px solid var(--mcf-line-soft)}
  .afs-regions th,.afs-regions td,.afs-choose th,.afs-choose td{display:block;width:auto !important;padding:2px 0;border:0}
  .afs-choose td:nth-of-type(1)::before{content:"Look for: ";font-weight:600}
  .afs-choose td:nth-of-type(2)::before{content:"Our answer: ";font-weight:600}
}

/* Printed (or saved as a PDF): only the ten questions, under Donnie and how to reach us */
@media print{
  body.site > *:not(main),main > *:not(#choose),#choose .afs-print-actions,#choose h2 + p,.mock{display:none !important}
  #choose{padding:0;background:none}
  .afs-print-head{display:flex;align-items:center;gap:var(--mcf-s5);margin-bottom:var(--mcf-s5);padding-bottom:var(--mcf-s4);border-bottom:1px solid var(--mcf-line)}
  .afs-print-head img{width:260px;height:auto}
  .afs-print-head div{display:flex;flex-direction:column;gap:2px;font-size:var(--mcf-size-small)}
  .afs-print-head b{font-size:var(--mcf-size-section)}
  .af-table-wrap{overflow:visible;border:0}
  .afs-choose tr{break-inside:avoid}
}

/* The film beside the title (Donnie drives Scotland, WEB-082): its own opening still is the cover, edge to edge */
.afs-cover{padding:0}
.afs-cover img{display:block;width:100%;height:100%;object-fit:cover}
