/* ham-draft-style.css
   Draft-only look for historicaviationmilitary.com.
   Linked only from *-draft.html pages. Does not change ham-style.css or live pages.
*/

/* ── Colour banner (draft pages only) ── */
.ham-hero.ham-hero-colour{
  position:relative !important;
  width:100% !important;
  height:32vw !important;
  max-height:516px !important;
  min-height:160px !important;
  overflow:hidden !important;
  background:#1a1510 !important;
  display:block !important;
}
.ham-hero.ham-hero-colour > img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center center !important;
  display:block !important;
  opacity:1 !important;
  border:none !important;
  border-radius:0 !important;
  margin:0 !important;
  max-width:100% !important;
}
.ham-hero.ham-hero-colour .ham-hero-overlay{
  position:absolute !important;
  inset:0 !important;
  z-index:2 !important;
  background:none !important;
  pointer-events:none !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  padding:clamp(12px, 3.2vw, 36px) clamp(16px, 5vw, 72px) 12px clamp(16px, 4vw, 40px) !important;
  box-sizing:border-box !important;
}
.ham-hero.ham-hero-colour .ham-hero-title-block{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-end !important;
  justify-content:flex-start !important;
  text-align:right !important;
  max-width:min(920px, 92vw) !important;
}
.ham-hero.ham-hero-colour .ham-hero-rule,
.ham-hero.ham-hero-colour .ham-hero-rule-bottom{display:none !important;}
.ham-hero.ham-hero-colour .ham-hero-title,
.ham-hero.ham-hero-colour span.ham-hero-title{
  display:block !important;
  font-family:"Playfair Display", Georgia, "Times New Roman", Times, serif !important;
  font-size:clamp(22px, 4.2vw, 54px) !important;
  font-weight:700 !important;
  font-style:normal !important;
  letter-spacing:0.01em !important;
  text-transform:none !important;
  text-align:right !important;
  line-height:1.15 !important;
  margin:0 0 0.12em 0 !important;
  color:#f5e6c0 !important;
  text-shadow:0 2px 8px rgba(0,0,0,0.85), 0 1px 2px rgba(0,0,0,0.95) !important;
  white-space:normal !important;
}
.ham-hero.ham-hero-colour .ham-hero-sub,
.ham-hero.ham-hero-colour span.ham-hero-sub{
  display:block !important;
  font-family:"Playfair Display", Georgia, "Times New Roman", Times, serif !important;
  font-size:clamp(11px, 1.9vw, 24px) !important;
  font-weight:700 !important;
  letter-spacing:0.02em !important;
  text-transform:none !important;
  text-align:right !important;
  color:#ffffff !important;
  text-shadow:0 2px 8px rgba(0,0,0,0.85), 0 1px 2px rgba(0,0,0,0.95) !important;
  line-height:1.25 !important;
  max-width:100% !important;
  padding:0 !important;
  white-space:normal !important;
}
@media (max-width:600px){
  .ham-hero.ham-hero-colour{height:44vw !important; min-height:160px !important;}
}

/* ── Olive drab page wrap ── */
html,body{background-color:#5c5c32 !important;}
.ham-card-wrap{
  background-color:#5c5c32 !important;
  background-image:
    linear-gradient(rgba(107,107,58,.84), rgba(122,122,74,.84)),
    repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 1px, transparent 1px 10px),
    repeating-linear-gradient(-45deg, rgba(0,0,0,.07) 0 1px, transparent 1px 10px);
}

