/* Biltreff & Motor – AMCAR historie. Prefiks unngår inngrep i eksisterende sider. */
.amcar-hist{padding-top:36px;padding-bottom:68px;max-width:1220px}
.amcar-hist *, .amcar-hist *::before,.amcar-hist *::after{box-sizing:border-box}
.amcar-hist a{transition:color .18s,border-color .18s,background .18s}
.amcar-hist-intro{max-width:980px;margin:0 0 32px}
.amcar-hist-intro h1,.amcar-hist-hero-copy h1{font-size:clamp(40px,5vw,74px)!important;line-height:1.02!important;margin:12px 0 18px;overflow-wrap:break-word;letter-spacing:.01em}
.amcar-hist-intro>p{font-size:clamp(15px,1.35vw,18px);line-height:1.7;color:#b6c1d1;max-width:900px}
.amcar-hist-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}
.amcar-hist-tags span{font-size:12px;letter-spacing:.07em;border:1px solid #314866;padding:8px 13px;border-radius:20px;color:#c8d9ef}
.amcar-hist-clarify{border-left:3px solid #3981e3;background:#121c2a;padding:15px 18px;border-radius:0 8px 8px 0;color:#c0ccdf;font-size:14px;line-height:1.65;margin-bottom:25px}
.amcar-hist-clarify strong{color:white}
.amcar-hist-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.amcar-hist-card{display:flex;flex-direction:column;min-width:0;color:#fff!important;text-decoration:none!important;background:#142030;border:1px solid #2a3d54;border-radius:9px;overflow:hidden}
.amcar-hist-card:hover,.amcar-hist-card:focus-visible{background:#19283c;border-color:#4b91ed;transform:translateY(-2px)}
.amcar-hist-card:focus-visible{outline:2px solid #84baff;outline-offset:2px}
.amcar-hist-card-image{position:relative;height:195px;background:#0b1119;overflow:hidden}
.amcar-hist-card-image img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0;z-index:1}
.amcar-hist-card-image:has(img[alt*="Ford Mustang"]) img{object-position:center 42%}
.amcar-hist-image-missing,.amcar-hist-photo-fallback{height:100%;width:100%;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(125deg,#0c121c 0 18px,#152338 18px 20px,#0c121c 20px 36px)}
.amcar-hist-photo-fallback span{font-family:var(--heading,Impact,sans-serif);color:#3b6faf;font-size:clamp(29px,4vw,49px);letter-spacing:.01em;text-align:center;white-space:nowrap}
.amcar-hist-card-year{z-index:2;position:absolute;bottom:10px;left:12px;background:#111c2ee8;color:#dce8f8;border:1px solid #456386;padding:5px 8px;border-radius:3px;font-size:11px;font-weight:700}
.amcar-hist-card-body{padding:19px;display:flex;flex-direction:column;flex:1;gap:7px}
.amcar-hist-card-body h2{font-size:clamp(24px,2.2vw,34px)!important;line-height:1.12!important;margin:1px 0 3px;overflow-wrap:anywhere}
.amcar-hist-card-body .eyebrow{font-size:10px}
.amcar-hist-card-body p{color:#b5c2d4;font-size:14px;line-height:1.5;margin:0;flex:1}
.amcar-hist-card-link{font-size:12px;color:#80b4fa;font-weight:800;margin-top:17px;letter-spacing:.04em}
.amcar-hist-editorial{margin:44px 0 0;padding:22px 25px;background:#101925;border:1px solid #26384c;border-radius:8px}
.amcar-hist-editorial h2{font-size:clamp(20px,2vw,28px)!important;margin-bottom:10px}
.amcar-hist-editorial p{max-width:940px;font-size:14px;color:#b6c1d2;line-height:1.7}
.amcar-hist-crumb{display:flex;gap:9px;margin:0 0 20px;font-size:12px;color:#93a2b5}
.amcar-hist-crumb a,.amcar-hist-chapter-nav a,.amcar-hist-chapter-next a,.amcar-hist-end-nav>a:not(.btn){color:#92bcf7;text-decoration:none}
.amcar-hist-article-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:30px;background:#121e2d;border:1px solid #263b56;border-radius:10px;overflow:hidden;min-height:350px}
.amcar-hist-hero-copy{padding:35px 0 35px 33px;align-self:center}
.amcar-hist-hero-copy h1{font-size:clamp(36px,4.5vw,66px)!important}
.amcar-hist-hero-copy h1 small{display:block;color:#7cabeb;font-size:clamp(16px,1.5vw,20px);line-height:1.3;margin-top:12px;letter-spacing:.08em}
.amcar-hist-hero-copy p{font-size:15px;line-height:1.72;color:#c0cee0;max-width:580px;margin:0 0 23px}
.amcar-hist-hero-picture{margin:0;position:relative;min-width:0;max-height:460px;background:#080c12}
.amcar-hist-hero-picture>img{width:100%;height:100%;max-height:460px;object-fit:cover;display:block;position:absolute;inset:0;z-index:1}
.amcar-hist-hero-picture>figcaption{z-index:2;position:absolute;bottom:0;left:0;right:0;background:#070d18dd;padding:9px 12px;font-size:10px;color:#dee9fa}
.amcar-hist-hero-picture>figcaption a{color:#94c2fa}
.amcar-hist-facts{display:grid;grid-template-columns:repeat(4,1fr);margin:23px 0 34px;gap:10px}
.amcar-hist-facts div{background:#141f2c;border:1px solid #283b51;padding:14px 10px;min-width:0;text-align:center}
.amcar-hist-facts strong{font-size:clamp(18px,2vw,27px);color:#82b7fe;display:block;line-height:1.15}
.amcar-hist-facts span{font-size:11px;color:#b9c7da;display:block;line-height:1.35;margin-top:5px}
.amcar-hist-reading{display:grid;grid-template-columns:215px minmax(0,1fr);align-items:start;gap:35px}
.amcar-hist-chapter-nav{position:sticky;top:20px;display:flex;flex-direction:column;background:#111b28;border:1px solid #273d55;border-radius:6px;padding:18px;gap:3px}
.amcar-hist-chapter-nav strong{font-size:12px;color:#e8edf5;margin-bottom:11px;letter-spacing:.05em}
.amcar-hist-chapter-nav a{padding:8px 7px;color:#bdcde0;font-size:13px;border-radius:5px}
.amcar-hist-chapter-nav a:hover{background:#243a53;color:#fff}
.amcar-hist-chapter-nav a small{color:#69a3f4;font-size:10px;margin-right:6px}
.amcar-hist-chapter-nav a.amcar-hist-back-mini{border-top:1px solid #364b63;margin-top:6px;padding-top:12px;color:#93bdf2}
.amcar-hist-prose{min-width:0}
.amcar-hist-chapter{scroll-margin-top:16px;border-top:1px solid #293d53;padding:22px 0 23px}
.amcar-hist-chapter:first-child{padding-top:2px;border-top:0}
.amcar-hist-chapter-kicker{display:flex;justify-content:space-between;gap:12px;color:#69aaf7;font-size:12px;font-weight:700;letter-spacing:.06em;margin-bottom:13px}
.amcar-hist-chapter h2,.amcar-hist-models h2,.amcar-hist-sources h2{font-size:clamp(23px,2.5vw,37px)!important;line-height:1.2!important;margin:0 0 17px;overflow-wrap:anywhere}
.amcar-hist-chapter p,.amcar-hist-sources p{font-size:clamp(15px,1.15vw,17px);line-height:1.82;color:#ced6e2;margin:0 0 16px}
.amcar-hist-chapter-next{display:flex;gap:25px;justify-content:space-between;border-top:1px solid #233146;padding-top:12px;margin-top:24px;font-size:12px;font-weight:700}
.amcar-hist-models,.amcar-hist-sources{scroll-margin-top:16px;padding:32px 0;border-top:1px solid #2a3c53}
.amcar-hist-models .eyebrow,.amcar-hist-sources .eyebrow{display:block;margin-bottom:10px}
.amcar-hist-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.amcar-hist-model-grid div{background:#172437;border:1px solid #2c4665;border-left:3px solid #3980d7;border-radius:4px;padding:15px;font-size:14px;color:#e3eaf3;font-weight:700}
.amcar-hist-sources ol{margin:18px 0 25px;padding-left:22px}
.amcar-hist-sources li{margin:9px 0;font-size:14px;line-height:1.6}
.amcar-hist-sources a{color:#8ebeff;text-underline-offset:3px}
.amcar-hist-sources .amcar-hist-credit{font-size:12px;color:#9eafc4;line-height:1.65}
.amcar-hist-end-nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;padding:20px 0}
@media(max-width:980px){.amcar-hist-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.amcar-hist-reading{grid-template-columns:175px minmax(0,1fr);gap:22px}.amcar-hist-article-hero{gap:15px}.amcar-hist-hero-copy{padding:26px 5px 26px 24px}}
@media(max-width:700px){
 .amcar-hist{padding-top:22px;padding-bottom:40px}
 .amcar-hist-intro h1{font-size:clamp(32px,9vw,43px)!important}
 .amcar-hist-intro>p{font-size:14px;line-height:1.65}
 .amcar-hist-grid{grid-template-columns:1fr;gap:12px}
 .amcar-hist-card{display:grid;grid-template-columns:36% minmax(0,1fr);min-height:145px}
 .amcar-hist-card-image{height:100%;min-height:145px}
 .amcar-hist-card-body{padding:13px 12px;gap:4px}
 .amcar-hist-card-body h2{font-size:clamp(20px,6vw,26px)!important}
 .amcar-hist-card-body p{font-size:12px;line-height:1.4}
 .amcar-hist-card-link{font-size:10px;margin-top:6px}
 .amcar-hist-card-image .amcar-hist-photo-fallback span{font-size:clamp(19px,6vw,28px)}
 .amcar-hist-card-year{font-size:9px;bottom:6px;left:5px;right:5px;text-align:center;padding:3px}
 .amcar-hist-card-body .eyebrow{font-size:9px;line-height:1.4}
 .amcar-hist-clarify{font-size:13px;padding:12px}
 .amcar-hist-article-hero{grid-template-columns:1fr;gap:0}
 .amcar-hist-hero-copy{padding:23px 19px}
 .amcar-hist-hero-copy h1{font-size:clamp(34px,9vw,46px)!important;margin:10px 0 16px}
 .amcar-hist-hero-copy p{font-size:14px}
 .amcar-hist-hero-picture{height:235px}
 .amcar-hist-hero-picture>img{max-height:none}
 .amcar-hist-facts{grid-template-columns:repeat(2,1fr);margin:12px 0 24px;gap:7px}
 .amcar-hist-facts div{padding:11px 5px}
 .amcar-hist-facts strong{font-size:19px}
 .amcar-hist-facts span{font-size:10px}
 .amcar-hist-reading{display:block}
 .amcar-hist-chapter-nav{position:relative;top:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 5px;margin-bottom:25px;padding:12px}
 .amcar-hist-chapter-nav strong{grid-column:1/-1}
 .amcar-hist-chapter-nav a{font-size:12px;line-height:1.35;padding:8px 4px}
 .amcar-hist-chapter-nav a.amcar-hist-back-mini{grid-column:1/-1}
 .amcar-hist-chapter h2,.amcar-hist-models h2,.amcar-hist-sources h2{font-size:24px!important;line-height:1.16!important}
 .amcar-hist-chapter p,.amcar-hist-sources p{font-size:14px;line-height:1.75}
 .amcar-hist-model-grid{grid-template-columns:1fr}
 .amcar-hist-editorial{margin-top:23px;padding:17px}
}

/* Tilbake til oversikten fra den bevarte Mustang-artikkelen. */
.amcar-hist-mustang-return-wrap{background:#111923;border-bottom:1px solid #2a405e;padding:10px max(20px,calc((100vw - 1224px)/2));}
.amcar-hist-mustang-return{font:700 13px var(--heading,Impact,sans-serif);letter-spacing:.05em;color:#8dbafd;text-decoration:none;}
.amcar-hist-mustang-return:hover{text-decoration:underline}

.amcar-hist-gallery{margin:0 0 34px;padding:28px 0 10px;border-top:1px solid #2a3c53}
.amcar-hist-section-head{margin:0 0 18px}
.amcar-hist-section-head h2{font-size:clamp(23px,2.5vw,37px)!important;line-height:1.16!important;margin:10px 0 10px}
.amcar-hist-section-head p{font-size:14px;line-height:1.7;color:#b9c7da;max-width:760px;margin:0}
.amcar-hist-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.amcar-hist-gallery-card{margin:0;background:#141f2d;border:1px solid #2a3d55;border-radius:8px;overflow:hidden;min-width:0}
.amcar-hist-gallery-media{position:relative;aspect-ratio:4/3;background:#0a1017;overflow:hidden}
.amcar-hist-gallery-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;z-index:1}
.amcar-hist-gallery-fallback,.amcar-hist-gallery-media.amcar-hist-image-missing{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:repeating-linear-gradient(135deg,#0b121a 0 18px,#162438 18px 20px,#0b121a 20px 40px)}
.amcar-hist-gallery-fallback span{padding:0 14px;text-align:center;font-family:var(--heading,Impact,sans-serif);font-size:clamp(22px,2.5vw,32px);line-height:1;color:#4f87cf;letter-spacing:.02em}
.amcar-hist-gallery-card figcaption{padding:12px 13px 14px;display:flex;flex-direction:column;gap:4px}
.amcar-hist-gallery-card figcaption strong{font-size:16px;line-height:1.2;color:#fff}
.amcar-hist-gallery-card figcaption span{font-size:12px;line-height:1.4;color:#93a7c1}
.amcar-hist-gallery-note{font-size:11px;line-height:1.55;color:#8fa3bc;margin:12px 0 0}
@media(max-width:980px){.amcar-hist-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.amcar-hist-gallery{padding:22px 0 4px;margin-bottom:24px}.amcar-hist-gallery-grid{grid-template-columns:1fr;gap:10px}.amcar-hist-section-head h2{font-size:24px!important}.amcar-hist-section-head p{font-size:13px;line-height:1.65}.amcar-hist-gallery-card figcaption strong{font-size:15px}}

/* 2026-10-20: tydelig skille mellom merker og uavhengige performancebyggere */
.amcar-hist-hub-group{margin:28px 0 36px}
.amcar-hist-hub-heading{border-bottom:1px solid #2c405b;margin:0 0 18px;padding-bottom:14px}
.amcar-hist-hub-heading h2{font-size:clamp(22px,2.1vw,32px)!important;line-height:1.15!important;color:#eaf2fb;margin:0 0 8px;letter-spacing:.025em}
.amcar-hist-hub-heading p{font-size:14px;line-height:1.6;color:#a8bad2;margin:0}
.amcar-hist-gallery-card figcaption a.amcar-hist-photo-credit{display:inline-block;color:#92bdf5;font-size:11px;line-height:1.45;white-space:normal;text-decoration:underline;text-underline-offset:3px}
@media(max-width:700px){.amcar-hist-hub-group{margin:20px 0 26px}.amcar-hist-hub-heading h2{font-size:21px!important}.amcar-hist-hub-heading p{font-size:13px}}

/* Ford hierarchy and integrated model narratives (Oct 2026) */
.amcar-hist-crumb{flex-wrap:wrap;align-items:center;margin-bottom:20px}
.amcar-hist-crumb a{color:#89bafb!important;font-weight:700;text-decoration:none}
.amcar-ford-grid{margin:10px 0 25px}
.amcar-hist-card-image .amcar-model-photo{width:100%;height:100%;aspect-ratio:auto;border:0}
.amcar-hist-card-image .amcar-model-photo img{position:absolute;inset:0;height:100%;width:100%;object-fit:cover}
.amcar-model-section{margin:24px 0 17px;clear:both}
.amcar-models-label{font-size:11px;letter-spacing:.1em;color:#90bdf7;font-weight:800;border-bottom:1px solid #304562;padding-bottom:9px;margin-bottom:14px}
.amcar-model-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 18px}
.amcar-model-card{margin:0;display:flex;flex-direction:column;min-width:0;background:#131f2e;border:1px solid #293e57;border-radius:9px;overflow:hidden}
.amcar-model-photo{position:relative;aspect-ratio:4/3;background:#0d1723;overflow:hidden}
.amcar-model-photo img{width:100%;height:100%;object-fit:cover;display:block;position:absolute;inset:0;z-index:1}
.amcar-model-fallback{height:100%;width:100%;padding:16px;display:flex;align-items:center;justify-content:center;text-align:center;font-family:var(--heading,Impact,sans-serif);letter-spacing:.02em;text-transform:uppercase;font-size:clamp(23px,3vw,38px);color:#5178a9;background:repeating-linear-gradient(127deg,#101a27 0 16px,#17293d 16px 18px,#101a27 18px 32px)}
.amcar-model-body{padding:15px 16px 16px;display:flex;flex-direction:column;gap:7px;flex:1}
.amcar-model-top{display:flex;justify-content:space-between;gap:9px;align-items:flex-start}
.amcar-model-top strong{font-size:17px;line-height:1.27;color:#fff;font-weight:800}
.amcar-model-top span{font-size:11px;flex-shrink:0;line-height:1.3;padding-top:3px;color:#95b8e7}
.amcar-model-body p{font-size:14px!important;line-height:1.63!important;color:#c0ccdc!important;margin:0!important;flex:1}
.amcar-model-body a{font-size:11px;color:#8ebfff;text-decoration:underline;text-underline-offset:3px;margin-top:4px;align-self:flex-start}
.amcar-hist-article-hero .amcar-hist-hero-picture{min-height:295px}
.amcar-hist-article-hero .amcar-hist-hero-picture .amcar-hist-photo-fallback{height:100%;min-height:295px}
.amcar-hist-mustang-specials{scroll-margin-top:20px;margin:26px 0;padding:21px 0;border-top:1px solid #2a4055}
.amcar-hist-mustang-specials .hist-section-top h2{font-size:clamp(24px,2.5vw,35px)!important}
.amcar-hist-mustang-specials>.amcar-model-grid{margin-top:17px}
@media(max-width:700px){
 .amcar-model-grid{grid-template-columns:1fr;gap:13px}
 .amcar-model-card .amcar-model-photo{aspect-ratio:16/10}
 .amcar-model-body{padding:13px}
 .amcar-model-body p{font-size:13px!important;line-height:1.65!important}
 .amcar-model-top strong{font-size:16px}
 .amcar-hist-article-hero .amcar-hist-hero-picture{min-height:225px}
 .amcar-hist-article-hero .amcar-hist-hero-picture .amcar-hist-photo-fallback{min-height:225px}
 .amcar-hist-mustang-specials{margin:18px 0;padding:13px 0}
}


/* Reparasjon oktober 2026: vis ikke store, stripete plassholdere for bilder som feiler. */
.amcar-hist .amcar-model-fallback{background:#101d2d!important}
.amcar-hist .amcar-hist-photo-fallback{background:#111d2c!important}
.amcar-model-card .amcar-model-photo.amcar-photo-unavailable{
  aspect-ratio:auto!important;height:0!important;min-height:0!important;overflow:hidden!important;border:0!important
}
.amcar-model-card .amcar-model-photo.amcar-photo-unavailable .amcar-model-fallback{display:none!important}
.amcar-model-card .amcar-model-photo.amcar-photo-unavailable + .amcar-model-body::before{
  content:"Foto midlertidig utilgjengelig";display:block;color:#8799b0;font:500 11px/1.4 system-ui,sans-serif;margin-bottom:3px
}
.amcar-hist-hero-picture.amcar-photo-unavailable img{display:none!important}
.hist-page .hist-figure-frame.hist-image-fallback{height:0!important;min-height:0!important;aspect-ratio:auto!important;padding:0!important;overflow:hidden!important}
.hist-page .hist-figure-frame.hist-image-fallback + figcaption::before{content:"Foto midlertidig utilgjengelig · ";color:#92a4bc}

/* Produksjonstall vises umiddelbart under den aktuelle modellens forklaring. */
.amcar-hist .amcar-model-production{font-size:13px!important;line-height:1.55!important;padding:10px 12px;margin:12px 0!important;background:#0e1c2e;border-left:3px solid #6c9fdb;color:#d6e5f8!important;border-radius:3px}
.amcar-hist .amcar-model-production strong{color:#f2f7ff}
.amcar-hist .amcar-model-production a{color:#9ec8fa;text-underline-offset:3px;white-space:nowrap}
.hist-special-card .hist-production{margin-top:12px;padding-top:11px;border-top:1px solid #34435b;font-size:13px;line-height:1.55;color:#d3e2f6}
.hist-special-card .hist-production strong{color:#fff}
.hist-special-card .hist-production a{color:#9bc4ff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
@media(max-width:700px){.hist-special-card .hist-production,.amcar-hist .amcar-model-production{font-size:12px!important;line-height:1.6!important}}

/* Lesernes Mustang-bilder – isolert til modellhistorien. */
.hist-page .hist-reader-photo {
  max-width:960px;width:100%;margin:1.4rem auto 2rem;padding:0;
  border:1px solid #293b54;border-radius:10px;overflow:hidden;
  background:#101a28;box-sizing:border-box;
}
.hist-page .hist-reader-photo img {
  display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;
}
.hist-page .hist-reader-photo figcaption {
  padding:10px 14px;color:#b5c5d9;font-size:.81rem;line-height:1.55;
}
@media(max-width:650px){
  .hist-page .hist-reader-photo {margin:1.1rem auto 1.7rem;border-radius:7px;}
  .hist-page .hist-reader-photo figcaption {font-size:.76rem;padding:9px 11px;}
}
