/* Page Blog - Atypique World */
.blog-page { background: #fff; }

.blog-hero {
  position: relative;
  overflow: hidden;
  padding: 54px 0 38px;
  background:
    radial-gradient(circle at 7% 22%, rgba(31,174,236,.11), transparent 16%),
    radial-gradient(circle at 91% 8%, rgba(245,41,141,.10), transparent 20%),
    linear-gradient(180deg, #fff 0%, #fff 72%, #fbfcff 100%);
}
.blog-hero > .shell {
  width: min(calc(100% - 40px), clamp(1240px, 86vw, 1760px));
}
.blog-hero-grid {
  display: grid;
  grid-template-columns: .84fr 1.16fr;
  gap: clamp(40px, 3.4vw, 72px);
  align-items: center;
}
.blog-hero-copy h1 {
  margin: 18px 0 18px;
  color: var(--navy);
  font-size: clamp(52px, 5.7vw, 78px);
  line-height: .96;
  letter-spacing: -.055em;
}
.blog-hero-copy h1 em {
  position: relative;
  display: inline-block;
  color: var(--pink);
  font-family: "Segoe Print", "Bradley Hand", cursive;
  font-style: italic;
  font-weight: 850;
  letter-spacing: -.065em;
}
.blog-hero-copy h1 em::after {
  content: "";
  position: absolute;
  left: 5%; right: 2%; bottom: -7px;
  height: 7px;
  border-radius: 60% 40% 70% 30%;
  background: var(--yellow);
  transform: rotate(-2deg);
}
.blog-hero-copy > p {
  max-width: 560px;
  margin: 0 0 26px;
  color: #4b5871;
  font-size: 17px;
}
.blog-banner {
  min-height: 370px;
  position: relative;
}
.blog-banner-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
}
.blog-banner-photo img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  max-height: clamp(430px, 31vw, 620px);
  object-fit: contain;
}
.blog-doodle { position: absolute; font-size: 30px; font-weight: 900; z-index: 2; }
.blog-doodle.d1 { left: 2.3%; top: 54px; color: #20aee8; }
.blog-doodle.d2 { right: 3%; bottom: 44px; color: #ff4293; transform: rotate(14deg); }
.blog-doodle.d3 { left: 1.5%; bottom: 68px; color: #ff981b; font-size: 40px; }
.blog-doodle.d4 { right: 44%; top: 35px; color: #7437d9; }

.blog-tools { padding: 16px 0 10px; }
.blog-tools-inner {
  min-height: 80px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #e5eaf3;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(21,45,89,.06);
}
.blog-search-wrap {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  background: #fff;
}
.blog-search-wrap input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}
.blog-search-wrap span { color: var(--navy); font-size: 20px; }
.blog-category-wrap {
  min-width: 220px;
  flex: 0 0 220px;
}
.blog-category-select {
  width: 100%;
  height: 46px;
  padding: 0 42px 0 16px;
  border: 1px solid #dbe4f1;
  border-radius: 999px;
  outline: 0;
  color: var(--navy);
  font-weight: 800;
  background:
    linear-gradient(45deg, transparent 50%, #6f38dd 50%) calc(100% - 22px) calc(50% - 2px) / 8px 8px no-repeat,
    linear-gradient(135deg, #6f38dd 50%, transparent 50%) calc(100% - 16px) calc(50% - 2px) / 8px 8px no-repeat,
    #fff;
  appearance: none;
  box-shadow: 0 8px 18px rgba(29,48,90,.08);
  cursor: pointer;
}
.blog-category-select:focus {
  border-color: rgba(111,56,221,.55);
  box-shadow: 0 0 0 4px rgba(111,56,221,.12);
}

.featured-section { padding: 22px 0 10px; }
.featured-article {
  position: relative;
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 30px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid #dfe6f1;
  border-radius: 32px;
  background: linear-gradient(110deg, #fff 0%, #fff 70%, #fcf9ff 100%);
  box-shadow: 0 16px 38px rgba(23,46,90,.08);
}
.featured-image {
  min-height: 255px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, transparent 0 44%, rgba(255,255,255,.42) 45% 47%, transparent 48%),
    linear-gradient(180deg, #ffd7b7 0%, #f3aac9 58%, #9c75d6 100%);
}
.featured-image strong { z-index: 5; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.78); }
.room-window {
  position: absolute; left: 22px; top: 20px; width: 118px; height: 116px;
  border: 10px solid rgba(255,255,255,.60); border-radius: 8px;
  background: linear-gradient(#ffd8a1, #fff6d5);
}
.room-window::after, .room-window::before { content: ""; position: absolute; background: rgba(255,255,255,.7); }
.room-window::after { width: 7px; top: 0; bottom: 0; left: 50%; }
.room-window::before { height: 7px; left: 0; right: 0; top: 50%; }
.room-chair {
  position: absolute; right: 42px; bottom: 32px; width: 110px; height: 92px;
  border-radius: 28px 28px 22px 22px; background: #f2a522; box-shadow: inset 0 -18px rgba(218,128,10,.20);
}
.room-table {
  position: absolute; left: 78px; bottom: 28px; width: 120px; height: 18px; border-radius: 999px; background: #9c603c;
}
.featured-copy { align-self: center; padding: 18px 38px 18px 0; }
.featured-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.feature-pill { padding: 6px 10px; border-radius: 8px; background: #ffd447; color: #5b4300; font-size: 10px; font-weight: 950; text-transform: uppercase; }
.featured-meta time { margin-left: 9px; color: #778197; font-size: 11px; font-weight: 750; }
.featured-copy h2 { margin: 0 0 13px; color: var(--navy); font-size: clamp(27px, 3vw, 40px); line-height: 1.08; letter-spacing: -.035em; }
.featured-copy p { max-width: 760px; margin: 0 0 14px; color: #59657c; font-size: 15px; }
.read-more { color: var(--purple); font-weight: 900; }
.featured-spark { position: absolute; top: 20px; right: 24px; color: #f6a400; font-size: 32px; transform: rotate(12deg); }

.blog-list-section { padding: 22px 0 58px; }
.blog-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.blog-card {
  overflow: hidden;
  border: 1px solid #dfe5ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(24,45,88,.07);
  transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(24,45,88,.12); }
.blog-card[hidden], .featured-article[hidden] { display: none !important; }
.blog-card-image { height: 190px; font-weight: 900; }
.blog-card-image span { z-index: 3; padding: 7px 11px; border-radius: 999px; background: rgba(255,255,255,.78); }
.blog-card-image i, .blog-card-image b { position: absolute; font-style: normal; font-size: 54px; opacity: .32; }
.blog-card-image i { left: 24px; top: 22px; }
.blog-card-image b { right: 22px; bottom: 17px; }
.bc-blue .blog-card-image { background: linear-gradient(135deg, #d0ecff, #7aaaf6 56%, #c8a6ff); }
.bc-purple .blog-card-image { background: linear-gradient(135deg, #ffc4d8, #c098f3 55%, #7aa6f5); }
.bc-turquoise .blog-card-image { background: linear-gradient(135deg, #c8fff2, #59d0c2 58%, #78bff4); }
.bc-pink .blog-card-image { background: linear-gradient(135deg, #ffd2df, #ef81ca 51%, #9074e9); }
.bc-orange .blog-card-image { background: linear-gradient(135deg, #ffe2b7, #f4b862 56%, #e6888b); }
.bc-rose .blog-card-image { background: linear-gradient(135deg, #ffe1ed, #f2a0c1 50%, #db9fef); }
.bc-work .blog-card-image { background: linear-gradient(135deg, #d4f7ee, #b4dbe8 48%, #7299dc); }
.bc-green .blog-card-image { background: linear-gradient(135deg, #d4ffe7, #84dec1 52%, #76c4d7); }
.blog-card-body { padding: 19px 18px 22px; }
.tag-orange { background: var(--orange); }
.tag-pink { background: var(--pink); }
.blog-card-body h2 { min-height: 88px; margin: 0 0 10px; color: var(--navy); font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.blog-card-body p { min-height: 66px; margin: 0 0 15px; color: #667089; font-size: 12.5px; }
.blog-card-body a { color: var(--purple); font-size: 13px; font-weight: 900; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }
.more-button {
  min-height: 46px; padding: 0 26px; border: 2px solid #9b62e6; border-radius: 999px;
  color: #6330cb; background: #fff; font-weight: 900;
}
.more-button:disabled { opacity: .75; cursor: default; }
.no-results {
  margin: 26px auto 6px;
  max-width: 620px;
  padding: 34px;
  text-align: center;
  border: 1px dashed #cbd4e5;
  border-radius: 24px;
  background: #fafcff;
  color: #64718a;
}
.no-results span { display: block; font-size: 34px; }
.no-results strong { display: block; margin: 8px 0 4px; color: var(--navy); font-size: 18px; }
.no-results p { margin: 0; }
.blog-community { padding-top: 0; }

@media (max-width: 1100px) {
  .blog-hero-grid { gap: 34px; }
  .blog-banner { min-height: 330px; }
  .blog-tools-inner { align-items: flex-start; flex-direction: column; }
  .blog-search-wrap { width: 100%; min-width: 0; }
  .featured-article { grid-template-columns: 330px 1fr; }
  .blog-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .blog-card-body h2, .blog-card-body p { min-height: 0; }
}

@media (max-width: 760px) {
  .blog-hero { padding-top: 38px; }
  .blog-hero-grid { grid-template-columns: 1fr; }
  .blog-hero-copy h1 { font-size: clamp(46px, 14vw, 65px); }
  .blog-hero-copy > p { font-size: 15px; }
  .blog-banner { min-height: 270px; border-radius: 28px; }
  .blog-doodle { display: none; }
  .blog-tools { padding-top: 8px; }
  .blog-tools-inner { padding: 12px; border-radius: 22px; }
  .blog-category-wrap { width: 100%; min-width: 0; flex-basis: auto; }
  .blog-category-select { height: 44px; }
  .featured-article { grid-template-columns: 1fr; padding: 13px; border-radius: 25px; }
  .featured-image { min-height: 220px; }
  .featured-copy { padding: 12px 10px 18px; }
  .featured-copy h2 { font-size: 28px; }
  .featured-spark { display: none; }
  .blog-card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
  .blog-hero-copy h1 { font-size: 46px; }
  .blog-category-wrap { margin-right: -2px; }
  .featured-meta time { margin-left: 0; }
}

.more-button:not(:disabled):hover,
.more-button:not(:disabled):focus-visible {
  transform: translateY(-2px);
  background: #f7f1ff;
  box-shadow: 0 10px 24px rgba(99, 48, 203, .14);
}
.more-button[hidden] { display: none !important; }


.card-tag-list { display: inline-flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.blog-card-body .meta { align-items: flex-start; flex-wrap: wrap; }
.blog-card-body .meta time { padding-top: 5px; white-space: nowrap; }
.featured-meta .card-tag-list { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.tag-mint { background: #35ad80; }
.tag-green { background: #35ad80; }
.tag-rose { background: #e75b9d; }
.tag-work { background: #4d7fd2; }


@media (max-width: 680px) {
  .blog-banner-photo { padding: 0; }
  .blog-banner-photo img { max-height: none; }
}

@media (max-width: 1050px) {
  .blog-hero > .shell { width: min(calc(100% - 40px), var(--shell)); }
}

/* v4.66 - Titre hero fluide */
.blog-hero-copy h1{
  font-size:clamp(42px,4.5vw,78px);
}
.blog-hero-copy h1 em{
  white-space:nowrap;
}
@media(max-width:760px){
  .blog-hero-copy h1{font-size:clamp(38px,10vw,56px);}
}


.blog-community .community-photo { min-height: 230px; }
.blog-community .community-photo img { width: 100%; height: 100%; min-height: 230px; display: block; object-fit: cover; object-position: center; transform: none; }
@media (max-width: 760px) {
  .blog-community .community-photo img { min-height: 200px; }
}