/* ── Black menu band, sandy pills matching the DRAFT banner ── */
.ham-nav{
  background:#000 !important;
  background-image:none !important;
  border-top:2px solid #e0c000 !important;
  border-bottom:2px solid #e0c000 !important;
}
.ham-nav > a,
.ham-nav details.ham-dd > summary{
  background:#fff3a0 !important;
  color:#000 !important;
  border:2px solid #e0c000 !important;
  border-radius:30px !important;
  font-family:Tahoma,Arial,sans-serif !important;
  font-weight:700 !important;
}
.ham-nav > a:hover,
.ham-nav details.ham-dd > summary:hover,
.ham-nav details.ham-dd[open] > summary{
  background:#ffe56a !important;
  color:#000 !important;
  border:2px solid #e0c000 !important;
}
.ham-dd-menu{
  background:#000 !important;
  border:2px solid #e0c000 !important;
  border-radius:14px !important;
}
.ham-dd-menu a{
  background:transparent !important;
  color:#fff !important;
  border:1px solid transparent !important;
  border-radius:10px !important;
  font-family:Tahoma,Arial,sans-serif !important;
}
.ham-dd-menu a:hover{
  background:#fff3a0 !important;
  color:#000 !important;
  border:2px solid #e0c000 !important;
}

/* ── Black footer, same sandy edges, readable sandy text ── */
.ham-footer{
  background:#000 !important;
  background-image:none !important;
  border-top:2px solid #e0c000 !important;
  border-bottom:2px solid #e0c000 !important;
}
.ham-footer p{
  color:#fff3a0 !important;
}
.ham-footer a{
  color:#fff3a0 !important;
}
.ham-footer a:hover{
  color:#ffe56a !important;
}

