/*
Theme Name: Atlas Pro ONTV Clean
Theme URI: https://atlasontv-fr.com/
Author: Atlas Pro ONTV France
Description: Clean static marketing theme for Atlas Pro ONTV France staging rebuild.
Version: 1.0.9
Text Domain: atlaspro-ontv-clean
*/

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
}

.apo-wp-default {
  max-width: 1120px;
  margin: 0 auto;
  padding: 72px 24px;
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f0f10;
}

.apo-wp-default a {
  color: #b45309;
}

.apo-blog-shell,
.apo-post-shell {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #111111;
  background: #f7f4ee;
}

.apo-blog-hero,
.apo-post-hero {
  background: radial-gradient(circle at 20% 20%, rgba(245, 158, 11, 0.15), transparent 34%), #0f0f10;
  color: #ffffff;
  padding: 82px 24px 72px;
}

.apo-blog-container,
.apo-post-container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.apo-blog-eyebrow,
.apo-post-eyebrow {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  color: #fcd34d;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.apo-blog-hero h1,
.apo-post-hero h1 {
  max-width: 820px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 0 18px;
}

.apo-blog-hero p,
.apo-post-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

.apo-blog-main {
  padding: 56px 0 76px;
}

.apo-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.apo-blog-card {
  background: #ffffff;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px -30px rgba(15, 15, 16, 0.35);
}

.apo-blog-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  overflow: hidden;
}

.apo-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.apo-blog-card-body {
  padding: 22px;
}

.apo-blog-meta,
.apo-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #7c6f64;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.apo-blog-card h2 {
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 0 0 12px;
}

.apo-blog-card h2 a {
  color: #111111;
  text-decoration: none;
}

.apo-blog-card h2 a:hover {
  color: #b45309;
}

.apo-blog-excerpt {
  color: #514a44;
  line-height: 1.65;
  margin: 0 0 18px;
}

.apo-blog-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b45309;
  font-weight: 800;
  text-decoration: none;
}

.apo-blog-empty {
  background: #ffffff;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 16px;
  padding: 32px;
  color: #514a44;
}

.apo-blog-pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 36px;
}

.apo-blog-pagination a,
.apo-blog-pagination span {
  min-width: 42px;
  height: 42px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: #ffffff;
  color: #111111;
  text-decoration: none;
  border: 1px solid rgba(15, 15, 16, 0.08);
  font-weight: 800;
}

.apo-blog-pagination .current {
  background: #d97706;
  color: #ffffff;
}

.apo-post-main {
  padding: 56px 0 76px;
}

.apo-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 42px;
  align-items: start;
}

.apo-post-article,
.apo-post-sidebar-card {
  background: #ffffff;
  border: 1px solid rgba(15, 15, 16, 0.08);
  border-radius: 16px;
  box-shadow: 0 18px 44px -30px rgba(15, 15, 16, 0.35);
}

.apo-post-article {
  overflow: hidden;
}

.apo-post-featured img {
  width: 100%;
  height: auto;
  display: block;
}

.apo-post-content {
  padding: 34px;
  font-size: 17px;
  line-height: 1.78;
  color: #24211e;
}

.apo-post-content h2,
.apo-post-content h3,
.apo-post-content h4 {
  line-height: 1.2;
  letter-spacing: 0;
  margin-top: 34px;
  margin-bottom: 12px;
  color: #111111;
}

.apo-post-content a {
  color: #b45309;
  font-weight: 700;
}

.apo-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.apo-post-sidebar-card {
  padding: 24px;
  position: sticky;
  top: 92px;
}

.apo-post-sidebar-card h2 {
  font-size: 18px;
  margin: 0 0 12px;
}

.apo-post-sidebar-card p {
  color: #514a44;
  line-height: 1.6;
  margin: 0 0 18px;
}

.apo-post-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f59e0b, #d97706);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 900px) {
  .apo-blog-grid,
  .apo-post-layout {
    grid-template-columns: 1fr;
  }

  .apo-post-sidebar-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .apo-blog-container,
  .apo-post-container {
    width: min(100% - 32px, 1120px);
  }

  .apo-blog-hero,
  .apo-post-hero {
    padding: 58px 16px 50px;
  }

  .apo-blog-main,
  .apo-post-main {
    padding: 36px 0 56px;
  }

  .apo-post-content {
    padding: 24px;
    font-size: 16px;
  }
}
