/*
Theme Name: AZ Test Theme Pro
Theme URI: https://example.com/
Author: OpenAI
Description: Yalnız testlərin ideal görünüşlə göstərilməsi üçün premium WordPress teması.
Version: 2.0.0
Text Domain: az-test-theme-pro
*/

:root{
  --bg:#06101d;
  --bg-2:#0a1730;
  --panel:#0d1830;
  --panel-2:#121f3e;
  --panel-3:#17284e;
  --text:#eef4ff;
  --muted:#94a7d4;
  --line:rgba(255,255,255,.08);
  --line-strong:rgba(125,155,255,.24);
  --accent:#7d9bff;
  --accent-2:#58e3bb;
  --danger:#ff728a;
  --success:#5ee7a8;
  --shadow:0 24px 80px rgba(0,0,0,.34);
  --radius-xl:32px;
  --radius-lg:24px;
  --radius-md:18px;
  --radius-sm:14px;
  --site-width:1240px;
  --content-width:980px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  color:var(--text);
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at 10% 0%, rgba(125,155,255,.20), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(88,227,187,.14), transparent 25%),
    linear-gradient(180deg, #07111f 0%, #081323 22%, #050b15 100%);
  min-height:100vh;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);padding:0!important;border:0!important;height:1px!important;width:1px!important;overflow:hidden}

.site-shell{min-height:100vh;display:flex;flex-direction:column}
.site-main{flex:1}
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(5,11,21,.76);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.05);
}
.site-header__in,.site-footer__in,.hero,.archive-wrap,.single-wrap,.empty-wrap,.taxonomy-wrap{
  width:min(calc(100% - 32px), var(--site-width));
  margin-inline:auto;
}
.site-header__in{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  padding:16px 0;
}
.brand{
  display:inline-flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.brand-badge{
  width:46px;
  height:46px;
  border-radius:16px;
  display:grid;
  place-items:center;
  font-weight:900;
  font-size:18px;
  color:#05101f;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 12px 38px rgba(88,227,187,.18);
}
.brand-text{min-width:0}
.brand-title{display:block;font-size:18px;font-weight:900;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-sub{display:block;margin-top:3px;color:var(--muted);font-size:13px}
.header-cta{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  color:#07101f;
  font-weight:800;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  box-shadow:0 10px 28px rgba(125,155,255,.20);
}

.hero{padding:42px 0 26px}
.hero-card,.single-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.07),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:34px;
  box-shadow:var(--shadow);
}
.hero-card::before,.single-hero::before,.aztbp-test-shell::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top right, rgba(125,155,255,.18), transparent 28%),
    radial-gradient(circle at left center, rgba(88,227,187,.12), transparent 22%);
  pointer-events:none;
}
.hero-card__inner,.single-hero__inner{position:relative;padding:36px 38px}
.hero-kicker,.single-kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:36px;
  padding:8px 14px;
  border-radius:999px;
  font-size:13px;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-weight:800;
  color:#d4e0ff;
  background:rgba(125,155,255,.10);
  border:1px solid rgba(125,155,255,.20);
}
.hero h1,.single-hero h1{
  margin:18px 0 14px;
  font-size:clamp(34px,5vw,68px);
  line-height:.95;
  letter-spacing:-.04em;
  max-width:12ch;
}
.hero p,.single-hero p{
  margin:0;
  max-width:62ch;
  font-size:18px;
  line-height:1.65;
  color:var(--muted);
}
.hero-metrics{display:flex;flex-wrap:wrap;gap:14px;margin-top:28px}
.hero-metric{
  min-width:140px;
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.07);
}
.hero-metric strong{display:block;font-size:24px;line-height:1;font-weight:900;margin-bottom:8px}
.hero-metric span{display:block;color:var(--muted);font-size:14px}

