/* KIIT School News & Events — Homepage News component */
.kise-home-news,
.kise-home-news * { box-sizing: border-box; }

.kise-home-news {
  --kise-green: #087b4b;
  --kise-green-dark: #035b3a;
  --kise-action-green: #079447;
  --kise-navy: #061f35;
  --kise-ink: #102538;
  --kise-text: #536476;
  --kise-muted: #778797;
  --kise-line: #dfe7ec;
  --kise-white: #fff;
  width: 100%;
  padding: clamp(66px, 7vw, 106px) 0;
  background: #fff;
  color: var(--kise-ink);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.45;
}
.kise-home-news a { color: inherit; text-decoration: none; }
.kise-home-news__inner { width: min(calc(100% - 48px), 1140px); margin-inline: auto; }
.kise-home-news__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 36px; margin-bottom: 46px; }
.kise-home-news__heading-wrap { max-width: 780px; min-width: 0; }
.kise-home-news__eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--kise-green-dark); font-family: Inter, "Helvetica Neue", Arial, sans-serif !important; font-size: 10px !important; font-weight: 850 !important; letter-spacing: .17em !important; line-height: 1.2 !important; text-transform: uppercase !important; }
.kise-home-news__eyebrow > span { width: 27px; height: 2px; flex: 0 0 27px; background: var(--kise-green); }

/* Strong specificity + !important is deliberate: Avada global H2 typography can otherwise shrink this heading. */
.kise-home-news .kise-home-news__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--kise-ink) !important;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif !important;
  font-size: clamp(52px, 4.25vw, 64px) !important;
  font-style: normal !important;
  font-weight: 780 !important;
  letter-spacing: -.055em !important;
  line-height: .99 !important;
  text-align: left !important;
  text-transform: none !important;
}
.kise-home-news .kise-home-news__title-main,
.kise-home-news .kise-home-news__title-highlight {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-transform: none !important;
}
.kise-home-news .kise-home-news__title-highlight { margin-top: 7px !important; color: var(--kise-action-green) !important; }

.kise-home-news__view-all { display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-bottom: 7px; color: var(--kise-green-dark) !important; font-size: 12px; font-weight: 800; white-space: nowrap; }
.kise-home-news__view-all span,.kise-home-news__read span { transition: transform .2s ease; }
.kise-home-news__view-all:hover span,.kise-home-news__view-all:focus-visible span,.kise-home-news__read:hover span,.kise-home-news__read:focus-visible span { transform: translateX(4px); }
.kise-home-news__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: stretch; }
.kise-home-news__card { min-width: 0; overflow: hidden; display: flex; flex-direction: column; background: var(--kise-white); border: 1px solid var(--kise-line); border-radius: 22px; box-shadow: 0 8px 26px rgba(6,31,53,.025); }
.kise-home-news__media { position: relative; display: block; width: 100%; aspect-ratio: 1.48/1; overflow: hidden; background: linear-gradient(135deg,#0a2a44,#087b4b); }
.kise-home-news__media img { width: 100%; height: 100%; display: block; object-fit: cover; transform: scale(1.001); transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.kise-home-news__card:hover .kise-home-news__media img { transform: scale(1.035); }
.kise-home-news__media::after { content: ""; position: absolute; inset: auto 0 0; height: 36%; pointer-events: none; background: linear-gradient(to top,rgba(4,22,37,.42),transparent); }
.kise-home-news__media-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: rgba(255,255,255,.94); letter-spacing: .12em; }
.kise-home-news__media-fallback b { font-size: 30px; line-height: 1; }
.kise-home-news__media-fallback small { margin-top: 8px; font-size: 10px; font-weight: 800; }
.kise-home-news__badge { position: absolute; left: 16px; bottom: 14px; z-index: 2; max-width: calc(100% - 32px); overflow: hidden; padding: 7px 10px 6px; border: 1px solid rgba(255,255,255,.09); border-radius: 999px; background: rgba(5,31,50,.9); color: #fff; font-size: 8px; font-weight: 800; letter-spacing: .11em; line-height: 1; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; backdrop-filter: blur(5px); }
.kise-home-news__body { flex: 1; display: flex; flex-direction: column; padding: 22px 21px 25px; }
.kise-home-news__meta { min-height: 15px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 13px; color: #8190a0; font-size: 8.5px; font-style: normal; font-weight: 800; letter-spacing: .09em; line-height: 1.25; text-transform: uppercase; }
.kise-home-news__meta > span { width: 4px; height: 4px; flex: 0 0 4px; border-radius: 50%; background: var(--kise-action-green); }
.kise-home-news__meta em { color: #748393; font-style: normal; }
.kise-home-news .kise-home-news__body h3 { margin: 0 !important; color: var(--kise-navy) !important; font-family: Inter,"Helvetica Neue",Arial,sans-serif !important; font-size: clamp(19px,1.65vw,24px) !important; font-weight: 780 !important; letter-spacing: -.035em !important; line-height: 1.23 !important; text-transform: none !important; }
.kise-home-news__body h3 a:hover,.kise-home-news__body h3 a:focus-visible { color: var(--kise-green-dark); }
.kise-home-news__body p { margin: 20px 0 0 !important; color: var(--kise-text) !important; font-size: 12.5px !important; line-height: 1.65 !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.kise-home-news__read { display: inline-flex; align-items: center; gap: 9px; align-self: flex-start; margin-top: auto; padding-top: 22px; color: var(--kise-green-dark) !important; font-size: 11.5px; font-weight: 800; }
.kise-home-news a:focus-visible { outline: 2px solid #19a65b; outline-offset: 3px; border-radius: 3px; }
.kise-admin-front-notice { margin: 16px 0; padding: 12px 14px; border-left: 4px solid #d63638; background: #fff; color: #3c434a; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; }

@media (max-width:920px) {
  .kise-home-news__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kise-home-news__card:last-child:nth-child(odd) { grid-column: 1/-1; }
  .kise-home-news__card:last-child:nth-child(odd) .kise-home-news__media { aspect-ratio: 2/1; }
}
@media (max-width:720px) {
  .kise-home-news { padding: 58px 0 68px; }
  .kise-home-news__inner { width: calc(100% - 30px); }
  .kise-home-news__head { align-items: flex-start; flex-direction: column; gap: 21px; margin-bottom: 31px; }
  .kise-home-news .kise-home-news__title { font-size: clamp(38px,10vw,49px) !important; }
  .kise-home-news__view-all { margin: 0; }
  .kise-home-news__grid { grid-template-columns: 1fr; gap: 16px; }
  .kise-home-news__card:last-child:nth-child(odd) { grid-column: auto; }
  .kise-home-news__card:last-child:nth-child(odd) .kise-home-news__media,.kise-home-news__media { aspect-ratio: 1.55/1; }
  .kise-home-news__body { padding: 21px 19px 24px; }
  .kise-home-news .kise-home-news__body h3 { font-size: 21px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .kise-home-news *, .kise-home-news *::before, .kise-home-news *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
