/*
Theme Name: ATLAS Clean Canvas
Theme URI: https://atlas.astrapro-ltd.com
Author: Astra Pro / ATLAS
Author URI: https://astrapro-ltd.com
Description: A clean, minimal WordPress theme designed as a neutral canvas for the ATLAS B2B Trade & Partner Network site and plugin pages.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: atlas-clean-canvas
*/

:root{
  --atlas-bg:#f7f3ea;
  --atlas-surface:#fffdfa;
  --atlas-ink:#181814;
  --atlas-muted:#6b675f;
  --atlas-line:#ded6c8;
  --atlas-accent:#8a2f22;
  --atlas-green:#263d31;
  --atlas-max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--atlas-bg);
  color:var(--atlas-ink);
  font-family:Georgia, 'Times New Roman', serif;
  font-size:18px;
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration-thickness:1px;text-underline-offset:3px}
a:hover{color:var(--atlas-accent)}
img{max-width:100%;height:auto}
button,input,textarea,select{font:inherit}

.atlas-site-header{
  border-bottom:1px solid var(--atlas-line);
  background:rgba(247,243,234,.94);
  backdrop-filter:blur(10px);
  position:sticky;
  top:0;
  z-index:20;
}
.atlas-header-inner{
  max-width:var(--atlas-max);
  margin:0 auto;
  padding:18px 24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.atlas-brand{
  text-decoration:none;
  display:flex;
  align-items:baseline;
  gap:12px;
  letter-spacing:.04em;
}
.atlas-brand strong{
  font-family:Arial, Helvetica, sans-serif;
  font-size:24px;
  letter-spacing:.12em;
}
.atlas-brand span{
  font-family:Arial, Helvetica, sans-serif;
  font-size:11px;
  letter-spacing:.14em;
  color:var(--atlas-muted);
  text-transform:uppercase;
}
.atlas-main-menu ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:22px;
  align-items:center;
}
.atlas-main-menu a{
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
  color:var(--atlas-muted);
}
.atlas-main-menu a:hover{color:var(--atlas-accent)}

.atlas-main{
  min-height:70vh;
}
.atlas-container{
  max-width:var(--atlas-max);
  margin:0 auto;
  padding:64px 24px;
}
.atlas-content{
  max-width:860px;
  margin:0 auto;
}
.atlas-content h1,.atlas-content h2,.atlas-content h3{
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.08;
  letter-spacing:-.03em;
  color:var(--atlas-ink);
}
.atlas-content h1{font-size:clamp(42px,7vw,82px);margin:0 0 28px}
.atlas-content h2{font-size:clamp(30px,4vw,50px);margin:46px 0 18px}
.atlas-content h3{font-size:24px;margin:34px 0 12px}
.atlas-content p{margin:0 0 22px;color:var(--atlas-ink)}
.atlas-content .entry-meta{font-family:Arial, Helvetica, sans-serif;color:var(--atlas-muted);font-size:13px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:20px}

.wp-block-button__link,.atlas-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--atlas-ink);
  color:var(--atlas-ink);
  background:transparent;
  padding:13px 18px;
  border-radius:0;
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  letter-spacing:.1em;
  text-transform:uppercase;
  text-decoration:none;
}
.wp-block-button__link:hover,.atlas-button:hover{
  background:var(--atlas-ink);
  color:var(--atlas-bg);
}

.atlas-site-footer{
  border-top:1px solid var(--atlas-line);
  background:var(--atlas-surface);
}
.atlas-footer-inner{
  max-width:var(--atlas-max);
  margin:0 auto;
  padding:32px 24px;
  display:flex;
  justify-content:space-between;
  gap:24px;
  color:var(--atlas-muted);
  font-family:Arial, Helvetica, sans-serif;
  font-size:12px;
  letter-spacing:.05em;
  text-transform:uppercase;
}
.atlas-footer-inner a{text-decoration:none;color:var(--atlas-muted)}
.atlas-footer-inner a:hover{color:var(--atlas-accent)}

/* Clean canvas support for ATLAS plugin output */
.atlas-plugin-page,
.atlas-standalone,
.atlas-wrap{
  width:100%;
}
body.page-template-template-blank-canvas .atlas-site-header,
body.page-template-template-blank-canvas .atlas-site-footer{
  display:none;
}
body.page-template-template-blank-canvas .atlas-container{
  max-width:none;
  padding:0;
}
body.page-template-template-blank-canvas .atlas-content{
  max-width:none;
}

@media(max-width:800px){
  body{font-size:17px}
  .atlas-header-inner{align-items:flex-start;flex-direction:column}
  .atlas-main-menu ul{flex-wrap:wrap;gap:12px 18px}
  .atlas-footer-inner{flex-direction:column}
}
