/* Amapola Koel — section Actualités (liste + article + 404)
   Palette du site : fond #FFFDF8 / cartes #FAF8F5 / bordures #E3DAD0
   encre #3D3D3D / texte doux #6F6A63 / sauge #8FA58C / terracotta #C89A7A */

.ak-main {
  max-width: 1140px;
  margin: 0 auto;
  padding: 150px 40px 90px;
  font-family: "Inter", "Inter Placeholder", sans-serif;
  color: #3d3d3d;
}

.ak-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #567052;
  text-align: center;
  margin: 0 0 14px;
}

.ak-title {
  font-family: "Cormorant Garamond", "Cormorant Garamond Placeholder", serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.08;
  text-align: center;
  color: #3d3d3d;
  margin: 0 0 16px;
}

.ak-intro {
  font-size: 16px;
  line-height: 1.6;
  color: #6f6a63;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

/* ------------------------------ liste des articles */
.ak-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px;
}

.ak-card {
  background: #faf8f5;
  border: 1px solid #e3dad0;
  border-radius: 22px;
  padding: 30px 30px 26px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ak-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(61, 61, 61, 0.07);
}

.ak-card-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #567052;
  margin: 0 0 10px;
}

.ak-card-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.ak-card-title a {
  color: #3d3d3d;
  text-decoration: none;
}

.ak-card-title a:hover { color: #567052; }

.ak-card-thumb { display: block; margin: 4px 0 14px; }
.ak-card-thumb img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

.ak-card-excerpt p {
  font-size: 15px;
  line-height: 1.65;
  color: #6f6a63;
  margin: 0 0 14px;
}

.ak-card-more { margin: auto 0 0; }
.ak-card-more a {
  font-size: 14px;
  font-weight: 600;
  color: #3d3d3d;
  text-decoration: none;
}
.ak-card-more a:hover { color: #567052; }

.ak-empty {
  text-align: center;
  background: #faf8f5;
  border: 1px solid #e3dad0;
  border-radius: 22px;
  padding: 70px 30px;
  color: #6f6a63;
  font-size: 16px;
  line-height: 1.6;
}

/* pagination */
.ak-pagination { margin-top: 46px; text-align: center; }
.ak-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 9px 14px;
  margin: 0 4px;
  border: 1px solid #e3dad0;
  border-radius: 100px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  background: #faf8f5;
}
.ak-pagination .page-numbers.current,
.ak-pagination .page-numbers:hover {
  background: #3d3d3d;
  border-color: #3d3d3d;
  color: #fffdf8;
}

/* ------------------------------ article seul */
.ak-article { max-width: 760px; margin: 0 auto; }

.ak-article-date {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #567052;
  text-align: center;
  margin: 0 0 14px;
}

.ak-article-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.028em;
  line-height: 1.1;
  text-align: center;
  color: #3d3d3d;
  margin: 0 0 30px;
}

.ak-article-thumb img {
  width: 100%;
  height: auto;
  border-radius: 22px;
  display: block;
  margin: 0 0 36px;
}

.ak-content {
  font-size: 16.5px;
  line-height: 1.75;
  color: #4a463f;
}

.ak-content p { margin: 0 0 1.35em; }

.ak-content h2, .ak-content h3 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #3d3d3d;
  line-height: 1.15;
  margin: 1.7em 0 0.6em;
}
.ak-content h2 { font-size: 32px; }
.ak-content h3 { font-size: 25px; }

.ak-content a { color: #567052; }
.ak-content a:hover { color: #3d3d3d; }

.ak-content ul, .ak-content ol { padding-left: 1.3em; margin: 0 0 1.35em; }
.ak-content li { margin-bottom: 0.5em; }

.ak-content blockquote {
  border-left: 3px solid #c89a7a;
  margin: 1.6em 0;
  padding: 0.2em 0 0.2em 1.2em;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  line-height: 1.4;
  color: #6f6a63;
  font-style: italic;
}

.ak-content img { max-width: 100%; height: auto; border-radius: 14px; }

.ak-back {
  text-align: center;
  margin-top: 54px;
}
.ak-back a {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 100px;
  background: #3d3d3d;
  color: #fffdf8;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.ak-back a:hover { background: #567052; }

/* ------------------------------ 404 */
.ak-404 {
  text-align: center;
  padding: 60px 20px 20px;
}
.ak-404 .ak-title { margin-bottom: 20px; }

/* ------------------------------ responsive */
@media (max-width: 809.98px) {
  .ak-main { padding: 120px 22px 60px; }
  .ak-title { font-size: 36px; }
  .ak-article-title { font-size: 34px; }
  .ak-grid { grid-template-columns: 1fr; }
  .ak-content { font-size: 16px; }
}

/* ------------------------------ fin d'article : liens internes */
.ak-article-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 54px;
}
.ak-btn-dark, .ak-btn-sage {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.ak-btn-dark { background: #3d3d3d; color: #fffdf8; }
.ak-btn-dark:hover { background: #567052; color: #fffdf8; }
.ak-btn-sage { background: #567052; color: #fffdf8; }
.ak-btn-sage:hover { background: #3d3d3d; color: #fffdf8; }

.ak-post-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  max-width: 760px;
  margin: 40px auto 0;
  padding-top: 26px;
  border-top: 1px solid #e3dad0;
}
.ak-post-nav span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #567052;
  margin-bottom: 4px;
}
.ak-post-nav a {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: #3d3d3d;
  text-decoration: none;
}
.ak-post-nav a:hover { color: #567052; }
.ak-post-nav-next { text-align: right; margin-left: auto; }