.archive-wrap,.taxonomy-wrap,.single-wrap,.empty-wrap{padding-bottom:48px}
.archive-toolbar{
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:center;
  margin:8px 0 20px;
}
.archive-toolbar h2{margin:0;font-size:20px;line-height:1.15}
.archive-toolbar p{margin:0;color:var(--muted)}
.archive-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.test-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  background:linear-gradient(180deg,var(--panel),var(--panel-2));
  border:1px solid var(--line);
  border-radius:28px;
  padding:24px;
  box-shadow:0 18px 48px rgba(0,0,0,.22);
}
.test-card::after{
  content:"";
  position:absolute;
  inset:auto -20% -50% auto;
  width:180px;
  height:180px;
  background:radial-gradient(circle, rgba(125,155,255,.12) 0%, transparent 70%);
  pointer-events:none;
}
.test-card__top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;margin-bottom:16px}
.test-card__kicker{color:var(--muted);font-size:13px;font-weight:700;line-height:1.5;text-transform:uppercase;letter-spacing:.05em}
.test-card__scope{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:72px;
  min-height:42px;
  padding:10px 12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.07);
  color:#d8e3ff;
  font-size:12px;
  font-weight:800;
  text-align:center;
}
.test-card h2{
  margin:0 0 14px;
  font-size:clamp(22px,2vw,28px);
  line-height:1.16;
  letter-spacing:-.03em;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.test-card h2 a{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.test-card__excerpt{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.7;
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.test-card__meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 14px;margin-top:auto;margin-bottom:18px}
.test-card__meta-item small{display:block;color:var(--muted);font-size:12px;margin-bottom:4px}
.test-card__meta-item strong{display:block;font-size:15px;line-height:1.35;word-break:break-word;overflow-wrap:anywhere}
.test-card__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  width:100%;
  min-height:54px;
  border-radius:18px;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#06101d;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 14px 34px rgba(125,155,255,.18);
}

.single-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:22px;
  align-items:start;
}
.single-main{min-width:0}
.single-aside{
  position:sticky;
  top:94px;
  display:grid;
  gap:16px;
}
.side-card{
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  border-radius:24px;
  padding:22px;
  box-shadow:0 12px 36px rgba(0,0,0,.18);
}
.side-card h3{margin:0 0 14px;font-size:18px;line-height:1.2}
.side-list{display:grid;gap:14px}
.side-item small{display:block;color:var(--muted);margin-bottom:6px}
.side-item strong{display:block;line-height:1.45;word-break:break-word;overflow-wrap:anywhere}
.side-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:48px;
  border-radius:16px;
  background:rgba(255,255,255,.045);
  border:1px solid rgba(255,255,255,.08);
  font-weight:800;
}

