/*
Theme Name: Buford Pusser Wayback Restored V7 Social YouTube
Theme URI: https://bufordpussermuseum.com/
Author: OpenAI Restoration Build
Description: WordPress restoration starter theme rebuilt from public Wayback Machine captures of the Buford Pusser Home and Museum site. Includes archived starter pages, posts, products, Yoast-compatible SEO metadata, restored News posts, dated permalinks, Location, social contact blocks, restored share buttons, and a YouTube video embed.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private restoration package
Text Domain: bphm
*/

:root{
  --bphm-text:#35313c;
  --bphm-muted:#74717c;
  --bphm-line:#e8e3df;
  --bphm-soft:#f8f7f5;
  --bphm-white:#ffffff;
  --bphm-dark:#1d1b24;
  --bphm-red:#a9272f;
  --bphm-blue:#27335f;
  --bphm-gold:#b99b5f;
  --bphm-max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:"Helvetica Neue",Arial,sans-serif;
  color:var(--bphm-text);
  background:var(--bphm-blue) url('assets/images/flag-bg.jpg') center top/cover fixed no-repeat;
  line-height:1.7;
  font-size:16px;
}
a{color:inherit;text-decoration:none;transition:.18s ease}
a:hover{color:var(--bphm-red)}
img{max-width:100%;height:auto;display:block}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}
.bphm-wrap{max-width:var(--bphm-max);margin:0 auto;padding:0 28px}

.bphm-site{
  max-width:1280px;
  margin:0 auto;
  background:var(--bphm-white);
  box-shadow:0 20px 70px rgba(0,0,0,.22);
  min-height:100vh;
}

