/* Homepage only. The shared header/footer are styled in gifts-site.css. */
.az-child-gifts-home { font-size: var(--az-body-size, 16px); line-height: 1.6; }
.az-child-gifts-home [hidden] { display: none; }
.az-child-gifts-home__heading { position: relative; margin: 0 0 28px; padding-bottom: 10px; border-bottom: 1px solid var(--az-color-border, #ddd); color: var(--az-child-heading); font: 700 clamp(22px, 2vw, 29px)/1.3 var(--az-font-heading, Arial, sans-serif); text-align: center; }
.az-child-gifts-home__heading::after { position: absolute; bottom: -1px; left: 50%; width: 120px; height: 1px; transform: translateX(-50%); background: var(--az-child-primary); content: ''; }
.az-child-gifts-home__heading::before { position: absolute; left: 50%; bottom: -4px; z-index: 1; width: 7px; height: 7px; border-right: 1px solid var(--az-child-primary); border-bottom: 1px solid var(--az-child-primary); background: var(--az-color-surface, #fff); transform: translateX(-50%) rotate(45deg); content: ''; }
.az-child-gifts-home__heading--left { text-align: left; }
.az-child-gifts-home__heading--left::after { left: 0; transform: none; }
.az-child-gifts-home__heading--left::before { left: 60px; }
.az-child-gifts-banner { position: relative; background: #cecece; }
.az-child-gifts-banner__slide, .az-child-gifts-banner__slide > a { display: block; }
.az-child-gifts-banner__slide img { display: block; width: 100%; height: var(--az-child-banner-height, auto); object-fit: cover; }
.az-child-gifts-banner__copy { position: absolute; inset: 25% auto auto max(24px, calc((100% - var(--az-container, 1110px)) / 2)); width: min(500px, 70%); padding: 26px; background: rgb(0 0 0 / var(--az-child-banner-overlay, .35)); color: #fff; }
.az-child-gifts-banner__copy h2 { margin: 0; color: inherit; font-size: clamp(22px, 3vw, 40px); }
.az-child-gifts-banner__copy .az-button { color: #fff; background: var(--az-child-primary); }
.az-child-gifts-banner__arrow { position: absolute; top: 50%; display: grid; place-items: center; width: 38px; height: 44px; padding: 0; border: 0; border-radius: 2px; background: #0004; color: #fff; font-size: 32px; cursor: pointer; transform: translateY(-50%); opacity: 0; transition: opacity .2s; }
.az-child-gifts-banner:hover .az-child-gifts-banner__arrow, .az-child-gifts-banner:focus-within .az-child-gifts-banner__arrow { opacity: 1; }
.az-child-gifts-banner__arrow--prev { left: 12px; }
.az-child-gifts-banner__arrow--next { right: 12px; }
.az-child-gifts-banner__tools { position: absolute; bottom: 8px; right: 28px; display: flex; align-items: center; gap: 0; }
.az-child-gifts-banner__dot { width: 30px; height: 32px; padding: 9px; border: 0; background: transparent; cursor: pointer; }
.az-child-gifts-banner__dot::after { display: block; width: 10px; height: 10px; border: 2px solid #fff; border-radius: 50%; content: ''; }
.az-child-gifts-banner__dot[aria-pressed="true"]::after { background: #fff; }
.az-child-gifts-banner__pause { width: 32px; height: 32px; padding: 0; border: 0; background: #0005; color: #fff; cursor: pointer; }
.az-child-gifts-home__contact { background: var(--az-child-primary); color: #fff; }
.az-child-gifts-home__contact > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px; padding-block: 12px; }
.az-child-gifts-home__intro { padding: 50px 0 54px; background: #f5f5f5; }
.az-child-gifts-home__intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; align-items: start; }
.az-child-gifts-home__intro-grid--text { grid-template-columns: minmax(0, 1fr); }
.az-child-gifts-home__intro .az-child-gifts-home__heading { margin-bottom: 18px; }
.az-child-gifts-home__intro .az-child-gifts-home__heading::before { background: #f5f5f5; }
.az-child-gifts-home__prose p { margin: 0 0 18px; }
.az-child-gifts-home__prose strong { color: var(--az-child-primary); }
.az-child-gifts-home a.az-child-gifts-home__more { display: inline-flex; gap: 14px; padding: 8px 2px; color: var(--az-child-primary); font-size: 15px; border-bottom: 1px solid #e4b9b9; }
.az-child-gifts-home__video { position: relative; aspect-ratio: 16 / 9; padding: 9px; border: 1px solid var(--az-child-primary); border-radius: 5px; overflow: hidden; }
.az-child-gifts-home__video > a { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; background: #9d0000; }
.az-child-gifts-home__video img { display: block; width: 100%; height: 100%; object-fit: cover; }
.az-child-gifts-home__video iframe { display: block; width: 100%; height: 100%; border: 0; }
.az-child-gifts-home__video-title { position: absolute; top: 0; left: 0; right: 0; padding: 14px; color: #fff; background: linear-gradient(#000a, transparent); font-size: 16px; line-height: 1.3; }
.az-child-gifts-home__play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 66px; height: 46px; border-radius: 12px; background: #ff0033; color: #fff; font-size: 26px; transform: translate(-50%, -50%); }
.az-child-gifts-home__categories { padding-top: 30px; padding-bottom: 90px; }
.az-child-gifts-home__categories .az-child-gifts-home__heading { margin-bottom: 12px; }
.az-child-gifts-home__category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.az-child-gifts-home__category { position: relative; min-width: 0; }
.az-child-gifts-home__category > :is(a, div) { position: relative; display: block; }
.az-child-gifts-home__category img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: contain; }
.az-child-gifts-home__category-label { position: absolute; bottom: 8%; left: 0; right: 0; padding: 12px 8px; background: #ffffffe8; text-align: center; }
.az-child-gifts-home__category-label h3 { margin: 0; color: var(--az-child-primary); font: 700 16px/1.3 var(--az-font-heading, Arial, sans-serif); }
.az-child-gifts-home__category-label span { display: block; font-size: 12px; color: var(--az-color-muted, #888); }
.az-child-gifts-home__category > a::after { position: absolute; bottom: 6%; left: 0; right: 0; height: 6px; background: var(--az-child-primary); content: ''; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.az-child-gifts-home__category > a:hover::after, .az-child-gifts-home__category > a:focus-visible::after { transform: scaleX(1); }
.az-child-gifts-home__journal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; padding-top: 15px; padding-bottom: 65px; }
.az-child-gifts-home__journal--single { grid-template-columns: minmax(0, 1fr); }
.az-child-gifts-home__journal .az-child-gifts-home__heading { margin-bottom: 28px; }
.az-child-gifts-home__posts { display: grid; gap: 25px; }
.az-child-gifts-home__post { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 22px; align-items: start; }
.az-child-gifts-home__post-image { position: relative; display: block; }
.az-child-gifts-home__post-image > img, .az-child-gifts-home__post-image > .az-home-image-placeholder { display: block; width: 100%; height: 100px; object-fit: cover; }
.az-child-gifts-home__post-image > .az-home-image-placeholder { padding: 25px; background: #f1eee9; color: var(--az-child-primary); }
.az-child-gifts-home__post-image svg { width: 100%; height: 100%; }
.az-child-gifts-home__post time { position: absolute; top: -7px; left: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 42px; height: 42px; border: 2px solid var(--az-child-primary); border-radius: 50%; background: #fff; color: var(--az-child-primary); font-size: 12px; line-height: 1.05; }
.az-child-gifts-home__post time b { font-size: 16px; font-weight: 400; }
.az-child-gifts-home__post h3 { margin: 10px 0 8px; color: var(--az-child-primary); font: 700 16px/1.4 var(--az-font-heading, Arial, sans-serif); }
.az-child-gifts-home__post p { margin: 0; color: var(--az-child-muted); font-size: 13px; line-height: 1.6; }
.az-child-gifts-home__customers { padding: 30px 0 70px; background: #f5f5f5; }
.az-child-gifts-home__customers .az-child-gifts-home__heading::before { background: #f5f5f5; }
.az-child-gifts-home__customer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.az-child-gifts-home__customer { margin: 0; min-width: 0; }
.az-child-gifts-home__customer img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; clip-path: polygon(14% 0, 100% 0, 100% 84%, 86% 100%, 0 100%, 0 16%); }
@media (min-width: 783px) { .az-child-home-overlay ~ .az-child-gifts-home .az-child-gifts-banner__arrow { top: 80%; } }
@media (max-width: 960px) {
  .az-child-gifts-home__intro { padding-block: 35px; }
  .az-child-gifts-home__category-grid { gap: 15px; }
  .az-child-gifts-home__post { grid-template-columns: 100px minmax(0, 1fr); gap: 16px; }
  .az-child-gifts-home__post-image > img { height: 90px; }
  .az-child-gifts-home__customer-grid { gap: 20px; }
}
@media (max-width: 782px) {
  .az-child-gifts-home__intro-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .az-child-gifts-home__intro-grid > div { min-width: 0; }
  .az-child-gifts-home__categories { padding-bottom: 40px; }
  .az-child-gifts-home__journal { grid-template-columns: minmax(0, 1fr); gap: 35px; padding-bottom: 40px; }
  .az-child-gifts-home__customer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .az-child-gifts-banner__slide img { height: var(--az-child-banner-mobile-height, auto); }
  .az-child-gifts-banner__copy { padding: 14px; top: 10%; }
}
@media (max-width: 640px) {
  .az-child-gifts-home__heading { font-size: 22px; }
  .az-child-gifts-home__category-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .az-child-gifts-home__category img { max-height: 300px; }
  .az-child-gifts-home__category-label { bottom: 0; }
  .az-child-gifts-home__post { grid-template-columns: 110px minmax(0, 1fr); gap: 16px; }
  .az-child-gifts-home__post h3 { margin-top: 0; }
  .az-child-gifts-home__customers { padding-bottom: 40px; }
  .az-child-gifts-home__customer-grid { gap: 16px; }
  .az-child-gifts-banner__tools { right: 10px; bottom: 3px; }
}
@media (prefers-reduced-motion: reduce) { .az-child-gifts-banner__arrow, .az-child-gifts-home__category > a::after { transition: none; } }
/* Optional media triptychs reproduce the reference's product category collages. */
.az-child-gifts-home__category-art { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.az-child-gifts-home__category-art > img { height: 100%; }
.az-child-gifts-home__category-art--collage > img { position: absolute; width: 58%; height: 60%; object-fit: contain; }
.az-child-gifts-home__category-art--collage > img:nth-child(1) { top: 0; left: -2%; }
.az-child-gifts-home__category-art--collage > img:nth-child(2) { top: 0; right: -2%; }
.az-child-gifts-home__category-art--collage > img:nth-child(3) { bottom: -5%; left: 15%; width: 80%; }
