/*
Theme Name: Azisly Blog
Theme URI: https://azisly.ai
Author: Azisly
Author URI: https://azisly.ai
Description: Custom WordPress theme for blog.azisly.ai, matching the azisly.ai design system (colors, typography, header/footer). SEO-first article layout with breadcrumbs, reading time, auto table of contents, product CTA boxes and related articles.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
Text Domain: azisly-blog
*/

/* =========================================================
   1. Design tokens — ported from DailyBetterV3 (index.css /
      tailwind.config.ts). All brand values live here.
   ========================================================= */
:root {
  /* Brand color system */
  --az-blue: #0066f6;               /* primary — hsl(215 100% 48%), header buttons use #0066F6 */
  --az-blue-hover: rgba(0, 102, 246, 0.9);
  --az-blue-soft: rgba(0, 102, 246, 0.08);
  --az-ink: #020817;                /* foreground — hsl(222.2 84% 4.9%) */
  --az-ink-80: rgba(2, 8, 23, 0.8);
  --az-body: #334155;               /* long-form reading color (slate-700) */
  --az-deep-sea: #0052c4;           /* darker shade of the single brand blue */
  --az-grad-start: #0052c4;         /* brand blue, dark end */
  --az-grad-mid: #0066f6;           /* brand blue (header button) */
  --az-grad-end: #3385f8;           /* brand blue, light end */
  --az-muted: #f1f5f9;              /* hsl(210 40% 96.1%) */
  --az-muted-fg: #64748b;           /* hsl(215.4 16.3% 46.9%) */
  --az-border: #e1e1e1;             /* hsl(0 0% 88.2%) */
  --az-bg: #ffffff;

  /* Radii — base 0.5rem like the app (--radius) */
  --az-radius-sm: 6px;              /* buttons / inputs (radius - 2px) */
  --az-radius: 8px;
  --az-radius-lg: 12px;             /* cards */
  --az-radius-xl: 16px;             /* hero images / CTA */

  /* Shadows */
  --az-shadow-header: 0 4px 4px rgba(0, 0, 0, 0.25);
  --az-shadow-elegant: 0 10px 30px -10px rgba(0, 102, 246, 0.3);
  --az-shadow-card: 0 1px 2px rgba(2, 8, 23, 0.05);
  --az-shadow-lift: 0 20px 25px -5px rgba(2, 8, 23, 0.10), 0 8px 10px -6px rgba(2, 8, 23, 0.10);

  --az-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --az-font-display: "Sora", "Inter", sans-serif;

  --az-container: 1280px;
  --az-prose: 760px;
  --az-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   2. Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--az-bg);
  color: var(--az-ink);
  font-family: var(--az-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }
a { color: var(--az-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
  color: var(--az-ink);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

.az-container {
  max-width: var(--az-container);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--az-blue);
  color: #fff;
  padding: 0.5rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--az-radius-sm) 0;
}
.skip-link:focus { left: 0; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden;
  padding: 0; position: absolute; word-wrap: normal !important;
}

/* =========================================================
   3. Buttons & chips
   ========================================================= */
.az-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--az-radius-sm);
  font-family: var(--az-font);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.25;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s var(--az-ease);
  white-space: nowrap;
}
.az-btn:hover { text-decoration: none; }