.bphm-hero{
  min-height:315px;
  background:linear-gradient(90deg,rgba(255,255,255,.78),rgba(255,255,255,.62)), url('assets/images/flag-bg.jpg') center center/cover no-repeat;
  display:flex;
  align-items:center;
  border-bottom:1px solid rgba(0,0,0,.05);
}
.bphm-hero__inner{display:grid;grid-template-columns:260px 1fr;gap:42px;align-items:center;width:100%}
.bphm-logo{width:220px;max-width:100%;margin:0 auto;filter:drop-shadow(0 3px 5px rgba(0,0,0,.12))}
.bphm-title{font-weight:800;letter-spacing:.01em;font-size:clamp(32px,5vw,56px);line-height:1.08;margin:0 0 28px;color:#3f3a47;text-shadow:0 1px 0 rgba(255,255,255,.65)}
.bphm-quote{font-size:clamp(20px,2.2vw,28px);color:#563c46;line-height:1.8;text-align:center;margin:0;max-width:760px}
.bphm-quote span{display:block}

.bphm-nav{background:#fff;border-top:1px solid rgba(0,0,0,.04);border-bottom:1px solid var(--bphm-line);position:relative;z-index:10}
.bphm-nav__inner{display:flex;align-items:center;justify-content:center;gap:12px;min-height:86px}
.bphm-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;justify-content:center;gap:0;flex-wrap:wrap;width:100%}
.bphm-menu>li{position:relative}
.bphm-menu a{display:block;padding:28px 26px;font-size:14px;text-transform:uppercase;letter-spacing:.38em;color:#101018;font-weight:500;white-space:nowrap}
.bphm-menu .sub-menu{display:none;position:absolute;top:100%;left:0;list-style:none;margin:0;padding:8px 0;background:#fff;min-width:240px;box-shadow:0 10px 35px rgba(0,0,0,.14);border:1px solid var(--bphm-line)}
.bphm-menu li:hover>.sub-menu{display:block}
.bphm-menu .sub-menu a{padding:11px 18px;letter-spacing:.12em;font-size:12px;text-transform:none}
.bphm-mobile-toggle{display:none;background:transparent;border:1px solid var(--bphm-line);padding:9px 12px;letter-spacing:.18em;text-transform:uppercase;font-size:12px}

.bphm-main{background:#fff}
.bphm-section{padding:60px 0;border-bottom:1px solid var(--bphm-line)}
.bphm-section--compact{padding:42px 0}
.bphm-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}
.bphm-grid--thirds{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.bphm-heading{font-weight:300;font-size:clamp(34px,4.5vw,52px);line-height:1.18;margin:0 0 28px;color:#514d58;letter-spacing:-.03em}
.bphm-heading--center{text-align:center}
.bphm-subheading{font-weight:300;font-size:30px;margin:0 0 20px;color:#57535e}
.bphm-lead{font-size:17px;color:#6b6872;margin:0 0 20px}
.bphm-btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--bphm-red);background:var(--bphm-red);color:#fff!important;letter-spacing:.18em;text-transform:uppercase;font-size:12px;padding:12px 19px;margin-top:10px}
.bphm-btn:hover{background:#7e1c22;color:#fff!important;border-color:#7e1c22}
.bphm-btn--light{background:#fff;color:var(--bphm-red)!important;border-color:#d8b8ba}
.bphm-card{background:#fff;border:1px solid var(--bphm-line);box-shadow:0 3px 18px rgba(0,0,0,.05)}
.bphm-card__body{padding:22px}
.bphm-card h3{font-weight:300;font-size:22px;line-height:1.3;margin:0 0 8px;color:#514d58}
.bphm-meta{font-size:13px;color:#84808b;margin-bottom:8px}
.bphm-post-list{display:flex;flex-direction:column;gap:24px}
.bphm-post-mini{display:grid;grid-template-columns:140px 1fr;gap:22px;align-items:start}
.bphm-post-mini img{width:140px;height:112px;object-fit:cover}
.bphm-post-mini h3{font-weight:300;font-size:21px;margin:0 0 6px;color:#4e4a55}

.bphm-testimonials{background:#fbfaf8}
.bphm-testimonial{border-left:4px solid var(--bphm-gold);padding:18px 22px;background:#fff;margin:0 0 18px;box-shadow:0 1px 12px rgba(0,0,0,.035)}
.bphm-testimonial blockquote{margin:0;color:#5e5a65;font-size:17px;line-height:1.7}
.bphm-testimonial cite{display:block;margin-top:10px;color:#3d3944;font-size:14px;font-style:normal;font-weight:700}

.bphm-events{background:linear-gradient(180deg,#fff,#f9f7f5)}
.bphm-schedule{border:1px solid var(--bphm-line);padding:28px;background:#fff;margin-bottom:32px}
.bphm-schedule h3{font-weight:300;font-size:26px;margin:0 0 15px}
.bphm-schedule ul{margin:0 0 0 20px;padding:0}
.bphm-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}
.bphm-product{border:1px solid var(--bphm-line);background:#fff;position:relative;min-height:100%}
.bphm-product img{width:100%;height:215px;object-fit:cover;background:#f2f2f2}
.bphm-product__body{padding:20px;text-align:center}
.bphm-product h3{font-weight:300;font-size:21px;line-height:1.3;margin:0 0 10px;color:#4e4a55}
.bphm-price{color:var(--bphm-red);font-weight:700;margin-top:8px}
.bphm-category-list{columns:2;list-style:none;padding:0;margin:0;color:#6b6872}
.bphm-category-list li{margin:0 0 8px;padding-left:16px;position:relative}
.bphm-category-list li:before{content:"";position:absolute;left:0;top:.75em;width:5px;height:5px;background:var(--bphm-gold);border-radius:50%}

.bphm-content{max-width:900px;margin:0 auto;padding:60px 28px;background:#fff}
.bphm-content h1{font-weight:300;font-size:48px;line-height:1.14;margin:0 0 22px;color:#514d58}
.bphm-content h2{font-weight:300;font-size:32px;margin:34px 0 14px;color:#514d58}
.bphm-content h3{font-weight:300;font-size:24px;margin:28px 0 10px;color:#514d58}
.bphm-content p,.bphm-content li{color:#6a6670;font-size:17px}
.bphm-content blockquote{margin:24px 0;padding:22px 28px;border-left:4px solid var(--bphm-gold);background:#f9f7f5;color:#56525c}
.bphm-content table{width:100%;border-collapse:collapse;margin:22px 0}
.bphm-content th,.bphm-content td{border:1px solid var(--bphm-line);padding:12px;text-align:left}

.bphm-entry-header{padding:60px 0 36px;border-bottom:1px solid var(--bphm-line);background:#fbfaf8;text-align:center}
.bphm-entry-title{font-weight:300;font-size:clamp(36px,4vw,54px);line-height:1.15;margin:0;color:#514d58}
.bphm-entry-meta{color:#85818d;margin-top:12px;font-size:14px}
.bphm-featured{max-width:900px;margin:40px auto 0}
.bphm-featured img{width:100%;height:auto}

.bphm-footer{background:#17151d;color:#d8d4d8;padding:52px 0 28px}
.bphm-footer__grid{display:grid;grid-template-columns:1.1fr 110px 1fr;gap:36px;align-items:center}
.bphm-footer h3{font-weight:300;color:#fff;font-size:24px;margin:0 0 12px}
.bphm-footer p{margin:0 0 8px;color:#c8c4ca}
.bphm-footer img{width:105px;opacity:.88}
.bphm-footer__bottom{border-top:1px solid rgba(255,255,255,.08);margin-top:35px;padding-top:22px;text-align:center;font-size:13px;color:#aaa5ad}

.bphm-admin-note{padding:14px 18px;background:#fff9e6;border:1px solid #ead9a8;margin:18px 0;color:#5c4a14}

@media (max-width: 920px){
  .bphm-hero{min-height:auto;padding:40px 0}
  .bphm-hero__inner{grid-template-columns:1fr;text-align:center;gap:20px}
  .bphm-logo{width:160px}
  .bphm-nav__inner{justify-content:space-between;min-height:auto;padding:12px 0}
  .bphm-mobile-toggle{display:block}
  .bphm-menu{display:none;flex-direction:column;align-items:stretch;width:100%;border-top:1px solid var(--bphm-line);margin-top:12px}
  .bphm-nav.is-open .bphm-menu{display:flex}
  .bphm-menu a{padding:14px 8px;letter-spacing:.16em;text-align:left}
  .bphm-menu .sub-menu{position:static;display:block;box-shadow:none;border:0;padding-left:18px}
  .bphm-grid,.bphm-grid--thirds,.bphm-product-grid,.bphm-footer__grid{grid-template-columns:1fr;gap:28px}
  .bphm-post-mini{grid-template-columns:100px 1fr}
  .bphm-post-mini img{width:100px;height:84px}
}

@media (max-width: 540px){
  .bphm-wrap{padding:0 18px}
  .bphm-section{padding:42px 0}
  .bphm-content{padding:42px 18px}
  .bphm-content h1{font-size:36px}
  .bphm-category-list{columns:1}
}


/* V2 restored inner pages */
.bphm-news-list{display:flex;flex-direction:column;gap:22px;margin:24px 0}
.bphm-news-item{border-bottom:1px solid var(--bphm-line);padding-bottom:22px}
.bphm-news-item h3{margin:0 0 6px;font-size:26px;font-weight:300;color:#514d58}
.bphm-news-item .bphm-meta{margin-bottom:8px}
.bphm-woo-fallback{border:1px solid var(--bphm-line);background:#fbfaf8;padding:22px;margin:22px 0}
.bphm-woo-fallback label{display:block;margin:10px 0 4px;color:#514d58;font-weight:600}
.bphm-woo-fallback input{width:100%;max-width:440px;padding:11px 12px;border:1px solid var(--bphm-line);background:#fff}
.bphm-alert{padding:14px 18px;background:#fff9e6;border:1px solid #ead9a8;margin:18px 0;color:#5c4a14}

/* V6 Location restoration */
.bphm-location-panel{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:28px;align-items:stretch;margin:34px 0;padding:28px;background:#fbfaf8;border:1px solid var(--bphm-line);box-shadow:0 8px 28px rgba(0,0,0,.045)}
.bphm-location-panel h2{margin-top:0}
.bphm-location-panel__info{min-width:0}
.bphm-location-panel__map{min-height:360px;border:1px solid var(--bphm-line);background:#ece8e1;overflow:hidden}
.bphm-location-panel__map iframe{display:block;width:100%;height:100%;min-height:360px;border:0}
.bphm-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:20px 0}
.bphm-location-grid>div{background:#fff;border:1px solid var(--bphm-line);padding:18px}
.bphm-location-grid h3{font-size:18px;font-weight:600;margin:0 0 8px;color:#514d58}
.bphm-location-grid p{margin:0;color:#68636d;line-height:1.65}
.bphm-location-rating{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#514d58}
.bphm-location-rating strong{font-size:22px;color:#302c35}
.bphm-location-rating span{letter-spacing:.08em;color:var(--bphm-gold)}
.bphm-location-rating em{font-style:normal;color:#77717b}
.bphm-location-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.bphm-small{font-size:14px!important;color:#85818d!important;margin-top:4px!important}
.bphm-quick-location{background:#fff;border-top:1px solid var(--bphm-line);border-bottom:1px solid var(--bphm-line)}
.bphm-quick-location .bphm-location-panel{margin:0}
@media (max-width: 920px){
  .bphm-location-panel{grid-template-columns:1fr;padding:20px}
  .bphm-location-grid{grid-template-columns:1fr}
}


/* V7 social contact and YouTube restoration */
.bphm-social-panel{background:#fff;border:1px solid var(--bphm-line);box-shadow:0 3px 18px rgba(0,0,0,.05);padding:24px;margin:24px 0}
.bphm-social-panel h3{font-weight:300;font-size:26px;line-height:1.25;margin:0 0 10px;color:#514d58}
.bphm-social-panel p{color:#68636d;margin:0 0 16px}
.bphm-social-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:14px 0}
.bphm-social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--bphm-line);background:#fbfaf8;color:#3f3a47!important;padding:10px 14px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;min-height:42px}
.bphm-social-link:hover{border-color:var(--bphm-red);background:#fff;color:var(--bphm-red)!important}
.bphm-social-link--primary{background:var(--bphm-red);border-color:var(--bphm-red);color:#fff!important}
.bphm-social-link--primary:hover{background:#7e1c22;border-color:#7e1c22;color:#fff!important}
.bphm-video-wrap{position:relative;width:100%;padding-top:56.25%;background:#111;margin:24px 0;border:1px solid var(--bphm-line);box-shadow:0 8px 24px rgba(0,0,0,.08);overflow:hidden}
.bphm-video-wrap iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.bphm-share-box{border-top:1px solid var(--bphm-line);border-bottom:1px solid var(--bphm-line);padding:22px 0;margin:34px 0}
.bphm-share-box h3{font-size:22px;font-weight:300;margin:0 0 12px;color:#514d58}
.bphm-footer-social{margin-top:16px}
.bphm-footer .bphm-social-panel{background:transparent;border:0;box-shadow:none;padding:0;margin:10px 0 0}
.bphm-footer .bphm-social-panel h3{display:none}
.bphm-footer .bphm-social-panel p{color:#c8c4ca;font-size:14px;margin-bottom:10px}
.bphm-footer .bphm-social-link{background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.12);color:#f5f2f5!important}
.bphm-footer .bphm-social-link:hover{background:#fff;color:#17151d!important;border-color:#fff}
@media (max-width:540px){.bphm-social-link{width:100%;justify-content:center}.bphm-social-panel{padding:18px}}