/* Plugin test rendering hard fix */
.single-main .aztbp-test-shell,
.archive-wrap .aztbp-test-shell,
.entry-content .aztbp-test-shell{
  position:relative;
  width:100%;
  max-width:100%;
  margin:0;
  padding:30px;
  border-radius:32px;
  background:linear-gradient(180deg,#0d1529 0%,#111b34 100%);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 60px rgba(0,0,0,.28);
  overflow:hidden;
}
.single-main .aztbp-head,
.archive-wrap .aztbp-head,
.entry-content .aztbp-head{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:start;
  gap:18px;
  margin-bottom:26px;
}
.single-main .aztbp-head > div:first-child,
.archive-wrap .aztbp-head > div:first-child,
.entry-content .aztbp-head > div:first-child{min-width:0}
.single-main .aztbp-kicker,
.single-main .aztbp-scope,
.archive-wrap .aztbp-kicker,
.archive-wrap .aztbp-scope,
.entry-content .aztbp-kicker,
.entry-content .aztbp-scope{
  color:#a8b8de;
  font-size:14px;
  line-height:1.55;
}
.single-main .aztbp-head h2,
.archive-wrap .aztbp-head h2,
.entry-content .aztbp-head h2{
  margin:10px 0 10px;
  font-size:clamp(28px,4vw,46px);
  line-height:1.08;
  letter-spacing:-.035em;
  max-width:22ch;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.single-main .aztbp-badge,
.archive-wrap .aztbp-badge,
.entry-content .aztbp-badge{
  display:grid;
  place-items:center;
  min-width:90px;
  min-height:90px;
  padding:12px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#05101f;
  font-size:18px;
  text-align:center;
  line-height:1.1;
  font-weight:900;
  box-shadow:0 14px 34px rgba(125,155,255,.22);
}
.single-main .aztbp-test-form,
.archive-wrap .aztbp-test-form,
.entry-content .aztbp-test-form{display:grid;gap:16px}
.single-main .aztbp-question-card,
.archive-wrap .aztbp-question-card,
.entry-content .aztbp-question-card{
  padding:22px;
  border-radius:24px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
  overflow:hidden;
}
.single-main .aztbp-question-card h3,
.archive-wrap .aztbp-question-card h3,
.entry-content .aztbp-question-card h3{
  display:block;
  margin:0 0 16px;
  font-size:clamp(20px,2.25vw,30px);
  line-height:1.34;
  letter-spacing:-.02em;
  word-break:break-word;
  overflow-wrap:anywhere;
  max-width:100%;
}
.single-main .aztbp-question-card h3 span,
.archive-wrap .aztbp-question-card h3 span,
.entry-content .aztbp-question-card h3 span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:36px;
  height:36px;
  margin-right:10px;
  border-radius:12px;
  background:rgba(88,227,187,.12);
  color:var(--accent-2);
  font-weight:900;
  font-size:16px;
  vertical-align:top;
}
.single-main .aztbp-options,
.archive-wrap .aztbp-options,
.entry-content .aztbp-options{display:grid;gap:12px}
.single-main .aztbp-option,
.archive-wrap .aztbp-option,
.entry-content .aztbp-option{
  align-items:flex-start;
  gap:14px;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.02);
  transition:transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.single-main .aztbp-option:hover,
.archive-wrap .aztbp-option:hover,
.entry-content .aztbp-option:hover{
  transform:translateY(-2px);
  border-color:rgba(125,155,255,.28);
  background:rgba(125,155,255,.05);
  box-shadow:0 10px 26px rgba(0,0,0,.16);
}
.single-main .aztbp-option input,
.archive-wrap .aztbp-option input,
.entry-content .aztbp-option input{margin-top:5px;accent-color:var(--accent)}
.single-main .aztbp-option span,
.archive-wrap .aztbp-option span,
.entry-content .aztbp-option span{
  display:block;
  min-width:0;
  font-size:17px;
  line-height:1.65;
  color:#e7efff;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.single-main .aztbp-feedback,
.archive-wrap .aztbp-feedback,
.entry-content .aztbp-feedback{
  margin-top:14px;
  padding:16px 18px;
  border-radius:18px;
  font-size:15px;
  line-height:1.65;
  word-break:break-word;
  overflow-wrap:anywhere;
}
.single-main .aztbp-feedback.ok,
.archive-wrap .aztbp-feedback.ok,
.entry-content .aztbp-feedback.ok{
  background:rgba(94,231,168,.11);
  border:1px solid rgba(94,231,168,.34);
}
.single-main .aztbp-feedback.bad,
.archive-wrap .aztbp-feedback.bad,
.entry-content .aztbp-feedback.bad{
  background:rgba(255,114,138,.11);
  border:1px solid rgba(255,114,138,.34);
}
.single-main .aztbp-actions,
.archive-wrap .aztbp-actions,
.entry-content .aztbp-actions{
  padding-top:6px;
}
.single-main .aztbp-btn,
.archive-wrap .aztbp-btn,
.entry-content .aztbp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:58px;
  padding:16px 24px;
  border-radius:18px;
  border:0;
  cursor:pointer;
  background:linear-gradient(135deg,var(--accent),var(--accent-2));
  color:#06101d;
  font-weight:900;
  font-size:17px;
  box-shadow:0 14px 34px rgba(125,155,255,.22);
}
.single-main .aztbp-result,
.archive-wrap .aztbp-result,
.entry-content .aztbp-result{
  margin-top:20px;
  padding:26px;
  border-radius:24px;
  text-align:center;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.single-main .aztbp-score,
.archive-wrap .aztbp-score,
.entry-content .aztbp-score{
  font-size:clamp(42px,6vw,64px);
  line-height:1;
  font-weight:900;
  letter-spacing:-.04em;
  margin-bottom:12px;
}

.empty-card{
  max-width:760px;
  margin:28px auto 0;
  padding:32px;
  border-radius:30px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:var(--shadow);
  text-align:center;
}
.empty-card h1{margin:0 0 12px;font-size:clamp(28px,5vw,50px);line-height:.98;letter-spacing:-.03em}
.empty-card p{margin:0;color:var(--muted);line-height:1.7}

.site-footer{margin-top:12px;border-top:1px solid rgba(255,255,255,.06)}
.site-footer__in{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:24px 0 42px;
  color:var(--muted);
}
.site-footer__in p{margin:0;line-height:1.7}

@media (max-width:1180px){
  .archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .single-grid{grid-template-columns:minmax(0,1fr)}
  .single-aside{position:static;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:780px){
  .site-header__in{padding:14px 0}
  .header-cta{display:none}
  .hero,.archive-wrap,.single-wrap,.empty-wrap,.taxonomy-wrap{width:min(calc(100% - 20px), var(--site-width))}
  .hero-card__inner,.single-hero__inner{padding:24px}
  .hero h1,.single-hero h1{max-width:100%}
  .hero p,.single-hero p{font-size:16px}
  .hero-metrics{gap:10px}
  .hero-metric{min-width:calc(50% - 5px)}
  .archive-grid{grid-template-columns:1fr}
  .single-main .aztbp-test-shell,.archive-wrap .aztbp-test-shell,.entry-content .aztbp-test-shell{padding:20px;border-radius:24px}
  .single-main .aztbp-head,.archive-wrap .aztbp-head,.entry-content .aztbp-head{grid-template-columns:1fr}
  .single-main .aztbp-badge,.archive-wrap .aztbp-badge,.entry-content .aztbp-badge{min-width:76px;min-height:76px;font-size:15px}
  .single-main .aztbp-question-card,.archive-wrap .aztbp-question-card,.entry-content .aztbp-question-card{padding:18px}
  .single-main .aztbp-question-card h3,.archive-wrap .aztbp-question-card h3,.entry-content .aztbp-question-card h3{font-size:22px;line-height:1.42}
  .single-main .aztbp-option span,.archive-wrap .aztbp-option span,.entry-content .aztbp-option span{font-size:16px;line-height:1.58}
  .single-aside{grid-template-columns:1fr}
  .site-footer__in{flex-direction:column;align-items:flex-start}
}
@media (max-width:520px){
  .brand-title{max-width:160px}
  .hero-card,.single-hero{border-radius:24px}
  .hero-card__inner,.single-hero__inner{padding:20px}
  .hero h1,.single-hero h1{font-size:clamp(28px,10vw,42px)}
  .hero-metric{min-width:100%}
  .test-card{padding:18px;border-radius:22px}
  .single-main .aztbp-question-card h3 span,.archive-wrap .aztbp-question-card h3 span,.entry-content .aztbp-question-card h3 span{display:inline-grid;place-items:center;width:30px;height:30px;margin-right:8px;font-size:14px}
}