.az-btn--primary { background: var(--az-blue); color: #fff; }
.az-btn--primary:hover { background: var(--az-blue-hover); color: #fff; }

.az-btn--outline {
  background: #fff;
  color: var(--az-ink);
  border-color: var(--az-border);
}
.az-btn--outline:hover { border-color: var(--az-blue); color: var(--az-blue); }

.az-btn--ghost { background: transparent; color: var(--az-ink-80); }
.az-btn--ghost:hover { color: var(--az-ink); background: var(--az-muted); }

.az-btn--hero {
  padding: 0.8rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: var(--az-shadow-elegant);
}

.az-btn--inverse { background: #fff; color: var(--az-deep-sea); font-weight: 600; }
.az-btn--inverse:hover { transform: translateY(-2px); box-shadow: var(--az-shadow-lift); color: var(--az-grad-start); }

/* Category chips */
.az-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.az-chip {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--az-border);
  border-radius: 999px;
  background: #fff;
  color: var(--az-ink-80);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s var(--az-ease);
}
.az-chip:hover { border-color: var(--az-blue); color: var(--az-blue); text-decoration: none; }
.az-chip--active, .az-chip--active:hover { background: var(--az-blue); border-color: var(--az-blue); color: #fff; }

/* Small category badge above titles */
.az-badge {
  display: inline-block;
  color: var(--az-blue);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.az-badge:hover { text-decoration: underline; }

/* =========================================================
   4. Header — sticky, blurred, brand shadow (HeaderExternal)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: var(--az-shadow-header);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.site-header__brand { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.site-header__brand img { width: 125px; height: 45px; display: block; }
.site-header__brand .custom-logo { width: auto; max-width: 160px; max-height: 45px; height: auto; }
.site-header__blog-tag {
  color: var(--az-muted-fg);
  font-size: 1.05rem;
  font-weight: 600;
  border-left: 1px solid var(--az-border);
  padding-left: 0.75rem;
  line-height: 1;
}
.site-header__blog-tag:hover { text-decoration: none; color: var(--az-blue); }

.site-nav { display: flex; align-items: center; }
.site-nav ul { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a {
  color: var(--az-ink-80);
  font-size: 0.95rem;
  transition: color 0.2s var(--az-ease);
}
.site-nav a:hover { color: var(--az-ink); text-decoration: none; }
.site-nav .current-menu-item > a,
.site-nav .current-cat > a,
.site-nav .current_page_item > a { color: var(--az-blue); font-weight: 500; }

.site-header__actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Mobile nav (CSS-only toggle) */
.site-nav-toggle-input { display: none; }
.site-nav-toggle {
  display: none;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-sm);
  background: #fff;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  line-height: 0;
}
.site-nav-toggle svg { width: 20px; height: 20px; stroke: var(--az-ink); }

@media (max-width: 900px) {
  .site-header__blog-tag { display: none; }
  .site-nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--az-border);
    box-shadow: var(--az-shadow-lift);
    padding: 1rem 1.5rem 1.25rem;
  }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0.4rem; width: 100%; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 0.5rem 0; font-size: 1rem; }
  .site-nav-toggle-input:checked ~ .site-nav { display: block; }
  .site-header__actions .az-btn--ghost { display: none; }
}

/* =========================================================
   5. Hero — mesh gradient band (mesh-gradient-bg)
   ========================================================= */
.az-hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--az-muted);
}
.az-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 0;
  background-image:
    radial-gradient(at 15% 10%, rgba(0, 102, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 0%, rgba(0, 85, 128, 0.10) 0px, transparent 50%),
    radial-gradient(at 85% 10%, rgba(0, 102, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 60%, rgba(0, 102, 246, 0.05) 0px, transparent 50%);
  filter: blur(100px);
  pointer-events: none;
}
.az-hero__inner { position: relative; z-index: 1; max-width: 820px; }
.az-hero__kicker {
  color: var(--az-blue);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.az-hero__title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.az-hero__title em { font-style: normal; color: var(--az-blue); }
.az-hero__subtitle {
  color: var(--az-muted-fg);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 1.75rem;
  max-width: 640px;
}
.az-hero__chips { margin-top: 1.75rem; }

/* =========================================================
   6. Post cards & grids
   ========================================================= */
.az-section { padding: 2.5rem 0 3.5rem; }
.az-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.az-section__title { font-size: 1.35rem; margin: 0; }
.az-section__link { font-size: 0.9rem; font-weight: 500; }

.az-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 1000px) { .az-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .az-grid { grid-template-columns: 1fr; } }

.post-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-lg);
  overflow: hidden;
  box-shadow: var(--az-shadow-card);
  transition: all 0.3s var(--az-ease);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--az-shadow-lift); }