/* ── White content panel: fine black edge, keep rounded corners ── */
.ham-card{border:1px solid #000 !important;}

/* Content photos: 1px black stroke, 14px corners (overrides live 3px blue, including inline styles) */
.ham-card img,
.ham-card .ham-img-wrap img,
.ham-card table img{
  border:1px solid #000 !important;
  border-radius:14px !important;
  box-shadow:none !important;
}
.ham-card iframe,
.ham-card video{
  border:1px solid #000 !important;
  border-radius:14px !important;
}

/* ── Shared draft helpers ── */
.ham-card .ts-draft-banner{
  background:#fff3a0;
  border:2px solid #e0c000;
  color:#000;
  font-family:Tahoma,Arial,sans-serif;
  font-weight:700;
  font-size:16px;
  text-align:center;
  padding:8px 12px;
  border-radius:8px;
  max-width:800px;
  margin:0 auto 18px auto;
}
.ham-card h2.ts-section{
  color:#0d1f3c !important;
  font-size:26px !important;
  border-bottom:3px solid #cc0000;
  padding-bottom:6px;
  margin-top:40px !important;
  scroll-margin-top:12px;
}
.ham-card h3.ts-sub{
  color:#0d1f3c !important;
  font-size:20px !important;
  margin-top:28px !important;
}
.ham-card .ts-toc{
  max-width:800px;
  margin:10px auto 24px auto;
  padding:12px 20px;
  border:1px solid #d5dbe6;
  border-radius:10px;
  background:#f8f9fb;
  box-sizing:border-box;
}
.ham-card .ts-toc p{font-family:Tahoma,Arial,sans-serif !important;font-weight:700 !important;margin:0 0 6px 0 !important;padding:0 !important;}
.ham-card .ts-toc ol{margin:0;padding-left:24px;}
.ham-card .ts-toc li{margin:0 0 4px 0 !important;padding:0 !important;max-width:none !important;}
.ham-card .ts-toc a,
.ham-card p.ts-top a{color:#1a3d8f;text-decoration:none;}
.ham-card .ts-toc a:hover,
.ham-card p.ts-top a:hover{text-decoration:underline;}
.ham-card p.ts-top.ts-top.ts-top{text-align:right !important;font-size:14px !important;margin:6px auto 10px auto !important;}
/* Data tables restored: live ham-style.css forces display:block on table/td/th. */
.ham-card .ts-table-wrap{
  max-width:800px;
  width:100%;
  margin:8px auto 20px auto;
  overflow-x:auto;
  box-sizing:border-box;
}
.ham-card table,
.ham-card table.ts-table,
.ham-card table.ts-legend-table,
.ham-card table.ts-updates-table{
  display:table !important;
  width:100% !important;
  max-width:800px !important;
  margin:8px auto 20px auto !important;
  border-collapse:collapse !important;
  border:1px solid #000 !important;
  font-family:Arial,sans-serif !important;
  font-size:15px !important;
  color:#000 !important;
  background:#fff !important;
  table-layout:auto !important;
}
.ham-card table caption{display:table-caption !important;text-align:center;padding:6px 8px;font-weight:700;}
.ham-card table thead{display:table-header-group !important;}
.ham-card table tbody{display:table-row-group !important;}
.ham-card table tfoot{display:table-footer-group !important;}
.ham-card table tr{display:table-row !important;}
.ham-card table th,
.ham-card table td{
  display:table-cell !important;
  width:auto !important;
  max-width:none !important;
  border:1px solid #000 !important;
  padding:8px 10px !important;
  text-align:left !important;
  vertical-align:top !important;
  background:transparent !important;
  font-size:15px !important;
  color:#000 !important;
}
.ham-card table th{
  background:#f6f1dc !important;
  font-weight:700 !important;
  font-family:Tahoma,Arial,sans-serif !important;
  text-align:left !important;
}

/* ── Section cards (Burtonwood hubs) ── */
.ham-card .ts-cards{display:flex;flex-wrap:wrap;justify-content:center;align-items:stretch;gap:20px;max-width:none;margin:16px auto 32px auto;padding:0;}
.ham-card a.ts-card{
  flex:0 0 calc((100% - 40px) / 3);
  width:calc((100% - 40px) / 3);
  max-width:100%;
  display:flex;
  flex-direction:column;
  text-decoration:none;
  color:inherit;
  border:1px solid #000;
  border-radius:14px;
  overflow:hidden;
  background:#fff;
  box-shadow:none;
  box-sizing:border-box;
  transition:box-shadow .15s ease,transform .15s ease;
}
.ham-card a.ts-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.18);transform:translateY(-1px);}
.ham-card a.ts-card,
.ham-card a.ts-card:link,
.ham-card a.ts-card:visited,
.ham-card a.ts-card:hover{text-decoration:none !important;color:inherit !important;}
.ham-card a.ts-card h3,
.ham-card a.ts-card p,
.ham-card a.ts-card span{text-decoration:none !important;}
.ham-card a.ts-card .ts-card-img{
  display:block;width:100%;aspect-ratio:4/3;overflow:hidden;background:#222;
  flex:0 0 auto;margin:0;padding:0;border:none;border-bottom:1px solid #000;box-sizing:border-box;
}
.ham-card a.ts-card .ts-card-img img,
.ham-card a.ts-card img{
  width:100% !important;height:100% !important;max-width:none !important;max-height:none !important;
  object-fit:cover !important;object-position:center !important;display:block !important;
  border:none !important;border-radius:0 !important;box-shadow:none !important;margin:0 !important;padding:0 !important;
}
.ham-card a.ts-card .ts-card-body{display:flex;flex-direction:column;flex:1 1 auto;padding:12px 14px 14px;box-sizing:border-box;}
.ham-card a.ts-card h3{
  font-family:Tahoma,Arial,sans-serif !important;font-size:16px !important;font-weight:900 !important;
  color:#cc0000 !important;text-align:center !important;margin:0 0 8px 0 !important;padding:0 !important;
  line-height:1.3 !important;height:2.6em !important;overflow:hidden !important;
  display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important;line-clamp:2;
}
.ham-card a.ts-card p{
  font-family:Arial,sans-serif !important;font-size:13.5px !important;font-weight:400 !important;
  color:#000 !important;line-height:1.35 !important;margin:0 0 12px 0 !important;padding:0 !important;
  text-align:left !important;height:2.7em !important;overflow:hidden !important;
  display:-webkit-box !important;-webkit-box-orient:vertical !important;-webkit-line-clamp:2 !important;line-clamp:2;
}
.ham-card a.ts-card .ts-btn{
  margin-top:auto;display:block;text-align:center;background:#fff3a0;border:2px solid #e0c000;
  color:#000 !important;font-family:Tahoma,Arial,sans-serif;font-size:13px;font-weight:600;
  letter-spacing:0;padding:8px 12px;border-radius:8px;box-sizing:border-box;
}
.ham-card a.ts-card:hover .ts-btn{background:#ffe56a;color:#000 !important;border-color:#d4b000;}
.ham-card .ts-back{
  display:flex;flex-wrap:wrap;justify-content:center;gap:12px;max-width:none;
  margin:8px auto 28px auto;padding:0;text-align:center;
}
.ham-card .ts-back a{
  flex:1 1 220px;max-width:300px;box-sizing:border-box;display:inline-block;text-align:center;
  font-family:Tahoma,Arial,sans-serif !important;font-size:15px !important;font-weight:600 !important;
  color:#000 !important;text-decoration:none !important;border:2px solid #e0c000;background:#fff3a0;
  padding:8px 14px;border-radius:8px;
}
.ham-card .ts-back a:hover{background:#ffe56a;color:#000 !important;border-color:#d4b000;}
.ham-card .ts-lead{font-family:Arial,sans-serif;font-size:16px;color:#000;line-height:1.6;margin:0 auto 16px auto;text-align:left;padding:0 8px;max-width:800px;}
.ham-card .ts-caption{font-family:Arial,sans-serif;font-size:15px;color:#000;line-height:1.5;margin:0 auto 24px auto;text-align:left;padding:0 8px;max-width:800px;}
.ham-card .ts-map{display:block;max-width:800px;width:100%;margin:16px auto 24px auto;text-align:center;padding:0;}
.ham-card .ts-map img{
  width:100% !important;max-width:800px !important;height:auto !important;display:block !important;
  margin:0 auto !important;border:1px solid #000 !important;border-radius:14px !important;
  background:#c6ecff;box-shadow:none !important;
}
.ham-card .ts-map figcaption{font-family:Arial,sans-serif;font-size:12px;color:#444;line-height:1.4;margin:8px 0 0;text-align:left;max-width:800px;}
@media (max-width:860px){
  .ham-card a.ts-card{flex:0 0 calc((100% - 20px) / 2);width:calc((100% - 20px) / 2);}
}
@media (max-width:560px){
  .ham-card a.ts-card{flex:0 0 100%;width:100%;max-width:360px;}
}

/* ── Hub page helpers ── */
.ham-card .ts-hub{max-width:800px;margin:8px auto 24px auto;padding:0 8px;}
.ham-card .ts-hub a{
  display:block;font-family:Tahoma,Arial,sans-serif;font-size:22px;font-weight:900;
  color:#cc0000 !important;text-align:center;text-decoration:none !important;margin:10px auto;
}
.ham-card .ts-hub a:hover{text-decoration:underline !important;}
.ham-card .ts-sign{
  font-family:"Dancing Script","Brush Script MT",cursive;font-size:clamp(1.85rem,4vw,2.5rem);
  color:#1a2744;text-align:left;margin:0 auto 22px auto;padding:0 8px;max-width:800px;line-height:1.25;
}
.ham-card .ts-links{max-width:800px;margin:8px auto 24px auto;padding:0 8px;list-style:none;}
.ham-card .ts-links li{font-family:Arial,sans-serif;font-size:18px;margin:0 0 12px 0;line-height:1.45;}
.ham-card .ts-videos{max-width:800px;margin:8px auto 24px auto;padding:0 8px;}
.ham-card .ts-videos h3{
  font-family:Tahoma,Arial,sans-serif;font-size:20px;font-weight:900;color:#cc0000;
  text-align:center;margin:18px auto 6px;
}
.ham-card a.ts-mail{color:#0d1f3c;}

/* ── Occasional page helpers (Technical Site, BRD, Ringtail, Stretton) ── */
.ham-card .ts-plankey{max-width:800px;margin:10px auto 6px auto;padding:6px 18px;box-sizing:border-box;}
.ham-card .ts-plankey-row{
  display:flex;align-items:center;gap:12px;margin:6px 0;
  font-family:Tahoma,Arial,sans-serif;font-size:16px;color:#111;text-align:left;justify-content:flex-start;
}
.ham-card .ts-plankey-row img{
  margin:0 !important;flex:0 0 auto;width:auto !important;max-width:none !important;
  border:1px solid #000 !important;border-radius:0 !important;
}
.ham-card ol.ts-legend{max-width:800px;margin:8px auto 20px auto;padding-left:28px;font-family:Arial,sans-serif;font-size:16px;line-height:1.5;}
.ham-card ol.ts-legend li{margin:0 0 4px 0;}
.ham-card ul.ts-list{max-width:800px;margin:0 auto 16px auto;padding-left:28px;font-family:Arial,sans-serif;font-size:16px;line-height:1.55;}
.ham-card ul.ts-list li{margin:0 0 4px 0;}
.ham-card .ts-facts{max-width:800px;margin:0 auto 20px auto;padding:0 8px;}
.ham-card .ts-facts h3{font-family:Tahoma,Arial,sans-serif;font-size:18px;font-weight:900;color:#cc0000;text-align:left;margin:14px 0 4px;}
.ham-card .ts-facts p{font-family:Arial,sans-serif;font-size:16px;color:#000;line-height:1.6;margin:0 0 8px;}

/* Technical Site building key */
.ham-card .ham-bldg-key{
  max-width:800px;margin:20px auto 16px auto;padding:8px 18px 4px 18px;
  border:1px solid #d5dbe6;border-radius:10px;background:#f8f9fb;box-sizing:border-box;
  text-align:left;font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;color:#111;
}
.ham-card .ham-bldg-row{
  display:grid;grid-template-columns:13.4em 1fr;column-gap:12px;align-items:start;
  padding:6px 0;border-bottom:1px solid #e6e9ef;text-align:left;color:#111;
  font-family:Tahoma,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.5;
}
.ham-card .ham-bldg-row.ham-bldg-row-last{border-bottom:none;}
.ham-card .ham-bldg-num{font-weight:400;color:#111;}
.ham-card .ham-bldg-num strong{font-weight:700;color:#000;}
.ham-card .ham-bldg-desc{font-weight:400;color:#111;}
.ham-card .ham-bldg-row-with-note .ham-bldg-extra,
.ham-card p.ham-bldg-extra{
  grid-column:1 / -1;margin:2px 0 6px 0 !important;padding:0 !important;border:none;
  text-align:left !important;font-family:Tahoma,Arial,Helvetica,sans-serif !important;
  font-size:16px !important;line-height:1.6 !important;color:#111 !important;
  max-width:none !important;font-weight:400 !important;
}
.ham-card .ham-bldg-photo-note{
  max-width:800px;margin:4px auto 8px auto;padding:4px 18px 0 18px;box-sizing:border-box;text-align:left;
}
.ham-card .ham-bldg-photo-note p{
  font-family:Tahoma,Arial,Helvetica,sans-serif !important;font-size:16px !important;
  line-height:1.6 !important;color:#111 !important;text-align:left !important;
  margin:0 0 12px 0 !important;padding:0 !important;max-width:none !important;font-weight:400 !important;
}
.ham-card .ham-bldg-photo-note strong{font-weight:700;color:#000;}
@media (max-width:560px){
  .ham-card .ham-bldg-row{grid-template-columns:1fr;row-gap:2px;padding:8px 0;}
}

/* ── Title wrap, photo captions, credits, updates panel (r7) ── */
.ham-card h1,
.ham-card h2,
.ham-card h3,
.ham-card .ts-section,
.ham-card .ts-sub,
.ham-card figcaption,
.ham-card p.ts-photocap,
.ham-card p.ts-credit,
.ham-card .ts-updates h2,
.ham-card a.ts-card h3{
  text-wrap:balance;
}
.ham-card p.ts-photocap{
  font-family:Arial,sans-serif !important;
  font-size:15px !important;
  color:#000 !important;
  line-height:1.5 !important;
  margin:0 auto 16px auto !important;
  text-align:center !important;
  padding:0 8px !important;
  max-width:800px !important;
  display:block !important;
}
.ham-card p.ts-credit{
  font-family:Arial,sans-serif !important;
  font-size:13px !important;
  color:#333 !important;
  line-height:1.45 !important;
  margin:0 auto 14px auto !important;
  text-align:center !important;
  padding:0 8px !important;
  max-width:800px !important;
  display:block !important;
  text-wrap:balance;
}
.ham-card .ts-updates{
  max-width:800px;
  width:100%;
  margin:28px auto 16px auto;
  padding:20px 22px 22px;
  border:1px solid #000;
  border-radius:14px;
  background:#fff;
  box-sizing:border-box;
  text-align:center;
}
.ham-card .ts-updates h2{
  font-family:Tahoma,Arial,sans-serif !important;
  font-size:22px !important;
  font-weight:900 !important;
  color:#cc0000 !important;
  text-align:center !important;
  margin:0 auto 12px auto !important;
  padding:0 !important;
  border:none !important;
}
.ham-card .ts-updates .ts-live-now{
  font-family:Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#000 !important;
  text-align:center !important;
  margin:0 auto 8px auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates .ts-updates-note{
  font-family:Arial,sans-serif !important;
  font-size:13px !important;
  color:#333 !important;
  text-align:center !important;
  margin:0 auto 14px auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates table.ts-updates-table{
  margin:0 auto 16px auto !important;
  text-align:left;
}
.ham-card .ts-updates table.ts-updates-table td,
.ham-card .ts-updates table.ts-updates-table th{
  text-align:left !important;
}
.ham-card .ts-updates table.ts-updates-table a{
  color:#0d1f3c !important;
  text-decoration:underline !important;
}
.ham-card .ts-updates .ts-contact{
  font-family:Arial,sans-serif !important;
  font-size:16px !important;
  color:#000 !important;
  text-align:center !important;
  margin:4px auto 0 auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates .ts-contact a{color:inherit !important;text-decoration:none !important;pointer-events:none;}


/* ── Compact contact / last-updated box (t74u) ── */
.ham-card .ts-updates{
  max-width:560px;
  width:100%;
  margin:28px auto 16px auto;
  padding:18px 22px 16px;
  border:1px solid #000;
  border-radius:14px;
  background:#fff;
  box-sizing:border-box;
  text-align:center;
}
.ham-card .ts-updates .ts-contact{
  font-family:Arial,sans-serif !important;
  font-size:16px !important;
  color:#000 !important;
  text-align:center !important;
  margin:0 auto 10px auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates .ts-contact a{color:inherit !important;text-decoration:none !important;pointer-events:none;}
.ham-card .ts-updates .ts-live-now{
  font-family:Tahoma,Arial,sans-serif !important;
  font-size:16px !important;
  font-weight:700 !important;
  color:#000 !important;
  text-align:center !important;
  margin:0 auto 10px auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates .ts-last-updated{
  font-family:Arial,sans-serif !important;
  font-size:15px !important;
  color:#000 !important;
  line-height:1.5 !important;
  text-align:center !important;
  margin:0 auto 0 auto !important;
  padding:0 !important;
  max-width:none !important;
}
.ham-card .ts-updates .ts-last-updated a{
  color:#000 !important;
  text-decoration:underline !important;
}
