/*
Theme Name: AM
Theme URI: https://audiencemavens.com/
Author: AudienceMavens
Author URI: https://audiencemavens.com/
Description: Custom WordPress theme for AudienceMavens page templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: am
*/

:root{
  --am-ink:#0b233f;
  --am-paper:#fafaf8;
  --am-paper-soft:#eef2f6;
  --am-gold:#efbf04;
  --am-gold-deep:#b88f03;
  --am-sapphire:#07326a;
  --am-sapphire-deep:#072548;
  --am-muted:#5b6b7c;
  --am-line:rgba(7,50,106,0.14);
  --am-max:1100px;
}
*{box-sizing:border-box;}
body.am-default-template{
  margin:0;
  background:var(--am-paper);
  color:var(--am-ink);
  font-family:'Inter', Arial, sans-serif;
  font-size:17px;
  line-height:1.68;
  -webkit-font-smoothing:antialiased;
}
.am-wrap{max-width:var(--am-max); margin:0 auto; padding:0 28px;}
.am-site-header{background:var(--am-sapphire-deep); padding:14px 0;}
.am-navrow{display:flex; align-items:center; justify-content:space-between; gap:18px; flex-wrap:wrap;}
.am-logo img{height:44px; width:auto; display:block;}
.am-menu{display:flex; align-items:center; gap:26px; flex-wrap:wrap;}
.am-menu a{color:#dbe4ee; text-decoration:none; font-weight:700; font-size:1rem;}
.am-menu a:hover{color:var(--am-gold);}
.am-menu .am-nav-cta{
  position:relative;
  background:linear-gradient(180deg,#fbe27a 0%,var(--am-gold) 45%,#c99a02 100%);
  color:#1a1300;
  padding:10px 24px;
  font-weight:800;
  font-size:.86rem;
  box-shadow:0 2px 6px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5);
  clip-path:polygon(7px 0,calc(100% - 7px) 0,100% 7px,100% calc(100% - 7px),calc(100% - 7px) 100%,7px 100%,0 calc(100% - 7px),0 7px);
}
.am-page-main{min-height:50vh; padding:56px 0;}
.am-page-main h1,.am-page-main h2,.am-page-main h3{font-family:'Fraunces', Georgia, serif; color:var(--am-ink);}
.am-page-main h1{font-size:clamp(2rem,4vw,2.75rem); line-height:1.12; margin:0 0 24px;}
.am-page-content{max-width:780px;}
.am-site-footer{padding:42px 0 52px; border-top:1px solid var(--am-line); background:#fff;}
.am-footer-optin{max-width:760px; margin:0 auto 34px; padding:24px; background:var(--am-paper-soft); border:1px solid var(--am-line); border-left:4px solid var(--am-gold); border-radius:6px;}
.am-footer-optin h2{font-family:'Fraunces', Georgia, serif; font-size:1.45rem; margin:0 0 8px; color:var(--am-ink);}
.am-footer-optin p{margin:0 0 18px; color:#2c3a4a;}
.am-footer-social{display:flex; gap:16px; margin-bottom:22px;}
.am-footer-social a{color:var(--am-muted); display:inline-flex; align-items:center; justify-content:center; width:34px; height:34px; border:1px solid var(--am-line); border-radius:50%; transition:color .15s ease,border-color .15s ease;}
.am-footer-social a:hover{color:var(--am-sapphire); border-color:var(--am-sapphire);}
.am-footer-top{display:flex; justify-content:space-between; flex-wrap:wrap; gap:14px; font-family:'IBM Plex Mono', monospace; font-size:12px; color:var(--am-muted);}
.am-footer-legal{display:flex; gap:16px; flex-wrap:wrap;}
.am-footer-legal a{color:var(--am-muted); text-decoration:none;}
.am-footer-legal a:hover{color:var(--am-sapphire);}
.am-aweber-form{display:grid; gap:12px; margin:0;}
.am-aweber-form .am-aweber-fields{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px;}
.am-aweber-form .af-element{margin:0;}
.am-aweber-form label{display:block; font-family:'IBM Plex Mono', monospace; font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--am-muted); margin-bottom:6px;}
.am-aweber-form input.text,
.am-aweber-form input[type="text"],
.am-aweber-form input[type="email"]{width:100%; padding:13px 15px; border:1px solid var(--am-line); border-radius:5px; font-family:'Inter', Arial, sans-serif; font-size:.96rem; background:#fff; color:var(--am-ink);}
.am-aweber-form input:focus{outline:2px solid var(--am-sapphire); outline-offset:1px;}
.am-aweber-form .buttonContainer{align-self:end;}
.am-aweber-form input.submit{width:100%; display:inline-flex; justify-content:center; background:var(--am-sapphire-deep); color:#fff; border:none; border-radius:5px; padding:14px 18px; font-family:'Inter', Arial, sans-serif; font-weight:700; font-size:.96rem; cursor:pointer; transition:background .15s ease, transform .15s ease;}
.am-aweber-form input.submit:hover{background:var(--am-sapphire); transform:translateY(-1px);}
.optin-form.am-aweber-form{display:grid; grid-template-columns:1fr; gap:12px;}
.optin-form.am-aweber-form .am-aweber-fields{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; width:100%;}
.optin-form.am-aweber-form .buttonContainer{width:100%;}
.optin-form.am-aweber-form input.submit{background:var(--gold,#efbf04); color:var(--sapphire-deep,#072548);}
.optin-form.am-aweber-form input.submit:hover{box-shadow:0 8px 18px rgba(239,191,4,.35);}
@media (max-width:820px){.am-menu{display:none;}}
@media (max-width:620px){.am-aweber-form .am-aweber-fields,.optin-form.am-aweber-form .am-aweber-fields{grid-template-columns:1fr;}}


/* Shared footer from Home/homepage.html. */
.am-home-footer{
  padding:34px 0 50px;
  font-family:'IBM Plex Mono', monospace;
  font-size:12px;
  color:var(--muted, var(--am-muted));
  background:var(--paper, var(--am-paper));
  border-top:1px solid var(--line, var(--am-line));
}
.am-home-footer .am-home-footer-wrap,
.am-home-footer .wrap{
  max-width:var(--max, var(--am-max));
  margin:0 auto;
  padding:0 28px;
}
.am-home-footer .footer-social{
  display:flex;
  gap:16px;
  margin-bottom:22px;
}
.am-home-footer .footer-social a{
  color:var(--muted, var(--am-muted));
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border:1px solid var(--line, var(--am-line));
  border-radius:50%;
  text-decoration:none;
  transition:color .15s ease,border-color .15s ease;
}
.am-home-footer .footer-social a:hover{
  color:var(--sapphire, var(--am-sapphire));
  border-color:var(--sapphire, var(--am-sapphire));
}
.am-home-footer .footer-top{
  display:flex;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
}
.am-home-footer .footer-legal{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}
.am-home-footer .footer-legal a{
  color:var(--muted, var(--am-muted));
  text-decoration:none;
}
.am-home-footer .footer-legal a:hover{
  color:var(--sapphire, var(--am-sapphire));
}