.post-card__media { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--az-muted); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__media--placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--az-grad-start), var(--az-grad-mid), var(--az-grad-end));
}
.post-card__media--placeholder svg { width: 44px; height: 44px; opacity: 0.9; }
.post-card__body { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.1rem 1.25rem 1.25rem; flex: 1; }
.post-card__title { font-size: 1.05rem; line-height: 1.35; margin: 0; }
.post-card__title a { color: var(--az-ink); }
.post-card__title a:hover { color: var(--az-blue); text-decoration: none; }
.post-card__excerpt { color: var(--az-muted-fg); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.post-card__meta { margin-top: auto; padding-top: 0.75rem; }

.az-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  color: var(--az-muted-fg);
  font-size: 0.82rem;
}
.az-meta__sep { opacity: 0.6; }

/* Featured (first) post — wide horizontal card */
.post-card--featured { flex-direction: row; margin-bottom: 1.5rem; }
.post-card--featured .post-card__media { flex: 0 0 52%; aspect-ratio: auto; min-height: 300px; }
.post-card--featured .post-card__body { padding: 1.75rem 2rem; justify-content: center; gap: 0.7rem; }
.post-card--featured .post-card__title { font-size: 1.6rem; }
.post-card--featured .post-card__excerpt { font-size: 0.98rem; }
@media (max-width: 860px) {
  .post-card--featured { flex-direction: column; }
  .post-card--featured .post-card__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
}

/* =========================================================
   7. Archive / category headers
   ========================================================= */
.az-archive-head { padding: 3rem 0 0.5rem; }
.az-archive-head__title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; margin-bottom: 0.5rem; }
.az-archive-head__desc { color: var(--az-muted-fg); font-size: 1.05rem; line-height: 1.7; max-width: 720px; margin: 0 0 1.25rem; }
.az-archive-head .az-chips { margin-bottom: 0.5rem; }

/* =========================================================
   8. Breadcrumbs
   ========================================================= */
.az-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  color: var(--az-muted-fg);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}
.az-breadcrumbs a { color: var(--az-muted-fg); }
.az-breadcrumbs a:hover { color: var(--az-blue); text-decoration: none; }
.az-breadcrumbs .sep { opacity: 0.55; }
.az-breadcrumbs .current { color: var(--az-ink); font-weight: 500; }

/* =========================================================
   9. Single article
   ========================================================= */
.az-article { padding: 2.75rem 0 1rem; }
.az-article__wrap { max-width: var(--az-prose); margin: 0 auto; }
.az-article__title { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; margin: 0.4rem 0 1rem; }

.az-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  border-top: 1px solid var(--az-muted);
  border-bottom: 1px solid var(--az-muted);
  margin-bottom: 1.75rem;
}
.az-article__meta .avatar { border-radius: 999px; width: 40px; height: 40px; }
.az-article__author { display: flex; flex-direction: column; line-height: 1.3; }
.az-article__author-name { color: var(--az-ink); font-size: 0.9rem; font-weight: 600; }
.az-article__author-name a { color: inherit; }
.az-article__dateline { color: var(--az-muted-fg); font-size: 0.82rem; }
.az-article__meta-right { margin-left: auto; display: flex; align-items: center; gap: 0.75rem; }

.az-article__hero-img { margin: 0 0 2rem; }
.az-article__hero-img img { width: 100%; border-radius: var(--az-radius-xl); display: block; }
.az-article__hero-img figcaption { color: var(--az-muted-fg); font-size: 0.82rem; text-align: center; margin-top: 0.5rem; }

/* Long-form typography */
.entry-content { color: var(--az-body); font-size: 1.0625rem; line-height: 1.75; }
.entry-content > * { margin-top: 0; margin-bottom: 1.25em; }
.entry-content h2 { font-size: 1.6rem; margin: 2em 0 0.75em; }
.entry-content h3 { font-size: 1.28rem; margin: 1.75em 0 0.6em; }
.entry-content h4 { font-size: 1.1rem; margin: 1.5em 0 0.5em; }
.entry-content a { text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--az-blue-hover); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content li::marker { color: var(--az-blue); }
.entry-content strong { color: var(--az-ink); }
.entry-content img { border-radius: var(--az-radius-lg); }
.entry-content figure { margin: 1.75em 0; }
.entry-content figcaption { color: var(--az-muted-fg); font-size: 0.82rem; text-align: center; margin-top: 0.5rem; }

