/*
Theme Name: Airframe Report
Theme URI: https://airframereport.com
Author: Krisztian
Description: Lightweight airframe history blog theme. Custom post type for registration-by-registration aircraft histories. Mediavine Journey ready. Built for Facebook-driven traffic, 600-900 word articles, fast mobile load.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: airframe-report
*/

/* ---------- RESET / BASE ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  font-size:18px;
  font-weight:400;
  line-height:1.65;
  color:#1a1a1a;
  background:#fafaf8;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:#4a7c59;text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{font-family:Georgia,"Times New Roman",serif;font-weight:700;line-height:1.25;color:#111;margin:1.6em 0 .6em}
h1{font-size:2.1rem}
h2{font-size:1.55rem}
h3{font-size:1.25rem}
p{margin:0 0 1.2em}

/* ---------- LAYOUT ---------- */
.container{max-width:720px;margin:0 auto;padding:0 20px}
.site-header{background:#0f1a24;border-bottom:3px solid #4a7c59;padding:18px 0}
.site-header .container{display:flex;align-items:center;justify-content:space-between}
.site-title{font-family:Georgia,serif;font-size:1.45rem;font-weight:700;color:#fff;margin:0;letter-spacing:.3px}
.site-title a{color:#fff}
.site-title a:hover{text-decoration:none;color:#cfe3d4}
.tagline{font-size:.78rem;color:#8fa8b0;margin:2px 0 0;letter-spacing:.5px;text-transform:uppercase}
.main-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:22px}
.main-nav a{color:#cfe3d4;font-size:.92rem;text-transform:uppercase;letter-spacing:.5px}
.main-nav a:hover{color:#fff;text-decoration:none}

/* ---------- ARTICLE ---------- */
.site-main{padding:30px 0 50px}
.post-title{font-size:2.1rem;margin:.2em 0 .3em}
.post-meta{font-size:.85rem;color:#6b6b6b;margin-bottom:22px;letter-spacing:.3px}
.post-meta span{margin-right:14px}
.post-hero{margin:0 -20px 24px;border-radius:0}
.post-hero img{width:100%}
@media(min-width:760px){.post-hero{margin:0 0 26px;border-radius:4px;overflow:hidden}}

/* Airframe data table (right under hero) */
.airframe-specs{
  background:#fff;
  border:1px solid #e4e4de;
  border-left:4px solid #4a7c59;
  padding:18px 22px;
  margin:0 0 28px;
  font-size:.95rem;
}
.airframe-specs dl{margin:0;display:grid;grid-template-columns:140px 1fr;gap:6px 16px}
.airframe-specs dt{color:#6b6b6b;font-weight:400;text-transform:uppercase;font-size:.78rem;letter-spacing:.5px;padding-top:3px}
.airframe-specs dd{margin:0;font-weight:500;color:#111}
.airframe-specs dd.fate-crashed{color:#a63a2e}
.airframe-specs dd.fate-scrapped{color:#6b6b6b}
.airframe-specs dd.fate-active{color:#4a7c59}
.airframe-specs dd.fate-preserved{color:#2d5a7c}

.entry-content p{margin:0 0 1.2em}
.entry-content h2{margin-top:1.8em}
.entry-content blockquote{border-left:3px solid #4a7c59;margin:1.5em 0;padding:.3em 0 .3em 18px;color:#444;font-style:italic}
.entry-content ul,.entry-content ol{margin:0 0 1.3em;padding-left:22px}
.entry-content li{margin-bottom:.4em}

/* Source/citation links - muted green, same as Lonely Camp v2.0 */
.entry-content a{color:#4a7c59;border-bottom:1px solid #c8d9ce}
.entry-content a:hover{border-bottom-color:#4a7c59}

/* ---------- AD SLOTS (Mediavine Journey ready) ---------- */
.ad-slot{
  margin:30px -20px;
  padding:12px 0;
  background:#f0ede7;
  text-align:center;
  min-height:90px;
}
.ad-slot::before{
  content:"Advertisement";
  display:block;
  font-size:.68rem;
  color:#999;
  letter-spacing:1px;
  text-transform:uppercase;
  margin-bottom:6px;
}
@media(min-width:760px){.ad-slot{margin:30px 0}}

/* ---------- ARCHIVE / HOME ---------- */
.archive-header{border-bottom:1px solid #e4e4de;padding-bottom:18px;margin-bottom:26px}
.archive-title{margin:0 0 6px;font-size:1.7rem}
.archive-desc{color:#6b6b6b;font-size:.95rem;margin:0}

.airframe-list{list-style:none;margin:0;padding:0}
.airframe-card{
  display:flex;
  gap:16px;
  padding:18px 0;
  border-bottom:1px solid #ececeb;
}
.airframe-card:last-child{border-bottom:none}
.airframe-card-thumb{flex:0 0 130px}
.airframe-card-thumb img{border-radius:3px;aspect-ratio:16/10;object-fit:cover}
.airframe-card-body{flex:1;min-width:0}
.airframe-card h2{font-size:1.15rem;margin:0 0 4px;line-height:1.3}
.airframe-card h2 a{color:#111}
.airframe-card h2 a:hover{color:#4a7c59;text-decoration:none}
.airframe-card .reg{display:inline-block;font-family:"SF Mono",Menlo,Consolas,monospace;font-size:.78rem;background:#0f1a24;color:#cfe3d4;padding:2px 7px;border-radius:2px;margin-right:8px;letter-spacing:.5px}
.airframe-card .type{font-size:.85rem;color:#6b6b6b}
.airframe-card p{font-size:.9rem;color:#444;margin:6px 0 0;line-height:1.5}
@media(max-width:520px){
  .airframe-card-thumb{flex-basis:100px}
  .airframe-card h2{font-size:1.05rem}
}

/* ---------- FOOTER ---------- */
.site-footer{background:#0f1a24;color:#8fa8b0;padding:30px 0;margin-top:40px;font-size:.85rem}
.site-footer a{color:#cfe3d4}
.footer-nav{margin:0 0 12px;padding:0;list-style:none;display:flex;gap:18px;flex-wrap:wrap}
.footer-nav a{text-decoration:none}
.footer-nav a:hover{color:#fff}
.footer-copy{margin:0;color:#6b8289}

/* ---------- UTILITY ---------- */
.screen-reader-text{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sr-only{clip:rect(1px,1px,1px,1px);position:absolute}

/* Pagination */
.pagination{margin:30px 0;text-align:center}
.pagination a,.pagination span{display:inline-block;padding:8px 14px;margin:0 3px;border:1px solid #e4e4de;background:#fff;color:#4a7c59;font-size:.9rem}
.pagination .current{background:#4a7c59;color:#fff;border-color:#4a7c59}
