/* Athena Marketing & Advertising — athenamktg.com */
/* Original: WordPress + Elementor Pro, full-width sections */
/* Layout: 1140px centered, purple brand, modern agency feel */

/* ═══════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
  color: #1a1a2e;
  background: #fff;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #5d4fff; text-decoration: none; transition: color 0.25s; }
a:hover { color: #61297c; }

/* ═══════════════════════════════════════
   HEADER
   ═══════════════════════════════════════ */
.am-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0;
  position: relative;
  z-index: 100;
}
.am-header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.am-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.am-logo-icon {
  height: 36px;
  width: auto;
}
.am-logo-text {
  font-size: 1.15em;
  font-weight: 700;
  color: #61297c;
  letter-spacing: -0.01em;
}
.am-logo-text .am-tagline {
  display: block;
  font-size: 0.52em;
  color: #888;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.am-toggle {
  display: none;
  background: none;
  border: 1px solid #61297c;
  color: #61297c;
  font-size: 1.1em;
  padding: 6px 12px;
  cursor: pointer;
  border-radius: 4px;
}
.am-toggle:hover { background: #f5f0f8; }

/* ═══════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════ */
.am-nav {
  background: #61297c;
}
.am-nav-list {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  list-style: none;
  gap: 0;
}
.am-nav-list a {
  display: block;
  color: rgba(255,255,255,0.78);
  padding: 11px 18px;
  font-size: 0.88em;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.am-nav-list a:hover,
.am-nav-list a.active {
  color: #fff;
  background: rgba(0,0,0,0.15);
}

/* ═══════════════════════════════════════
   MAIN CONTAINER
   ═══════════════════════════════════════ */
.am-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 24px;
}

/* ═══════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════ */
.am-hero {
  background: linear-gradient(135deg, #61297c 0%, #5d4fff 50%, #7b6fff 100%);
  padding: 52px 36px;
  border-radius: 8px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.am-hero h1 {
  font-size: 2.1em;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 12px;
  max-width: 580px;
}
.am-hero p {
  font-size: 1em;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  line-height: 1.65;
}
.am-hero-cta {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 28px;
  background: #fff;
  color: #61297c;
  font-weight: 600;
  border-radius: 5px;
  font-size: 0.92em;
  transition: background 0.2s, transform 0.2s;
}
.am-hero-cta:hover {
  background: #f5f0f8;
  color: #61297c;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   SECTION TITLE
   ═══════════════════════════════════════ */
.am-section-title {
  font-size: 1.35em;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}
.am-section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #61297c;
  margin-top: 6px;
  border-radius: 2px;
}

/* ═══════════════════════════════════════
   SERVICES GRID
   ═══════════════════════════════════════ */
.am-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 24px 0;
}
.am-svc-card {
  background: #f9f7fb;
  border: 1px solid #e8e0f0;
  border-radius: 6px;
  padding: 24px 20px;
  text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.am-svc-card:hover {
  border-color: #61297c;
  box-shadow: 0 4px 16px rgba(97,41,124,0.08);
}
.am-svc-card img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
}
.am-svc-card h3 {
  font-size: 1em;
  font-weight: 600;
  color: #61297c;
  margin-bottom: 6px;
}
.am-svc-card p {
  font-size: 0.85em;
  color: #666;
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   ARTICLE CARDS (Blog Listing)
   ═══════════════════════════════════════ */
.am-posts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 20px 0;
}
.am-card {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.am-card:hover {
  border-color: #5d4fff;
  box-shadow: 0 6px 20px rgba(93,79,255,0.07);
}
.am-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.am-card-body {
  padding: 18px;
}
.am-card-body h3 {
  font-size: 1.02em;
  font-weight: 600;
  margin-bottom: 6px;
  line-height: 1.3;
}
.am-card-body h3 a { color: #1a1a2e; }
.am-card-body h3 a:hover { color: #61297c; }
.am-card-body p {
  font-size: 0.84em;
  color: #777;
  line-height: 1.5;
  margin: 0;
}
.am-card-date {
  font-size: 0.74em;
  color: #aaa;
  margin-top: 8px;
}
.am-tag {
  display: inline-block;
  background: #61297c;
  color: #fff;
  font-size: 0.65em;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 500;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════
   ARTICLE PAGE
   ═══════════════════════════════════════ */
.am-article {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}
.am-article-header {
  margin-bottom: 22px;
}
.am-breadcrumb {
  font-size: 0.8em;
  color: #999;
  margin-bottom: 12px;
}
.am-breadcrumb a { color: #5d4fff; }
.am-article-header h1 {
  font-size: 1.85em;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.2;
  margin-bottom: 8px;
}
.am-article-meta {
  font-size: 0.82em;
  color: #999;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8e0f0;
  margin-bottom: 20px;
}
.am-featured-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 24px;
}
.am-float-img {
  float: right;
  margin: 0 0 14px 20px;
  max-width: 260px;
  border-radius: 5px;
  border: 1px solid #e8e0f0;
}

/* ═══════════════════════════════════════
   ARTICLE BODY
   ═══════════════════════════════════════ */
.am-body {
  font-size: 1em;
  line-height: 1.8;
  color: #333;
}
.am-body h2 {
  color: #61297c;
  font-size: 1.3em;
  font-weight: 700;
  margin: 28px 0 12px;
}
.am-body h3 {
  color: #5d4fff;
  font-size: 1.05em;
  font-weight: 600;
  margin: 20px 0 8px;
}
.am-body p { margin-bottom: 14px; }
.am-body ul, .am-body ol {
  margin: 8px 0 16px 24px;
}
.am-body li { margin-bottom: 5px; }
.am-body strong { color: #1a1a2e; }
.am-body blockquote {
  border-left: 4px solid #61297c;
  margin: 18px 0;
  padding: 12px 20px;
  background: #f9f7fb;
  color: #555;
  border-radius: 0 5px 5px 0;
  font-style: italic;
}
.am-body a { text-decoration: underline; text-underline-offset: 2px; }
.am-body a:hover { color: #61297c; }

/* ═══════════════════════════════════════
   TABLES
   ═══════════════════════════════════════ */
.am-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0;
  font-size: 0.9em;
}
.am-body th, .am-body td {
  padding: 9px 12px;
  border: 1px solid #e8e0f0;
  text-align: left;
}
.am-body th {
  background: #61297c;
  color: #fff;
  font-weight: 600;
}
.am-body tr:nth-child(even) { background: #f9f7fb; }
.am-body tr:hover { background: #f0ecf5; }

/* ═══════════════════════════════════════
   RELATED POSTS
   ═══════════════════════════════════════ */
.am-related {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e8e0f0;
}
.am-related h2 {
  font-size: 1.1em;
  color: #1a1a2e;
  margin-bottom: 14px;
  font-weight: 700;
}

/* ═══════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════ */
.am-footer {
  background: #1a1a2e;
  padding: 32px 24px;
  margin-top: 40px;
}
.am-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.am-footer-brand {
  flex: 2;
  min-width: 200px;
}
.am-footer-brand p {
  color: rgba(255,255,255,0.4);
  font-size: 0.82em;
  margin-top: 8px;
  line-height: 1.55;
}
.am-footer-col {
  flex: 1;
  min-width: 140px;
}
.am-footer-col h4 {
  color: rgba(255,255,255,0.6);
  font-size: 0.82em;
  margin-bottom: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.am-footer-col ul { list-style: none; }
.am-footer-col li { margin-bottom: 5px; }
.am-footer-col a { color: rgba(255,255,255,0.4); font-size: 0.82em; }
.am-footer-col a:hover { color: #c9b8ff; }
.am-footer-copy {
  max-width: 1140px;
  margin: 16px auto 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 0.74em;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════════════════════════════
   SERVICE PAGES
   ═══════════════════════════════════════ */
.am-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 32px 24px;
}
.am-page h1 {
  font-size: 1.8em;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 14px;
}
.am-page h2 {
  color: #61297c;
  font-size: 1.15em;
  margin: 22px 0 10px;
  font-weight: 700;
}
.am-page p { margin-bottom: 12px; color: #555; }
.am-page ul { margin: 6px 0 14px 20px; color: #555; }
.am-page li { margin-bottom: 4px; }

/* ═══════════════════════════════════════
   CTA BANNER
   ═══════════════════════════════════════ */
.am-cta-banner {
  background: linear-gradient(135deg, #5d4fff 0%, #61297c 100%);
  padding: 30px 28px;
  border-radius: 8px;
  text-align: center;
  margin: 28px 0;
}
.am-cta-banner h2 {
  color: #fff;
  font-size: 1.25em;
  font-weight: 700;
  margin-bottom: 8px;
}
.am-cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 0.92em;
  margin-bottom: 14px;
}
.am-cta-banner a {
  display: inline-block;
  padding: 9px 26px;
  background: #fff;
  color: #61297c;
  font-weight: 600;
  border-radius: 5px;
  font-size: 0.9em;
}
.am-cta-banner a:hover { background: #f5f0f8; }

/* ═══════════════════════════════════════
   RESPONSIVE — 900px
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .am-toggle { display: block; }
  .am-nav-list { display: none; flex-direction: column; padding: 0; }
  .am-nav-list.open { display: flex; }
  .am-nav-list a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .am-hero { padding: 34px 22px; }
  .am-hero h1 { font-size: 1.6em; }
  .am-services { grid-template-columns: 1fr; }
  .am-posts { grid-template-columns: 1fr; }
  .am-article-header h1 { font-size: 1.5em; }
  .am-footer-inner { flex-direction: column; }
  .am-float-img { float: none; max-width: 100%; margin: 0 0 14px 0; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 540px
   ═══════════════════════════════════════ */
@media (max-width: 540px) {
  .am-hero h1 { font-size: 1.3em; }
  .am-hero { padding: 24px 16px; }
  .am-logo-text { font-size: 0.95em; }
  .am-logo-text .am-tagline { display: none; }
  .am-article-header h1 { font-size: 1.3em; }
  .am-section-title { font-size: 1.15em; }
  .am-card-img { height: 140px; }
}