.entry-content blockquote {
  margin: 1.75em 0;
  padding: 1rem 1.5rem;
  background: var(--az-muted);
  border-left: 4px solid var(--az-blue);
  border-radius: 0 var(--az-radius) var(--az-radius) 0;
  color: var(--az-ink);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }

.entry-content code {
  background: var(--az-muted);
  color: var(--az-deep-sea);
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-size: 0.9em;
}
.entry-content pre {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--az-radius-lg);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  font-size: 0.9rem;
  line-height: 1.6;
}
.entry-content pre code { background: transparent; color: inherit; padding: 0; }

.entry-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry-content th, .entry-content td { border: 1px solid var(--az-border); padding: 0.6rem 0.85rem; text-align: left; }
.entry-content th { background: var(--az-muted); color: var(--az-ink); font-weight: 600; }

.entry-content hr { border: 0; border-top: 1px solid var(--az-border); margin: 2.5em 0; }

/* WP core alignment/caption classes */
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { color: var(--az-muted-fg); font-size: 0.82rem; text-align: center; }
.entry-content .alignwide { margin-left: -80px; margin-right: -80px; max-width: calc(100% + 160px); }
.entry-content .alignfull { margin-left: 0; margin-right: 0; }
@media (max-width: 1000px) {
  .entry-content .alignwide { margin-left: 0; margin-right: 0; max-width: 100%; }
}

/* =========================================================
   10. Table of contents (auto-generated)
   ========================================================= */
.az-toc {
  background: var(--az-muted);
  border-radius: var(--az-radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 0 0 2rem;
  font-size: 0.92rem;
}
.az-toc__title {
  color: var(--az-ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.az-toc ol { margin: 0; padding-left: 1.2rem; }
.az-toc li { margin: 0.3rem 0; }
.az-toc a { color: var(--az-body); }
.az-toc a:hover { color: var(--az-blue); text-decoration: none; }
.az-toc .az-toc__sub { list-style: none; padding-left: 1rem; }
.az-toc .az-toc__sub a { color: var(--az-muted-fg); font-size: 0.88rem; }

/* =========================================================
   11. CTA box — brand gradient (gradient-start/mid/end)
   ========================================================= */
.az-cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--az-grad-start), var(--az-grad-mid), var(--az-grad-end));
  border-radius: var(--az-radius-xl);
  padding: 2rem 2.25rem;
  margin: 2.5rem 0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.az-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(at 85% 15%, rgba(255, 255, 255, 0.14) 0px, transparent 45%),
    radial-gradient(at 10% 90%, rgba(0, 102, 246, 0.25) 0px, transparent 50%);
  pointer-events: none;
}
.az-cta__text { position: relative; max-width: 60ch; }
.az-cta__title { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0 0 0.35rem; }
.az-cta__sub { color: rgba(255, 255, 255, 0.85); font-size: 0.95rem; margin: 0; line-height: 1.6; }
.az-cta .az-btn { position: relative; }
@media (max-width: 640px) { .az-cta { padding: 1.5rem 1.5rem; } }

/* =========================================================
   12. Tags, author box, related posts
   ========================================================= */
.az-article__tags { margin: 2rem 0 0; }

