/*
Theme Name: American Military Posters
Theme URI: https://www.americanmilitaryposters.com/
Author: American Military Posters
Description: A fast, accessible specialist storefront for restored American military poster reproductions, digital editions and restoration services.
Version: 0.2.4
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: american-military-posters
*/

@import url("assets/core.css");

/* WordPress integration */
.admin-bar .site-header{top:32px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.screen-reader-text:focus{clip:auto!important;width:auto;height:auto;top:8px;left:8px;padding:12px 16px;background:#fff;color:#0A3161;z-index:100000}.custom-logo{width:auto;max-height:58px}.wp-caption,.wp-block-image{max-width:100%}.alignwide{width:min(1180px,calc(100% - 40px));margin-inline:auto}.content-area{padding:72px 0}.entry-content{max-width:860px}.entry-content img{height:auto}.post-card__date{color:var(--muted);font-size:.8rem}.pagination{margin-top:40px}.pagination .nav-links{display:flex;gap:8px;justify-content:flex-start}.pagination a,.pagination span{padding:9px 13px;background:#fff;border:1px solid var(--line);text-decoration:none}.woocommerce .button,.woocommerce button.button,.woocommerce input.button{border-radius:0;color:#fff;background:var(--red)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--red)}.woocommerce-message,.woocommerce-info{border-top-color:var(--navy)}
.featured-separator{margin-top:70px;padding-top:60px;border-top:1px solid var(--line)}.signup .status{grid-column:1/-1;color:#d6e0ed;font-size:.85rem}.footer-grid h4{margin-top:0}
@media(max-width:782px){.admin-bar .site-header{top:46px}.featured-separator{margin-top:46px;padding-top:42px}}

/* Homepage specialist storefront */
:root{--navy-2:#071f40;--paper-2:#e8eef6;--brass:#b08a2e;--brass-light:#e7c86e}
body.home .hero{min-height:650px;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,.72fr);gap:clamp(48px,6vw,100px);align-items:center;padding:56px max(40px,calc((100vw - 1180px)/2));color:#fff;background:var(--navy);overflow:hidden}
body.home .hero-copy{position:relative;display:flex;min-height:520px;flex-direction:column;justify-content:center;padding:10px 0 60px}
body.home .hero-copy::after{content:"LIBERTY / SERVICE / SACRIFICE / UNION";position:absolute;left:0;bottom:20px;color:rgba(255,255,255,.34);font-size:.68rem;font-weight:800;letter-spacing:.28em}
body.home .hero h1{max-width:670px;margin:16px 0 22px;color:#fff;font:500 clamp(3.2rem,6.3vw,6.7rem)/.94 var(--serif);letter-spacing:-.045em}
body.home .hero p{max-width:560px;margin:0 0 30px;color:#e6edf6;font-size:1.05rem}
body.home .hero-actions{display:flex;flex-wrap:wrap;gap:12px}
body.home .hero .button{border-color:var(--brass-light)}
body.home .hero .button-primary{color:var(--navy);background:var(--brass-light)}
body.home .hero .button-secondary{color:#fff;background:transparent}
body.home .hero-art{position:relative;width:100%;max-width:430px;justify-self:end;padding:16px;background:#fff;box-shadow:0 28px 70px rgba(0,0,0,.28);overflow:hidden}
body.home .hero-art img{width:100%;height:auto;aspect-ratio:858/1227;object-fit:contain;filter:saturate(.92) contrast(1.03)}
body.home .hero-art::after{content:"Restored edition · 1942";position:absolute;right:20px;bottom:20px;padding:10px 14px;color:#fff;background:rgba(19,32,51,.9);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body.home .trust-strip{padding:0;background:#fff;border-bottom:1px solid var(--line)}
body.home .trust-grid{display:grid;grid-template-columns:repeat(4,1fr)}
body.home .trust-item{padding:22px 24px;border-right:1px solid var(--line)}
body.home .trust-item:last-child{border-right:0}
body.home .trust-item strong{display:block;color:var(--navy);font-family:var(--serif);font-size:1rem}
body.home .trust-item span{color:var(--muted);font-size:.78rem}
body.home main>section:not(.hero):not(.trust-strip):not(.credibility){padding:88px 0}
body.home .patriotism{position:relative;color:#fff;background:var(--red);overflow:hidden}
body.home .patriotism::before{content:"★";position:absolute;right:4vw;top:50%;color:rgba(255,255,255,.09);font-size:min(38vw,430px);line-height:1;transform:translateY(-50%)}
body.home .patriotism-grid{position:relative;display:grid;grid-template-columns:.78fr 1.22fr;gap:80px;align-items:center}
body.home .patriotism-mark{display:flex;align-items:center;gap:15px;font-size:.76rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
body.home .patriotism-mark::before{content:"";width:72px;height:3px;background:#fff}
body.home .patriotism blockquote{max-width:820px;margin:0;font:500 clamp(2.1rem,4.3vw,4.2rem)/1.05 var(--serif);letter-spacing:-.03em}
body.home .patriotism p{max-width:760px;margin:24px 0 0;color:rgba(255,255,255,.88)}
body.home .section-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:40px;margin-bottom:42px}
body.home .section-heading h2{max-width:690px;margin:8px 0 0;color:var(--navy);font:500 clamp(2.3rem,5vw,4.6rem)/1 var(--serif);letter-spacing:-.035em}
body.home .section-heading p{margin:0;color:var(--muted)}
body.home .collections{background:var(--paper)}
body.home .collection-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}
body.home .collection-card{min-height:310px;display:flex;flex-direction:column;justify-content:space-between;padding:28px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-decoration:none;transition:.25s ease}
body.home .collection-card:nth-child(1){background:#fff;border-top:7px solid var(--red)}
body.home .collection-card:nth-child(2){color:#fff;background:var(--red);border-top:7px solid var(--navy)}
body.home .collection-card:nth-child(3){color:#fff;background:var(--navy);border-top:7px solid #fff}
body.home .collection-card:nth-child(4){background:#fff;border-top:7px solid var(--navy)}
body.home .collection-card:hover{z-index:2;transform:translateY(-6px);box-shadow:var(--shadow)}
body.home .collection-card small{font-weight:800;letter-spacing:.15em;text-transform:uppercase;opacity:.7}
body.home .collection-card h3{margin:0 0 12px;font:500 2rem/1.05 var(--serif)}
body.home .collection-card p{max-width:220px;margin:0;font-size:.86rem;opacity:.78}
body.home .arrow{font-size:1.5rem}
body.home .featured{color:#fff;background:var(--navy-2);border-top:8px solid var(--red)}
body.home .featured .section-heading h2{color:#fff}
body.home .featured .section-heading p{color:#d6e0ed}
body.home .product-layout{position:relative;display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center;isolation:isolate}
body.home .product-layout::before{content:"★";position:absolute;z-index:0;right:-190px;top:50%;color:rgba(255,255,255,.055);font-size:clamp(210px,23vw,305px);line-height:1;transform:translateY(-50%);pointer-events:none}
body.home .product-layout>*{position:relative;z-index:1}
body.home .product-image-wrap{padding:30px;background:#fff;box-shadow:var(--shadow)}
body.home .product-image-wrap img{width:100%;aspect-ratio:64/90;object-fit:contain}
body.home .product-info{position:static}
body.home .product-info h3{margin:10px 0 6px;color:#fff;font:500 clamp(2.2rem,4vw,3.8rem)/1.04 var(--serif)}
body.home .product-meta{color:var(--brass-light);font-size:.8rem;letter-spacing:.09em;text-transform:uppercase}
body.home .price{margin:28px 0 5px;font:500 2rem var(--serif)}
body.home .tax-note{color:#b8c6d8;font-size:.78rem}
body.home .add-button{width:100%;margin-top:22px;border:0;color:#fff;background:var(--red)}
body.home .purchase-notes{display:grid;gap:13px;margin-top:24px;color:#d6e0ed;font-size:.86rem}
body.home .purchase-notes span::before{content:"★";margin-right:10px;color:#fff;font-weight:900}
body.home .displate{background:var(--paper);border-bottom:1px solid var(--line)}
body.home .displate-note{padding:18px 20px;color:var(--navy);border-left:5px solid var(--red);background:#fff;font-size:.9rem}
body.home .displate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px 18px}
body.home .displate-card{display:flex;min-width:0;flex-direction:column;background:#fff;border:1px solid var(--line);box-shadow:0 10px 28px rgba(17,35,58,.08);transition:.25s ease}
body.home .displate-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(17,35,58,.14)}
body.home .displate-image{position:relative;display:grid;place-items:center;aspect-ratio:5/7;padding:12px;overflow:hidden;background:#e5e9ef}
body.home .displate-image::after{content:"DISPLATE EXCLUSIVE";position:absolute;left:10px;bottom:10px;padding:7px 9px;color:#fff;background:var(--red);font-size:.62rem;font-weight:900;letter-spacing:.1em}
body.home .displate-image img{width:100%;height:100%;object-fit:contain}
body.home .displate-card-body{display:flex;flex:1;flex-direction:column;padding:18px}
body.home .displate-category{color:var(--red);font-size:.78rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
body.home .displate-card h3{margin:8px 0 18px;color:var(--navy);font:500 1.28rem/1.12 var(--serif)}
body.home .product-format{margin:-8px 0 16px;color:var(--muted);font-size:.82rem;line-height:1.4}
body.home .displate-card-body>a{min-height:44px;display:inline-flex;align-items:center;justify-content:center;margin-top:auto;padding:0 12px;color:#fff;background:var(--navy);font-size:.78rem;font-weight:900;letter-spacing:.07em;text-decoration:none;text-transform:uppercase}
body.home .displate-actions{display:flex;justify-content:center;margin-top:38px}
body.home .displate-actions .button{color:#fff;border-color:var(--navy);background:var(--navy)}
body.home .credibility{position:relative;padding:0;color:#fff;background:var(--red);overflow:hidden}
body.home .credibility-grid{display:grid;grid-template-columns:repeat(3,1fr)}
body.home .credibility-item{padding:28px 26px;border-right:1px solid rgba(255,255,255,.3)}
body.home .credibility-item:last-child{border-right:0}
body.home .credibility-item strong{display:block;font:500 1.4rem var(--serif)}
body.home .credibility-item span{font-size:.86rem;opacity:.88}
body.home .formats{background:#fff}
body.home .format-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
body.home .format-card{display:flex;flex-direction:column;padding:28px;border:1px solid var(--line);background:#fff}
body.home .format-card .number{color:var(--brass);font:italic 1.1rem var(--serif)}
body.home .format-card h3{margin:36px 0 10px;color:var(--navy);font:500 1.8rem var(--serif)}
body.home .format-card p{flex:1;color:var(--muted)}
body.home .format-card a{margin-top:14px;color:var(--red);font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
body.home .process{background:var(--paper-2)}
body.home .process-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:80px;align-items:start}
body.home .process h2{margin:10px 0 22px;color:var(--navy);font:500 clamp(2.5rem,5vw,4.8rem)/.98 var(--serif)}
body.home .process-intro{color:var(--muted)}
body.home .steps{border-top:1px solid var(--line)}
body.home .step{display:grid;grid-template-columns:70px 1fr;gap:20px;padding:25px 0;border-bottom:1px solid var(--line)}
body.home .step strong{color:var(--red);font:500 1.5rem var(--serif)}
body.home .step h3{margin:0 0 5px;color:var(--navy);font:700 1.05rem var(--sans)}
body.home .step p{margin:0;color:var(--muted);font-size:.9rem}
body.home .restoration-proof{color:#fff;background:var(--navy-2)}
body.home .restoration-proof .section-heading h2{color:#fff}
body.home .restoration-proof .section-heading p{color:#d6e0ed}
body.home .proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}
body.home .proof-image{position:relative;min-width:0;margin:0;padding:16px;background:#fff}
body.home .proof-image img{width:100%;height:min(62vw,650px);object-fit:contain;background:#e7ebf0}
body.home .proof-label{position:absolute;left:28px;top:28px;padding:8px 11px;color:#fff;background:var(--navy-2);font-size:.78rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
body.home .proof-image:first-child .proof-label{background:var(--red)}
body.home .proof-note{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;margin-top:20px;background:#315274}
body.home .proof-note div{padding:20px;background:var(--navy)}
body.home .proof-note strong{display:block;margin-bottom:4px;font-family:var(--serif)}
body.home .proof-note span{color:#d6e0ed;font-size:.86rem}
body.home .journal{background:#fff}
body.home .journal-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px}
body.home .article{min-height:300px;display:flex;flex-direction:column;justify-content:flex-end;padding:28px;color:#fff;background:var(--navy-2);text-decoration:none}
body.home .article:first-child{min-height:420px;background:var(--red)}
body.home .article:nth-child(3){color:var(--navy);background:var(--paper-2);border:1px solid var(--navy)}
body.home .article small{margin-bottom:15px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;opacity:.75}
body.home .article h3{margin:0;font:500 1.8rem/1.1 var(--serif)}
body.home .newsletter{position:relative;color:#fff;background:var(--navy);overflow:hidden}
body.home .newsletter-grid{display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
body.home .newsletter h2{margin:0 0 8px;font:500 2.5rem var(--serif)}
body.home .newsletter p{margin:0;color:#d6e0ed}
body.home .signup{display:flex;flex-wrap:wrap}
body.home .signup input{flex:1;min-width:0;min-height:54px;padding:0 18px;border:1px solid #91a7c1;color:#fff;background:transparent}
body.home .signup button{min-width:140px;border:0;color:var(--navy);background:#fff;font-weight:800}

@media(max-width:980px){
 body.home .hero{grid-template-columns:1fr;gap:40px;padding:64px 30px 72px}
 body.home .hero-copy{min-height:0;padding:0 0 55px}
 body.home .hero-copy::after{bottom:0}
 body.home .hero-art{width:min(100%,500px);max-width:500px;justify-self:center;padding:14px}
 body.home .trust-grid{grid-template-columns:repeat(2,1fr)}
 body.home .section-heading,body.home .product-layout,body.home .process-layout,body.home .newsletter-grid,body.home .patriotism-grid{grid-template-columns:1fr}
 body.home .collection-grid,body.home .format-grid{grid-template-columns:repeat(2,1fr)}
 body.home .displate-grid{grid-template-columns:repeat(3,1fr)}
 body.home .journal-grid{grid-template-columns:1fr 1fr}
 body.home .article:first-child{grid-column:1/-1}
 body.home .proof-note{grid-template-columns:1fr}
}
@media(max-width:600px){
 body.home .hero{padding:52px 14px 62px}
 body.home .hero h1{font-size:3.25rem}
 body.home main>section:not(.hero):not(.trust-strip):not(.credibility){padding:74px 0}
 body.home .trust-grid,body.home .collection-grid,body.home .format-grid,body.home .journal-grid{grid-template-columns:1fr}
 body.home .displate-grid{grid-template-columns:repeat(2,1fr);gap:18px 12px}
 body.home .product-layout{gap:42px}
 body.home .product-image-wrap{padding:18px}
 body.home .proof-grid{grid-template-columns:1fr}
 body.home .proof-image img{height:auto;aspect-ratio:5/7}
 body.home .credibility-grid{grid-template-columns:1fr}
 body.home .credibility-item{border-right:0;border-bottom:1px solid rgba(255,255,255,.3)}
 body.home .signup{display:grid}
 body.home .signup button{min-height:52px}
}
@media(max-width:430px){body.home .displate-grid{grid-template-columns:1fr}body.home .hero h1{font-size:2.85rem}}
