/*
Theme Name: Audiartist
Theme URI: https://www.audiartist.com/
Author: Audiartist
Description: Lightweight custom WordPress theme for Audiartist.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: audiartist
*/

:root{
  --aa-bg:#ffffff;
  --aa-text:#15171a;
  --aa-muted:#6b7280;
  --aa-border:#e5e7eb;
  --aa-card:#f8fafc;
  --aa-dark:#111827;
  --aa-accent:#2271b1;
  --aa-max:1240px;
  --aa-sidebar:340px;
  --aa-radius:16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--aa-bg);
  color:var(--aa-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.65;
}
a{color:inherit}
img{max-width:100%;height:auto;display:block}

.aa-container{
  width:min(calc(100% - 32px),var(--aa-max));
  margin:0 auto;
}

.aa-site-header{
  border-bottom:1px solid var(--aa-border);
  background:#fff;
  position:relative;
  z-index:10;
}
.aa-header-inner{
  min-height:76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.aa-brand{
  font-size:24px;
  font-weight:800;
  text-decoration:none;
}
.aa-nav ul{
  display:flex;
  gap:22px;
  align-items:center;
  margin:0;
  padding:0;
  list-style:none;
}
.aa-nav a{
  text-decoration:none;
  font-weight:600;
  font-size:14px;
}

.aa-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) var(--aa-sidebar);
  gap:42px;
  align-items:start;
  padding:38px 0 60px;
}

.aa-content{min-width:0}
.aa-article{
  max-width:820px;
}
.aa-article-title{
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
  letter-spacing:-.03em;
  margin:0 0 16px;
}
.aa-article-meta{
  color:var(--aa-muted);
  font-size:14px;
  margin-bottom:24px;
}
.aa-featured{
  border-radius:18px;
  overflow:hidden;
  margin:0 0 28px;
}
.aa-featured img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.aa-entry{
  font-size:18px;
}
.aa-entry h2,.aa-entry h3,.aa-entry h4{
  line-height:1.2;
  margin-top:1.6em;
}
.aa-entry p{margin:0 0 1.25em}
.aa-entry iframe{
  max-width:100%;
}

.aa-sidebar{
  position:sticky;
  top:24px;
  display:flex;
  flex-direction:column;
  gap:18px;
}
.aa-widget{
  border:1px solid var(--aa-border);
  border-radius:var(--aa-radius);
  padding:18px;
  background:#fff;
}
.aa-widget h3{
  margin:0 0 12px;
  font-size:17px;
}
.aa-widget p:last-child{margin-bottom:0}
.aa-widget-dark{
  background:var(--aa-dark);
  color:#fff;
  border-color:var(--aa-dark);
}
.aa-widget-dark .aa-muted{color:#cbd5e1}
.aa-muted{color:var(--aa-muted)}

.aa-social-list{
  display:flex;
  flex-direction:column;
  gap:9px;
}
.aa-social-row{
  display:grid;
  grid-template-columns:40px 1fr auto;
  gap:10px;
  align-items:center;
  text-decoration:none;
  background:#1f2937;
  color:#fff;
  border-radius:12px;
  padding:9px 10px;
}
.aa-social-icon{
  width:40px;
  height:40px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#0b1220;
}
.aa-social-icon svg{width:20px;height:20px;fill:currentColor}
.aa-social-name{font-weight:700;font-size:14px;display:block}
.aa-social-handle{font-size:11px;color:#aeb7c5;display:block}
.aa-social-count{font-weight:800;font-size:13px;white-space:nowrap}

.aa-ad-slot{
  min-height:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px dashed #c7cbd1;
  border-radius:12px;
  color:#8a9099;
  text-align:center;
  padding:14px;
}
.aa-list{
  list-style:none;
  margin:0;
  padding:0;
}
.aa-list li{
  padding:10px 0;
  border-bottom:1px solid var(--aa-border);
}
.aa-list li:last-child{border-bottom:0}
.aa-list a{text-decoration:none;font-weight:600;font-size:14px}

.aa-newsletter input[type=email]{
  width:100%;
  border:1px solid var(--aa-border);
  border-radius:10px;
  padding:11px 12px;
  margin:8px 0;
}
.aa-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:0;
  background:var(--aa-dark);
  color:#fff;
  border-radius:10px;
  padding:10px 14px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
}

.aa-site-footer{
  border-top:1px solid var(--aa-border);
  padding:30px 0;
  color:var(--aa-muted);
  font-size:14px;
}

.aa-archive-title{
  font-size:42px;
  margin:0 0 26px;
}
.aa-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}
.aa-card{
  border:1px solid var(--aa-border);
  border-radius:16px;
  overflow:hidden;
  background:#fff;
}
.aa-card img{
  width:100%;
  aspect-ratio:16/9;
  object-fit:cover;
}
.aa-card-body{padding:16px}
.aa-card-title{margin:0;font-size:20px;line-height:1.2}
.aa-card-title a{text-decoration:none}

@media(max-width:980px){
  .aa-layout{grid-template-columns:1fr}
  .aa-article{max-width:none}
  .aa-sidebar{position:static}
  .aa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:700px){
  .aa-header-inner{min-height:64px}
  .aa-nav{display:none}
  .aa-layout{padding-top:24px;gap:28px}
  .aa-entry{font-size:17px}
  .aa-grid{grid-template-columns:1fr}
}
