/*
Theme Name: AVA Virtual Support
Theme URI: https://example.com/
Author: AVA
Description: WordPress theme wrapper for the AVA Virtual Support React website.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ava-virtual-support
*/

html,
body,
#root {
  min-height: 100%;
  margin: 0;
}

body {
  background: #f8fafc;
  color: #122131;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
}

.ava-seo-fallback {
  max-width: 1120px;
  margin: 0 auto;
  padding: 112px 24px 48px;
  color: #122131;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

.ava-seo-fallback h1 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
}

.ava-seo-fallback h2 {
  margin: 28px 0 8px;
  font-size: 24px;
}

.ava-seo-fallback p {
  max-width: 860px;
  margin: 0 0 16px;
  font-size: 18px;
}

.ava-seo-fallback ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 18px;
  max-width: 900px;
  margin: 12px 0 0;
  padding-left: 20px;
}

.ava-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(18, 33, 49, 0.06);
}

.ava-site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 24px;
}

.ava-site-header__brand {
  color: #2563eb;
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
}

.ava-site-header__nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
  color: #374151;
  font-size: 15px;
}

.ava-site-header__nav a {
  text-decoration: none;
}

.ava-site-header__nav a:hover {
  color: #2563eb;
}

.ava-site-header__cta {
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff !important;
  padding: 10px 16px;
  font-weight: 700;
}

.ava-blog-page,
.ava-single-post {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 72px;
}

.ava-blog-hero {
  overflow: hidden;
  max-width: none;
  margin-bottom: 36px;
  border: 1px solid #e7edf5;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(239, 246, 255, 0.88)),
    url("./dist/assets/ava-homepage-hero-CZZOAwBk.jpeg") right center / auto 100% no-repeat;
  box-shadow: 0 24px 70px rgba(18, 33, 49, 0.12);
  padding: clamp(36px, 7vw, 72px);
}

.ava-article__header {
  max-width: 820px;
  margin-bottom: 36px;
}

.ava-eyebrow {
  margin: 0 0 10px;
  color: #b98d2d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ava-blog-hero h1,
.ava-article__header h1 {
  margin: 0 0 16px;
  color: #122131;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.05;
}

.ava-blog-hero h1,
.ava-blog-hero p {
  max-width: 690px;
}

.ava-blog-hero p,
.ava-archive-description,
.ava-article__meta {
  color: #4b5563;
  font-size: 18px;
  line-height: 1.7;
}

.ava-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.ava-post-card {
  overflow: hidden;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(18, 33, 49, 0.08);
}

.ava-post-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f3f4f6;
}

.ava-post-card__image img,
.ava-article__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ava-post-card__body {
  padding: 24px;
}

.ava-post-card time,
.ava-article__meta {
  color: #6b7280;
  font-size: 14px;
}

.ava-post-card h2 {
  margin: 10px 0 10px;
  color: #122131;
  font-size: 24px;
  line-height: 1.2;
}

.ava-post-card h2 a,
.ava-text-link,
.ava-back-link,
.ava-post-navigation a,
.ava-article__tags a {
  text-decoration: none;
}

.ava-post-card h2 a:hover,
.ava-text-link:hover,
.ava-back-link:hover,
.ava-post-navigation a:hover,
.ava-article__tags a:hover {
  color: #2563eb;
}

.ava-post-card p {
  margin: 0 0 18px;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.65;
}

.ava-text-link,
.ava-back-link {
  color: #b98d2d;
  font-weight: 800;
}

.ava-pagination {
  margin-top: 36px;
}

.ava-pagination .nav-links,
.ava-pagination {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.ava-pagination a,
.ava-pagination span {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 14px;
  text-decoration: none;
}

.ava-pagination .current {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.ava-empty-state {
  max-width: 760px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(18, 33, 49, 0.08);
  padding: 36px;
}

.ava-empty-state h2 {
  margin: 0 0 10px;
  color: #122131;
  font-size: 30px;
  line-height: 1.2;
}

.ava-empty-state p {
  margin: 0;
  color: #4b5563;
}

.ava-article {
  max-width: 860px;
}

.ava-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ava-article__image {
  overflow: hidden;
  max-height: 460px;
  margin: 0 0 34px;
  border-radius: 8px;
  background: #f3f4f6;
}

.ava-article__content {
  color: #24364a;
  font-size: 18px;
  line-height: 1.8;
}

.ava-article__content h2,
.ava-article__content h3 {
  color: #122131;
  line-height: 1.2;
}

.ava-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.ava-article__tags {
  margin-top: 32px;
  color: #4b5563;
}

.ava-post-navigation {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  max-width: 860px;
  margin-top: 40px;
}

.ava-post-navigation span {
  display: block;
}

.ava-post-navigation a {
  display: block;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 18px;
  color: #122131;
  font-weight: 700;
}

.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.search-form label {
  flex: 1 1 260px;
}

.search-field {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 12px 14px;
  font: inherit;
}

.search-submit {
  border: 0;
  border-radius: 8px;
  background: #2563eb;
  color: #ffffff;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 720px) {
  .ava-site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .ava-site-header__nav {
    justify-content: flex-start;
  }

  .ava-blog-page,
  .ava-single-post {
    padding-top: 36px;
  }

  .ava-blog-hero {
    background: linear-gradient(135deg, #ffffff, #eff6ff);
    padding: 32px 24px;
  }
}
