/* Simphonie Blog Experience */
.sc-blog-home,
.sc-blog-home * { box-sizing: border-box; }

.sc-blog-home {
  padding-block: clamp(76px, 8vw, 150px);
  color: var(--sc-color-ink, #1f1b18);
  background: var(--sc-color-background, #fcfaf8);
  border-top: 1px solid rgb(var(--sc-rgb-ink, 31 27 24) / .06);
}

.sc-blog-home__container { width: var(--sc-container, min(94vw, 1920px)); margin-inline: auto; }
.sc-blog-home__header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; margin-bottom: clamp(38px, 5vw, 72px); }
.sc-blog-home__header > div { max-width: 920px; }
.sc-blog-home__eyebrow { margin: 0 0 18px; color: var(--sc-color-primary-deep, #923f49); font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.sc-blog-home__header h2 { max-width: 900px; margin: 0; font-family: var(--sc-font-family-heading, Georgia, serif); font-size: clamp(42px, 5vw, 82px); font-weight: 400; line-height: .98; letter-spacing: -.04em; }
.sc-blog-home__intro { max-width: 720px; margin: 24px 0 0; color: rgb(var(--sc-rgb-ink, 31 27 24) / .66); font-size: clamp(14px, .95vw, 18px); line-height: 1.75; }
.sc-blog-home__all,
.sc-blog-card__read { color: var(--sc-color-ink, #1f1b18); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; }
.sc-blog-home__all { display: inline-flex; gap: 16px; align-items: center; padding: 14px 20px; border: 1px solid var(--sc-color-border, #eadfd8); border-radius: 999px; }
.sc-blog-home__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 34px); }
.sc-blog-card { overflow: hidden; background: var(--sc-color-surface, #fff); border: 1px solid rgb(var(--sc-rgb-ink, 31 27 24) / .08); border-radius: clamp(20px, 1.6vw, 30px); box-shadow: 0 20px 60px rgb(var(--sc-rgb-ink, 31 27 24) / .06); }
.sc-blog-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; color: #fff; background: var(--sc-color-secondary, #efe3d8); text-decoration: none; }
.sc-blog-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.sc-blog-card:hover .sc-blog-card__media img { transform: scale(1.035); }
.sc-blog-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgb(255 255 255 / .65); font-family: Georgia, serif; font-size: clamp(90px, 12vw, 220px); }
.sc-blog-card__body { padding: clamp(22px, 2vw, 34px); }
.sc-blog-card__meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; color: rgb(var(--sc-rgb-ink, 31 27 24) / .5); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sc-blog-card__meta a { color: var(--sc-color-primary-deep, #923f49); text-decoration: none; }
.sc-blog-card h3 { margin: 0; font-family: var(--sc-font-family-heading, Georgia, serif); font-size: clamp(25px, 2vw, 38px); font-weight: 400; line-height: 1.08; letter-spacing: -.025em; }
.sc-blog-card h3 a { color: inherit; text-decoration: none; }
.sc-blog-card__body > p { margin: 18px 0 22px; color: rgb(var(--sc-rgb-ink, 31 27 24) / .65); font-size: 14px; line-height: 1.7; }
.sc-blog-card__read { display: inline-flex; gap: 12px; align-items: center; }

/* Existing Blog for PrestaShop pages */
body[id^="module-ph_simpleblog-"] #wrapper { background: var(--sc-color-background, #fcfaf8); }
body[id^="module-ph_simpleblog-"] #content-wrapper { width: 100%; max-width: none; padding: 0; }
body[id^="module-ph_simpleblog-"] #main { width: min(94vw, 1560px); margin: 0 auto; padding-block: clamp(44px, 6vw, 100px); }
body[id^="module-ph_simpleblog-"] #content.page-content { margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
body[id^="module-ph_simpleblog-"] .page-heading,
body[id^="module-ph_simpleblog-"] .page-header { margin: 0 0 clamp(36px, 5vw, 70px); text-align: center; }
body[id^="module-ph_simpleblog-"] .page-heading h1,
body[id^="module-ph_simpleblog-"] .page-header h1 { margin: 0; font-family: var(--sc-font-family-heading, Georgia, serif); font-size: clamp(44px, 6vw, 92px); font-weight: 400; line-height: .98; letter-spacing: -.045em; text-transform: none; }
body[id^="module-ph_simpleblog-"] .simpleblog__listing > .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2vw, 34px); margin: 0; }
body[id^="module-ph_simpleblog-"] .simpleblog__listing__post { width: auto; max-width: none; padding: 0; }
body[id^="module-ph_simpleblog-"] .simpleblog__listing__post__wrapper { height: 100%; overflow: hidden; background: #fff; border: 1px solid rgb(var(--sc-rgb-ink, 31 27 24) / .08); border-radius: clamp(18px, 1.5vw, 28px); box-shadow: 0 18px 54px rgb(var(--sc-rgb-ink, 31 27 24) / .06); }
body[id^="module-ph_simpleblog-"] .simpleblog__listing__post__wrapper__content { padding: clamp(20px, 2vw, 32px); }
body[id^="module-ph_simpleblog-"] .simpleblog__listing img { width: 100%; }
body[id^="module-ph_simpleblog-"] .simpleblog__listing h2,
body[id^="module-ph_simpleblog-"] .simpleblog__listing h3 { font-family: var(--sc-font-family-heading, Georgia, serif); font-size: clamp(24px, 1.8vw, 34px); font-weight: 400; line-height: 1.1; text-transform: none; }
body#module-ph_simpleblog-single #main { max-width: 1180px; }
body#module-ph_simpleblog-single .simpleblog__postInfo ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-bottom: 32px; padding: 0; list-style: none; }
body#module-ph_simpleblog-single .simpleblog__post { overflow: hidden; background: #fff; border: 1px solid rgb(var(--sc-rgb-ink, 31 27 24) / .08); border-radius: clamp(20px, 2vw, 36px); box-shadow: 0 24px 80px rgb(var(--sc-rgb-ink, 31 27 24) / .07); }
body#module-ph_simpleblog-single .simpleblog__post-featured img { width: 100%; max-height: 720px; object-fit: cover; }
body#module-ph_simpleblog-single .simpleblog__post__content { max-width: 860px; margin-inline: auto; padding: clamp(30px, 5vw, 76px); color: rgb(var(--sc-rgb-ink, 31 27 24) / .78); font-size: clamp(16px, 1vw, 19px); line-height: 1.85; }
body#module-ph_simpleblog-single .simpleblog__post__content h2,
body#module-ph_simpleblog-single .simpleblog__post__content h3 { margin: 1.5em 0 .6em; color: var(--sc-color-ink, #1f1b18); font-family: var(--sc-font-family-heading, Georgia, serif); line-height: 1.12; }
body#module-ph_simpleblog-single .simpleblog__post__content img { max-width: 100%; height: auto; border-radius: 18px; }

@media (max-width: 980px) {
  .sc-blog-home__header { grid-template-columns: 1fr; align-items: start; }
  .sc-blog-home__grid,
  body[id^="module-ph_simpleblog-"] .simpleblog__listing > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sc-blog-home { padding-block: 68px; }
  .sc-blog-home__grid,
  body[id^="module-ph_simpleblog-"] .simpleblog__listing > .row { grid-template-columns: 1fr; }
  .sc-blog-home__all { justify-content: space-between; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sc-blog-card__media img { transition: none; }
  .sc-blog-card:hover .sc-blog-card__media img { transform: none; }
}
