/* WISE Journal 2.3.0 — Research Collections */
html.kalidaka-modern .wise-research-collections {
  margin: 2.75rem auto 2rem;
  max-width: 1400px;
  padding: 0 1.25rem;
}
html.kalidaka-modern .wise-research-collections__heading {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
html.kalidaka-modern .wise-research-collections__eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-weight: 700;
  color: #7d6a1c;
  margin-bottom: .4rem;
}
html.kalidaka-modern .wise-research-collections h2 {
  margin: 0;
  color: #173553;
  font-size: clamp(1.65rem, 2.3vw, 2.35rem);
}
html.kalidaka-modern .wise-research-collections__heading p {
  margin: .5rem 0 0;
  color: #496272;
  max-width: 760px;
}
html.kalidaka-modern .wise-research-collections__archive-link {
  color: #1f517d;
  font-weight: 700;
  text-decoration: none;
}
html.kalidaka-modern .wise-research-collections__toolbar {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 0 0 1.1rem;
}
html.kalidaka-modern .wise-research-collections__panel {
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
  border: 1px solid #d8e4ee;
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 18px 48px rgba(18, 50, 77, 0.08);
}
html.kalidaka-modern .wise-research-collections__panel-intro h3 {
  margin: 0 0 .35rem;
  color: #163552;
  font-size: 1.35rem;
}
html.kalidaka-modern .wise-research-collections__panel-intro p {
  margin: 0 0 1rem;
  color: #506775;
}
html.kalidaka-modern .wise-research-collections__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1rem;
}
html.kalidaka-modern .wise-research-collections__card {
  background: #fff;
  border: 1px solid #dce7ef;
  border-radius: 18px;
  padding: 1rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
html.kalidaka-modern .wise-research-collections__meta {
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
  margin-bottom: .7rem;
}
html.kalidaka-modern .wise-research-collections__meta span,
html.kalidaka-modern .wise-research-collections__section {
  font-size: .78rem;
  color: #2a5f88;
  background: #eef5fa;
  border-radius: 999px;
  padding: .28rem .58rem;
}
html.kalidaka-modern .wise-research-collections__card h4 {
  margin: 0 0 .65rem;
  font-size: 1rem;
  line-height: 1.45;
}
html.kalidaka-modern .wise-research-collections__card h4 a {
  color: #173553;
  text-decoration: none;
}
html.kalidaka-modern .wise-research-collections__card h4 a:hover {
  color: #23537c;
}
html.kalidaka-modern .wise-research-collections__card p {
  margin: .75rem 0 0;
  color: #5c7281;
  line-height: 1.55;
}
html.kalidaka-modern .wise-research-collections__action {
  margin-top: auto;
  padding-top: .95rem;
  font-weight: 700;
  color: #1d517c;
  text-decoration: none;
}
html.kalidaka-modern .wise-research-collections__empty {
  padding: 1rem 1.2rem;
  border: 1px dashed #bdd0df;
  background: #f8fbfd;
  border-radius: 16px;
  color: #466170;
}
@media (max-width: 1200px) {
  html.kalidaka-modern .wise-research-collections__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  html.kalidaka-modern .wise-research-collections { padding: 0 .9rem; }
  html.kalidaka-modern .wise-research-collections__grid { grid-template-columns: 1fr; }
  html.kalidaka-modern .wise-research-collections__panel { padding: 1rem; }
}

/* Collection counts describe the full accessible list, not just the preview. */
html.kalidaka-modern .wise-research-collections [hidden] { display:none !important; }
html.kalidaka-modern .wise-research-collections__count { font-size:.88rem; color:#506775; margin:.4rem 0 1rem; }
html.kalidaka-modern .wise-research-collections__controls { display:flex; flex-wrap:wrap; gap:.7rem; align-items:center; justify-content:center; margin:1.25rem 0 0; }
html.kalidaka-modern .wise-research-collections__controls button { border:1px solid #294e72; border-radius:8px; padding:.65rem 1rem; color:#234e74; background:#fff; font-weight:700; cursor:pointer; }
html.kalidaka-modern .wise-research-collections__controls button:hover, html.kalidaka-modern .wise-research-collections__controls button:focus-visible { color:#fff; background:#234e74; }

/* 2.3.2 — keyword metadata is visually subordinate to article titles. */
html.kalidaka-modern body .wise-research-collections .wise-research-collections__card p.wise-research-collections__keywords {
  font-size: 13px !important;
  line-height: 1.55 !important;
  font-weight: 400 !important;
  margin: .55rem 0 0 !important;
  color: #526c7c !important;
  overflow-wrap: anywhere;
}

/* 2.3.6 — Thematic Research Explorer. Scoped to the public collections section. */
html.kalidaka-modern body .wise-research-collections {
  --wise-rc-accent: #294e72;
  --wise-rc-ink: #173553;
  --wise-rc-muted: #526c7c;
  --wise-rc-line: #d7e3ed;
  width: 100%; max-width: none; box-sizing: border-box;
}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__toolbar {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin-bottom:18px;
}
/* 2.3.7 — Modern Dual Tone: theme name and article count are separate visual fields. */
html.kalidaka-modern body #wise-research-collections .wise-research-collections__toolbar {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; align-items:stretch;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip {
  appearance:none; position:relative; display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(68px,30%); align-items:stretch;
  gap:0 !important; padding:0 !important; margin:0; width:100%; min-width:0; min-height:116px;
  height:auto; box-sizing:border-box; overflow:hidden; text-align:left; white-space:normal;
  border:1px solid #d2dfeb !important; border-radius:14px !important;
  background:#fff !important; color:#294b73 !important; cursor:pointer;
  font-family:inherit; font-weight:600; line-height:1.4;
  box-shadow:0 3px 10px rgba(24,53,80,.045);
  transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip::after {
  content:""; position:absolute; inset:auto 0 0; height:3px; background:#dce6f0;
  pointer-events:none; transition:background-color .2s ease;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip > span,
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip > span span {
  box-sizing:border-box; margin:0; border-radius:0; min-width:0; white-space:normal;
  color:inherit; background:transparent; border:0; padding:0; line-height:inherit;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-main {
  display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
  gap:9px; padding:15px 12px 17px 15px; text-align:left;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-name {
  display:block; font-size:14px !important; font-weight:700; line-height:1.35;
  overflow-wrap:anywhere; word-break:normal;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-hint {
  display:flex; align-items:center; gap:5px; font-size:11px !important; font-weight:500; color:#59738e;
  line-height:1.25;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-arrow {
  display:inline-block; font-size:13px; transition:transform .2s ease;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-count {
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px;
  padding:12px 5px 15px; background:#e9f0f8 !important; border-left:1px solid #d2dfeb;
  text-align:center; transition:background-color .2s ease;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-number {
  display:block; font-size:clamp(24px,2vw,30px) !important; font-weight:750; line-height:1.05;
  font-variant-numeric:tabular-nums; letter-spacing:-.025em;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip .wise-rc-topic-unit {
  display:block; font-size:11px !important; font-weight:500; color:#59738e; line-height:1.3; white-space:nowrap;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip.is-active {
  background:#294b73 !important; color:#fff !important; border-color:#294b73 !important;
  box-shadow:0 6px 16px rgba(24,53,80,.16);
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip.is-active .wise-rc-topic-count {
  background:#1b3656 !important; border-left-color:#64809e;
}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip.is-active .wise-rc-topic-hint,
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip.is-active .wise-rc-topic-unit {color:#dce9f6 !important;}
html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip.is-active::after {background:#d1af5b;}
@media (hover:hover) and (pointer:fine) {
  html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip:hover {
    transform:translateY(-3px); box-shadow:0 9px 20px rgba(24,53,80,.12); border-color:#92acc6 !important;
  }
  html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip:not(.is-active):hover .wise-rc-topic-count {background:#dce8f4 !important;}
  html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip:hover .wise-rc-topic-arrow {transform:translateX(3px);}
}
@media (max-width:1100px) {
  html.kalidaka-modern body #wise-research-collections .wise-research-collections__toolbar {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:600px) {
  html.kalidaka-modern body #wise-research-collections .wise-research-collections__toolbar {grid-template-columns:minmax(0,1fr); gap:9px;}
  html.kalidaka-modern body #wise-research-collections button.wise-research-collections__chip {min-height:92px;}
}
html.kalidaka-modern body .wise-research-collections button:focus-visible, html.kalidaka-modern body .wise-research-collections a:focus-visible {outline:2px solid #477ba7; outline-offset:3px;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__panel {padding:clamp(14px,2vw,26px); border-radius:16px; background:#f7f9fc; box-shadow:none;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__panel.is-active {animation:wise-rc-reveal .24s ease-out;}
@keyframes wise-rc-reveal {from {opacity:.45; transform:translateY(4px);} to {opacity:1; transform:translateY(0);}}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__list-toolbar {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; margin:14px 0;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__count {font-size:13px; margin:0;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__view-switch {display:inline-flex; gap:2px; background:#eaf0f5; padding:3px; border-radius:8px; border:1px solid #d7e3ed;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__view-switch button {display:inline-flex; align-items:center; gap:6px; font-size:12px; line-height:1.3; font-weight:600; background:transparent; border:0; border-radius:5px; color:#294e72; padding:7px 10px; cursor:pointer;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__view-switch button[aria-pressed="true"] {background:#fff; color:#173553; box-shadow:0 1px 4px rgba(24,53,80,.12);}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__grid {gap:14px; align-items:stretch;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__card {position:relative; min-width:0; min-height:0; box-sizing:border-box; padding:16px; border-radius:12px; border:1px solid var(--wise-rc-line); border-top:3px solid #86a7bf; box-shadow:0 2px 8px rgba(24,53,80,.035); transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease; overflow-wrap:anywhere;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__card:focus-within {border-top-color:#294e72; box-shadow:0 5px 18px rgba(24,53,80,.10);}
@media (hover:hover) {html.kalidaka-modern body .wise-research-collections .wise-research-collections__card:hover {transform:translateY(-3px); border-color:#9bb8cc; border-top-color:#294e72; box-shadow:0 8px 20px rgba(24,53,80,.10);}}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__meta {margin-bottom:10px;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__meta span {font-size:11px; line-height:1.45; font-weight:500; padding:4px 7px; border-radius:5px; background:#edf3f7; max-width:100%;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__card h4 {font-size:15px; line-height:1.5; margin:0 0 8px; font-weight:700;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__section {align-self:flex-start; font-size:11px; line-height:1.4; padding:0; background:transparent; color:#526c7c; border-radius:0;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__action {font-size:13px; line-height:1.5; padding-top:14px; display:flex; gap:8px; align-items:center; align-self:flex-start;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__action span {transition:transform .18s ease;}
html.kalidaka-modern body .wise-research-collections .wise-research-collections__action:hover span {transform:translateX(4px);}
html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__grid {grid-template-columns:minmax(0,1fr); gap:8px;}
html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__card {display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:20px; row-gap:4px; border-top:1px solid var(--wise-rc-line); border-left:3px solid #86a7bf; padding:13px 16px;}
html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__card > :not(.wise-research-collections__action) {grid-column:1; margin:0;}
html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__action {grid-column:2; grid-row:1 / span 4; align-self:center; margin:0; padding:0; white-space:nowrap;}
html.kalidaka-modern body .wise-research-collections [hidden] {display:none !important;}
@media(max-width:1100px) {html.kalidaka-modern body .wise-research-collections .wise-research-collections__toolbar {grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px) {
  html.kalidaka-modern body .wise-research-collections .wise-research-collections__toolbar {grid-template-columns:1fr; gap:7px;}
  html.kalidaka-modern body .wise-research-collections .wise-research-collections__grid {grid-template-columns:1fr;}
  html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__card {grid-template-columns:1fr;}
  html.kalidaka-modern body .wise-research-collections.wise-collections-list-view .wise-research-collections__action {grid-column:1;grid-row:auto;margin-top:6px;}
}
@media(prefers-reduced-motion:reduce) {html.kalidaka-modern body .wise-research-collections *,html.kalidaka-modern body .wise-research-collections *:hover {animation:none !important;transition:none !important;transform:none !important;}}
