/* ============================================
   Common Insight Category Page CSS
   Shared across: Usage & Perception, Retail & Purchasing,
   Australian Consumer Needs, International Consumer Needs
   ============================================ */

/* === Banner === */

#featured-resources {
  margin-bottom: 0px !important;
}

.pillar-wt-banner {
  position: relative;
  width: 100%;
  height: 482px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.pillar-wt-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, 0.20) 14.42%, rgba(0, 0, 0, 0.00) 100%);
  z-index: 1;
}


.pillar-wt-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.pillar-wt-banner-title {
    font-family: var(--font-family, 'Urbanist', sans-serif);
    font-size: 50px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    color: #FFF;
    text-align: center;
    margin: 0 0 16px 0;
}

.pillar-wt-banner-sub {
  font-family: var(--font-family, 'Urbanist', sans-serif);
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    margin: 0 auto;
    max-width: 590px;
    line-height: 1.4;
}

/* === Featured Resources === */
.pillar-wt-featured {
  padding: 60px 0 30px 0;
}

.pillar-wt-featured-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  gap: 10px;
}

.pillar-wt-featured-sub-header{
  font-family:var(--font-family,'Urbanist',sans-serif);
  font-size:20px;
  color:#666;
  margin:0 !important;
}

.pillar-wt-featured-header-left {
  flex: 1;
}

.pillar-wt-featured-title {
  font-family: var(--font-family, 'Urbanist', sans-serif);
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 6px 0;
}

.pillar-wt-btn-viewall {
  font-family: var(--font-family, 'Urbanist', sans-serif);
  font-size: 15px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.pillar-wt-btn-viewall:hover {
  color: #fff;
  text-decoration: none;
}

/* IH12 — replace browser default focus/active with 10% black overlay */
.pillar-wt-btn-viewall:active,
.pillar-wt-btn-viewall:focus {
  box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.1);
  outline: none;
  text-decoration: none;
}

#featured-resources h5 {
  margin: 0px 0px 5px 0px !important;
}

/* Slick slide spacing */
.pillar-wt-featured .slick-initialized .slick-slide {
  margin: 0px !important;
}

/* Card styling */
.pillar-wt-featured .card {
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  border: none;
  box-shadow: none;
}

.pillar-wt-featured .card:hover {
  box-shadow: none;
}

.pillar-wt-featured .card a {
  text-decoration: none;
  color: #333;
  display: block;
}

.pillar-wt-featured .card a:hover {
  text-decoration: none;
  color: #333;
}

.pillar-wt-featured .card-img-wrap {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

div#featured-resources .slick-track {
  gap: 30px !important;
}

/* IR03.6 — explicit center object-position for card images */
.pillar-wt-featured .card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 10px !important;
}

/* Play button overlay */
.pillar-wt-featured .card-img-wrap::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(0, 0, 0, 0.45);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.pillar-wt-featured .card-img-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-38%, -50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 0 8px 14px;
  border-color: transparent transparent transparent #fff;
  z-index: 3;
  pointer-events: none;
}

/* Card category pill — IR03: remove L+R 16px so content aligns with image */
.pillar-wt-featured .card h5 {
  font-family: var(--font-family, 'Urbanist', sans-serif);
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
  margin: 0px 0p 5px 0px !important;
}

/* Card text — IR03: remove L+R 16px */
.pillar-wt-featured .card p {
  font-family: var(--font-family, 'Urbanist', sans-serif);
  font-size: 20px !important;
  font-weight: 400 !important;
  color: #4F5252 !important;
  margin: 0 0 16px;
  line-height: 1.4;
}

.pillar-wt-featured .card p:first-of-type {
  font-weight: 700;
  color: #333;
  margin-bottom: 4px;
}

/* Slick arrows */
.pillar-wt-featured .slick-prev,
.pillar-wt-featured .slick-next {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  background: #fff !important;
  border: 2px solid rgba(12, 12, 13, 0.1) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  z-index: 5 !important;
  font-size: 0 !important;
  color: transparent !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s !important;
  opacity: 1 !important;
  padding: 0 !important;
  margin-top: -25px !important;
}

.pillar-wt-featured .slick-prev::before,
.pillar-wt-featured .slick-next::before {
  content: '' !important;
  display: block !important;
  width: 12px !important;
  height: 12px !important;
  border-right: 3px solid #555 !important;
  border-bottom: 3px solid #555 !important;
  border-left: none !important;
  border-top: none !important;
  border-radius: 2px !important;
  font-family: initial !important;
  font-size: 0 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  color: transparent !important;
  -webkit-font-smoothing: initial !important;
}

.pillar-wt-featured .slick-prev::before {
  transform: rotate(135deg) !important;
  margin-left: 4px !important;
}

.pillar-wt-featured .slick-next::before {
  transform: rotate(-45deg) !important;
  margin-right: 4px !important;
}

.pillar-wt-featured .slick-prev:hover,
.pillar-wt-featured .slick-next:hover {
  background: #fff !important;
  border-color: rgba(12, 12, 13, 0.15) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
}

.pillar-wt-featured .slick-prev:hover::before,
.pillar-wt-featured .slick-next:hover::before {
  border-color: #333 !important;
}

.pillar-wt-featured .slick-prev {
  left: -20px !important;
}

.pillar-wt-featured .slick-next {
  right: -20px !important;
}

/* Pillar image override */
.pillar-page .pillar-main-content .pillar-main-right img {
  box-shadow: none !important;
  border: 1px solid #d1d1d1;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  .pillar-wt-banner {
    height: 550px;
  }

  .pillar-wt-banner-title {
    font-size: 50px;
  }

  .pillar-wt-banner-sub {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .pillar-wt-banner {
    height: 450px;
  }

  .pillar-wt-banner-title {
    font-size: 40px;
  }

  .pillar-wt-banner-sub {
    font-size: 16px;
  }

  .pillar-wt-featured {
    padding: 40px 0 20px 0;
  }

  .pillar-wt-featured-title {
    font-size: 28px;
  }

  .pillar-wt-featured-header {
    flex-direction: column;
    gap: 12px;
  }

  .pillar-wt-featured .slick-prev {
    left: 8px !important;
  }

  .pillar-wt-featured .slick-next {
    right: 8px !important;
  }

  .pillar-wt-featured .slick-prev,
  .pillar-wt-featured .slick-next {
    width: 44px !important;
    height: 44px !important;
  }
}

@media (max-width: 480px) {
  .pillar-wt-banner {
    height: 380px;
  }

  .pillar-wt-banner-title {
    font-size: 32px;
  }

  .pillar-wt-banner-sub {
    font-size: 15px;
  }

  .pillar-wt-banner-inner {
    padding: 0 16px;
  }

  .pillar-wt-featured {
    padding: 30px 0 15px 0;
  }

  .pillar-wt-featured-title {
    font-size: 24px;
  }

  .pillar-wt-btn-viewall {
    width: 100%;
    text-align: center;
  }
}