.az-author-box {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--az-muted);
  border-radius: var(--az-radius-lg);
  padding: 1.5rem;
  margin: 2.5rem 0 0;
}
.az-author-box .avatar { border-radius: 999px; flex-shrink: 0; }
.az-author-box__label { color: var(--az-muted-fg); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.az-author-box__name { font-size: 1.05rem; margin: 0.15rem 0 0.35rem; }
.az-author-box__bio { color: var(--az-body); font-size: 0.92rem; line-height: 1.6; margin: 0; }

.az-related { padding: 3rem 0 3.5rem; border-top: 1px solid var(--az-muted); margin-top: 3rem; }

/* =========================================================
   13. Pagination
   ========================================================= */
.az-pagination { margin: 2.5rem 0 0; }
.az-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.az-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-sm);
  color: var(--az-ink-80);
  font-size: 0.9rem;
  background: #fff;
  transition: all 0.2s var(--az-ease);
}
.az-pagination .page-numbers:hover { border-color: var(--az-blue); color: var(--az-blue); text-decoration: none; }
.az-pagination .page-numbers.current { background: var(--az-blue); border-color: var(--az-blue); color: #fff; }
.az-pagination .page-numbers.dots { border: 0; background: transparent; }

/* =========================================================
   14. Search form
   ========================================================= */
.az-search-form { display: flex; gap: 0.5rem; max-width: 480px; }
.az-search-form input[type="search"] {
  flex: 1;
  border: 1px solid var(--az-border);
  border-radius: var(--az-radius-sm);
  background: #fff;
  padding: 0.6rem 0.9rem;
  font-family: var(--az-font);
  font-size: 0.95rem;
  color: var(--az-ink);
  transition: all 0.2s var(--az-ease);
}
.az-search-form input[type="search"]::placeholder { color: var(--az-muted-fg); }
.az-search-form input[type="search"]:focus {
  outline: none;
  border-color: var(--az-blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 246, 0.18);
}

/* =========================================================
   15. Footer — bg-muted, 4 columns, brand © line (FooterExternal)
   ========================================================= */
.site-footer { background: var(--az-muted); margin-top: 4rem; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding: 3rem 0;
}
@media (max-width: 1000px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 2.25rem; } }
@media (max-width: 600px)  { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__brand img { width: 125px; height: 45px; display: block; margin-bottom: 1.25rem; }
.site-footer__follow { color: var(--az-ink-80); font-size: 0.95rem; font-weight: 500; margin: 0 0 1rem; }
.site-footer__social { display: flex; gap: 1rem; }
.site-footer__social a { color: var(--az-ink-80); line-height: 0; transition: color 0.2s var(--az-ease); }
.site-footer__social a:hover { color: var(--az-blue); }
.site-footer__social svg { width: 24px; height: 24px; }

.site-footer__title { color: var(--az-ink); font-size: 1.15rem; font-weight: 600; margin: 0 0 1.25rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.7rem; }
.site-footer__col a { color: var(--az-ink-80); font-size: 0.95rem; transition: color 0.2s var(--az-ease); }
.site-footer__col a:hover { color: var(--az-blue); text-decoration: none; }

.site-footer__contact p { color: var(--az-ink-80); font-size: 0.95rem; line-height: 1.65; margin: 0 0 1rem; }
.site-footer__contact-row { display: flex; align-items: center; gap: 0.75rem; color: var(--az-ink-80); font-size: 0.95rem; margin-bottom: 0.85rem; }
.site-footer__contact-row svg { width: 18px; height: 18px; flex-shrink: 0; }

.site-footer__bottom { border-top: 1px solid var(--az-border); }
.site-footer__bottom-inner {
  padding: 1.5rem;
  text-align: center;
  color: var(--az-blue);
  font-size: 0.875rem;
}

/* =========================================================
   16. 404 / no results
   ========================================================= */
.az-empty { text-align: center; padding: 5rem 1.5rem; max-width: 560px; margin: 0 auto; }
.az-empty__code { color: var(--az-blue); font-size: 4.5rem; font-weight: 800; letter-spacing: -0.04em; margin-bottom: 0.25rem; }
.az-empty__title { font-size: 1.5rem; margin-bottom: 0.5rem; }
.az-empty__text { color: var(--az-muted-fg); margin-bottom: 1.75rem; }
.az-empty .az-search-form { margin: 0 auto 1.5rem; }

/* =========================================================
   17. Editor color palette classes (see functions.php)
   ========================================================= */
.has-azisly-blue-color { color: var(--az-blue); }
.has-azisly-blue-background-color { background-color: var(--az-blue); }
.has-azisly-blue-dark-color { color: var(--az-deep-sea); }
.has-azisly-blue-dark-background-color { background-color: var(--az-deep-sea); }
.has-ink-color { color: var(--az-ink); }
.has-ink-background-color { background-color: var(--az-ink); }
.has-slate-color { color: var(--az-muted-fg); }
.has-slate-background-color { background-color: var(--az-muted-fg); }
.has-mist-color { color: var(--az-muted); }
.has-mist-background-color { background-color: var(--az-muted); }
.has-white-color { color: #fff; }
.has-white-background-color { background-color: #fff; }
