/* Reusable sections, page-hero, pills, filters and responsive helpers - iKNOWLEDGY | Editable source CSS */

.split-heading {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 70px;
  align-items: end;
  margin-bottom: 33px;
}

.split-heading h2 {
  margin-top: 10px;
  max-width: 550px;
}

.split-heading>p {
  font-size: 1rem;
  max-width: 400px;
  line-height: 1.9;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.pillar {
  min-height: 177px;
  background: #ecf7f4;
  padding: 20px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s;
}

.pillar:hover {
  transform: translateY(-4px);
}

.pillar-amber {
  background: #fff3dd;
}

.pillar-coral {
  background: #fbece5;
}

.pillar-blue {
  background: #e9eff9;
}

.pillar-icon {
  font-size: 1.5rem;
  color: var(--teal);
  margin-bottom: 21px;
}

.pillar-amber .pillar-icon {
  color: #c78e29;
}

.pillar-coral .pillar-icon {
  color: var(--coral);
}

.pillar-blue .pillar-icon {
  color: var(--blue);
}

.pillar-num {
  position: absolute;
  right: 17px;
  top: 15px;
  color: rgba(21,43,85,.25);
  font-size: .7rem;
  font-weight: 900;
}

.pillar h3 {
  font-size: 1.02rem;
}

.pillar p {
  font-size: .77rem;
  margin-top: 4px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.service-card {
  min-height: 240px;
  border-radius: 17px;
  background: #fff;
  border: 1px solid #e9eef2;
  padding: 23px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 18px rgba(21,43,85,.025);
  transition: transform .22s,box-shadow .22s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 49px;
  height: 49px;
  background: #ddf4ef;
  color: var(--teal);
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.service-amber .service-icon {
  background: #fff1d6;
  color: #c48928;
}

.service-blue .service-icon {
  background: #e9edfa;
  color: var(--blue);
}

.service-coral .service-icon {
  background: #faece7;
  color: var(--coral);
}

.service-index {
  position: absolute;
  top: 26px;
  right: 19px;
  color: #a4b0bd;
  font-size: .66rem;
  letter-spacing: .09em;
  font-weight: 800;
}

.service-card h3 {
  font-size: .99rem;
  line-height: 1.45;
  margin-bottom: 7px;
  max-width: 210px;
}

.service-card p {
  font-size: .79rem;
  line-height: 1.73;
}

.service-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 34%;
  height: 4px;
  border-radius: 10px;
  background: var(--teal);
}

.service-amber .service-line {
  background: var(--amber);
}

.service-blue .service-line {
  background: var(--blue);
}

.service-coral .service-line {
  background: var(--coral);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 18px;
}

.story-card {
  background: white;
  border: 1px solid #e9edf0;
  border-radius: 17px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s,box-shadow .2s;
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.story-img {
  height: 208px;
  position: relative;
  overflow: hidden;
  display: block;
  background: #e8eff2;
}

.story-img>img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s;
}

.story-img:hover>img {
  transform: scale(1.065);
}

.image-corner {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  color: var(--navy);
  font-size: .7rem;
}

.image-placeholder {
  height: 100%;
  width: 100%;
  position: relative;
  background: linear-gradient(125deg,#fce3ab,#c9e7e5);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.image-placeholder>img {
  height: 105px;
  width: 105px;
  object-fit: contain;
  opacity: .9;
  filter: drop-shadow(0 12px 8px rgba(23,48,89,.10));
}

.placeholder-orbit {
  position: absolute;
  border: 26px solid rgba(255,255,255,.34);
  width: 230px;
  height: 230px;
  border-radius: 100%;
  right: -90px;
  top: -70px;
}

.story-body {
  padding: 18px 20px 21px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.story-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #8796a4;
  font-size: .72rem;
  font-weight: 800;
  margin-bottom: 13px;
}

.story-body h3 {
  font-size: 1.09rem;
  line-height: 1.4;
  margin-bottom: 9px;
}

.story-body h3 a:hover {
  color: var(--teal);
}

.story-body p {
  font-size: .79rem;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 19px;
}

.text-link {
  color: var(--teal);
  font-size: .77rem;
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.text-link:hover {
  color: var(--navy);
}

.cta-strip {
  padding: 0 0 75px;
  background: #fff;
}

.cta-panel {
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  background: var(--navy);
  color: #fff;
  padding: 35px 46px;
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
}

.cta-panel h2 {
  font-size: clamp(1.45rem,2.6vw,2.28rem);
  color: #fff;
  margin: 6px 0 8px;
}

.cta-panel p {
  color: #d5e2ed;
  font-size: .87rem;
}

.cta-panel>* {
  position: relative;
  z-index: 2;
}

.cta-shape {
  position: absolute;
  right: 25%;
  top: -95px;
  width: 260px;
  height: 260px;
  border: 50px solid rgba(43,154,154,.42);
  border-radius: 50%;
  z-index: -1;
}

.page-hero {
  background: linear-gradient(105deg,#f2f9f8 0%,#fffaf1 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e8eff1;
}

.page-hero-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  min-height: 278px;
  align-items: center;
  gap: 30px;
}

.page-hero-copy {
  padding: 38px 0;
}

.page-hero h1 {
  font-size: clamp(2rem,3.65vw,3.45rem);
  margin: 13px 0 12px;
  line-height: 1.17;
  max-width: 800px;
}

.page-hero p {
  font-size: .99rem;
  line-height: 1.82;
  max-width: 660px;
}

.page-hero-art {
  height: 236px;
  position: relative;
  display: grid;
  place-items: center;
}

.page-hero-k {
  position: relative;
  height: 128px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 17px 16px rgba(21,43,85,.11));
  transform: rotate(-7deg);
}

.modular-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.modular-decoration>span {
  position: absolute;
  border-radius: 20px;
  transform: rotate(28deg);
}

.modular-decoration>span:nth-child(1) {
  width: 125px;
  height: 115px;
  right: 20%;
  top: 4%;
  background: #fbe2a9;
}

.modular-decoration>span:nth-child(2) {
  width: 115px;
  height: 105px;
  left: 8%;
  bottom: 1%;
  background: #cbe9e5;
}

.modular-decoration>span:nth-child(3) {
  width: 72px;
  height: 57px;
  right: 6%;
  bottom: 13%;
  background: #e7b5a5;
}

.modular-decoration>span:nth-child(4) {
  width: 23px;
  height: 23px;
  left: 20%;
  top: 12%;
  background: var(--amber);
  border-radius: 50%;
}

.art-ring {
  position: absolute;
  border: 2px dashed rgba(36,69,130,.18);
  width: 217px;
  height: 217px;
  border-radius: 50%;
  z-index: 1;
}

.ring-two {
  width: 174px;
  height: 174px;
  border-style: solid;
  border-color: rgba(255,255,255,.9);
}

.empty-state {
  border: 1px dashed #c9dce1;
  background: #f9fcfb;
  border-radius: 20px;
  min-height: 240px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 30px 20px;
}

.empty-visual {
  width: 70px;
  height: 70px;
  background: #e5f2f0;
  border-radius: 18px;
  display: grid;
  place-items: center;
  transform: rotate(-7deg);
  margin-bottom: 15px;
}

.empty-visual img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.empty-state h3 {
  font-size: 1.1rem;
}

.empty-state p {
  font-size: .85rem;
  max-width: 450px;
  margin: 10px auto 18px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 18px;
}

.listing-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 210px 1fr;
  overflow: hidden;
  min-height: 230px;
}

.listing-thumb>img, .listing-thumb>.image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-info {
  padding: 19px;
}

.listing-info h3 {
  margin-top: 14px;
}

.listing-info p {
  font-size: .84rem;
  margin: 9px 0 19px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 17px;
}

.category-card {
  border-radius: 18px;
  padding: 29px;
  background: #ecf7f3;
  min-height: 201px;
}

.category-card.amber {
  background: #fff2dd;
}

.category-card.coral {
  background: #fbece6;
}

.category-icon {
  color: var(--teal);
  font-size: 1.6rem;
  margin-bottom: 23px;
}

.category-card.amber .category-icon {
  color: #b9872c;
}

.category-card.coral .category-icon {
  color: var(--coral);
}

.category-card h3 {
  margin-bottom: 7px;
}

.category-card p {
  font-size: .83rem;
}

.memories-page {
  min-height: 540px;
}

.filter-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 25px;
}

.filter-head h2 {
  font-size: 1.7rem;
  margin-top: 7px;
}

.search-input {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #dbe5eb;
  border-radius: 12px;
  padding: 0 15px;
  height: 46px;
  min-width: 265px;
  color: var(--teal);
}

.search-input input {
  background: transparent;
  border: 0;
  outline: none;
  width: 100%;
  min-width: 0;
  font-size: .8rem;
  color: var(--navy);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.filter-pill {
  background: #f1f5f5;
  border: 1px solid #e0e9e9;
  color: #50657a;
  border-radius: 100px;
  padding: 10px 17px;
  font-size: .79rem;
  font-weight: 800;
  transition: all .2s;
}

.filter-pill:hover {
  background: #dbece8;
}

.filter-pill.active {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.result-count {
  font-size: .78rem;
  font-weight: 700;
  color: #8895a1;
  margin-bottom: 18px;
}

.memories-page .stories-grid {
  align-items: start;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  font-size: .81rem;
  font-weight: 850;
  margin-bottom: 25px;
}

.back-link:hover {
  color: var(--navy);
}

.source-alert {
  display: flex;
  gap: 10px;
  align-items: start;
  background: #fff8eb;
  border: 1px solid #f3dfb9;
  color: #876c37;
  padding: 14px;
  border-radius: 11px;
  font-size: .76rem;
  line-height: 1.65;
  margin-top: 17px;
}

.source-alert>i {
  font-size: 1.03rem;
  flex: none;
  margin-top: 2px;
}

@media (max-width:1190px) {
  .container {
    width: min(1110px,calc(100% - 46px));
  }

  .desktop-nav {
    gap: 15px;
  }

  .site-logo img {
    width: 166px;
  }

  .nav-shell {
    gap: 11px;
  }

  .nav-link {
    font-size: .76rem;
  }

  .header-cta {
    padding: 9px 12px;
  }

}

@media (max-width:1020px) {
  .desktop-nav, .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-shell {
    height: 70px;
  }

  .service-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .stories-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 26px;
  }

  .footer-contact {
    grid-column: 1/-1;
  }

}

@media (max-width:760px) {
  .container {
    width: calc(100% - 36px);
  }

  .section-pad {
    padding: 58px 0;
  }

  .pillars {
    grid-template-columns: repeat(2,1fr);
  }

  .pillar {
    min-height: 158px;
    padding: 19px;
  }

  .pillar-icon {
    margin-bottom: 12px;
  }

  .service-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 224px;
  }

  .stories-grid {
    gap: 13px;
  }

  .story-img {
    height: 175px;
  }

  .story-body {
    padding: 15px;
  }

  .partner-strip {
    display: grid;
    grid-template-columns: repeat(2,1fr);
  }

  .cta-strip {
    padding-bottom: 48px;
  }

  .cta-panel {
    padding: 27px;
    flex-direction: column;
    align-items: flex-start;
  }

  .page-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .page-hero-copy {
    padding: 38px 0 31px;
  }

  .page-hero-art {
    display: none;
  }

  .page-hero h1 {
    font-size: clamp(2.1rem,8vw,3rem);
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    min-height: 0;
    padding: 25px;
  }

  .category-icon {
    margin-bottom: 12px;
  }

  .event-detail-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
  }

  .event-detail-art {
    display: none;
  }

  .source-alert {
    margin-top: 0;
  }

  .agenda-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .agenda-filter-fields {
    width: 100%;
  }

  .agenda-filter-fields label {
    width: 50%;
  }

  .agenda-filter-fields select {
    min-width: 0;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .footer-contact {
    grid-column: 1/-1;
  }

}

@media (max-width:510px) {
  .container {
    width: calc(100% - 30px);
  }

  .nav-shell {
    height: 66px;
  }

  .site-logo img {
    width: 161px;
  }

  .nav-actions {
    gap: 6px;
  }

  .hero-buttons .btn {
    font-size: .74rem;
    padding: 10px 13px;
  }

  .section-heading h2 {
    font-size: 1.85rem;
  }

  .pillars {
    gap: 10px;
  }

  .pillar {
    padding: 16px;
    min-height: 153px;
  }

  .pillar h3 {
    font-size: .92rem;
  }

  .pillar p {
    font-size: .7rem;
  }

  .service-grid, .stories-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 22px;
  }

  .story-img {
    height: 208px;
  }

  .partner-strip {
    gap: 10px;
  }

  .cta-panel {
    padding: 24px;
  }

  .cta-panel h2 {
    font-size: 1.65rem;
  }

  .footer-invite-inner {
    flex-direction: column;
    align-items: start;
  }

  .footer-grid {
    gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }

  .event-facts {
    gap: 17px;
  }

  .session-card {
    grid-template-columns: 1fr 25px;
    gap: 10px;
    padding: 17px;
  }

  .session-info {
    grid-column: 1;
  }

  .session-symbol {
    grid-column: 2;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }

}

@media (max-width:510px) {
  .story-img {
    isolation: isolate;
  }

}

.event-registration {
  margin-top: 22px;
  padding: 20px 23px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.event-registration h3 {
  font-size: 1.07rem;
  margin: 6px 0;
}

.event-registration p {
  font-size: .78rem;
  max-width: 680px;
}

@media (max-width:760px) {
  .event-registration {
    align-items: flex-start;
    flex-direction: column;
  }

}

.btn .icon {
  width: 1em;
  height: 1em;
}

.event-ticket .btn {
  width: 100%;
  justify-content: center;
}

@keyframes ikSponsorsMove {
  to {
    transform: translateX(-50%);
  }

}

.event-agenda-card>.text-link {
  font-size: .73rem;
  display: inline-flex;
  margin-top: 15px;
}

