/* ============================================================
   Shaksham Taneja: engineering archive
   Theme: Warm Champagne & Dark Luxury
   Reference: Apple Docs × Linear × Stripe Docs × arXiv
   ============================================================ */
:root {
  --bg: #090909;
  --surface: #111214;
  --card: #17181C;
  --card-2: #1F2026;
  --border: #2A2A2E;
  --border-soft: #1E1E22;
  --text: #F2F1ED;
  --text-2: #A9A59D;
  --muted: #75716B;
  --accent: #C2B28F;
  --accent-hover: #D6C3A0;
  --link: #C2B28F;
  --link-hover: #D6C3A0;
  --success: #5FBF75;
  --warning: #E6B450;
  --danger: #E06C75;
  --head: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(1.25rem, 5vw, 5rem);
  --shadow: 0 8px 30px rgba(0, 0, 0, .35);
  --t: 150ms ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gut)
}

.wrap.narrow {
  max-width: 780px
}

::selection {
  background: rgba(194, 178, 143, .25)
}

section {
  padding: clamp(2.6rem, 5vw, 4.5rem) 0
}

img {
  max-width: 100%;
  height: auto;
  display: block
}

/* ---------- links ---------- */
a {
  color: inherit
}

.prose a,
.dl dd a,
p a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px
}

.prose a:hover {
  color: var(--accent-hover)
}

/* ---------- masthead ---------- */
.mast {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(9, 9, 9, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft)
}

.mast .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .7rem
}

.mast .sig {
  font-family: var(--head);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap
}

.mast nav {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem;
  justify-content: flex-end
}

.mast nav a {
  font-size: .82rem;
  font-weight: 450;
  text-decoration: none;
  color: var(--text-2);
  padding: .35rem .6rem;
  border-radius: 5px;
  transition: color var(--t), background var(--t);
  white-space: nowrap;
}

.mast nav a:hover {
  color: var(--text);
  background: var(--card)
}

.mast nav a[aria-current="page"] {
  color: var(--text);
  background: var(--card)
}

@media(max-width:760px) {
  .mast .wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem
  }

  .mast nav {
    justify-content: flex-start;
    margin-left: -.6rem
  }
}

/* ---------- typography ---------- */
h1,
h2,
h3,
h4 {
  font-family: var(--head);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--text)
}

.kicker,
.smallcaps {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--accent);
  text-transform: none;
}

.orn {
  height: 1px;
  background: var(--border-soft);
  margin: 1rem 0 1.4rem
}

.orn span {
  display: none
}

.page-head {
  padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(1.4rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--border-soft)
}

.page-head h1 {
  font-size: clamp(1.9rem, 1.35rem + 2.4vw, 3rem);
  margin-top: .8rem
}

.page-head h1 em,
h2 em,
h3 em {
  font-style: normal;
  color: var(--accent)
}

.page-head .dek {
  color: var(--text-2);
  margin-top: .8rem;
  max-width: 68ch;
  font-size: 1.02rem
}

.sec-head {
  margin-bottom: clamp(1.8rem, 3.5vw, 2.6rem)
}

.sec-head h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.3vw, 2rem)
}

/* ---------- prose ---------- */
.prose p {
  color: var(--text-2);
  margin-bottom: 1rem;
  max-width: 72ch
}

.prose p b,
.prose strong {
  font-weight: 600;
  color: var(--text)
}

.prose h3 {
  font-size: clamp(1.15rem, 1.05rem + .7vw, 1.45rem);
  margin: 2.2rem 0 .7rem
}

.prose h4 {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--accent);
  margin: 2rem 0 .8rem
}

.prose ul,
.prose ol {
  color: var(--text-2);
  margin: 0 0 1.1rem 1.15rem;
  max-width: 72ch
}

.prose li {
  margin-bottom: .4rem
}

.prose li b {
  color: var(--text);
  font-weight: 600
}

.prose blockquote {
  border-left: 2px solid var(--border);
  padding-left: 1.2rem;
  margin: 1.4rem 0;
  color: var(--text-2);
  max-width: 68ch
}

.lead {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 68ch;
  margin-bottom: 1.4rem
}

/* ---------- motion: fade only ---------- */
.js .rv {
  opacity: 0;
  transition: opacity var(--t)
}

.js .rv.in {
  opacity: 1
}

@media (prefers-reduced-motion:reduce) {
  .js .rv {
    opacity: 1 !important;
    transition: none
  }
}

/* ---------- hero ---------- */
.hero {
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--border-soft)
}

.hero h1 {
  font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem);
  margin: .9rem 0 0;
  letter-spacing: -.025em
}

.hero .disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.2rem
}

.hero .disciplines span {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--card);
  padding: .3rem .65rem;
  border-radius: 5px;
}

.hero .lede {
  max-width: 60ch;
  margin-top: 1.3rem;
  font-size: 1.05rem;
  color: var(--text-2)
}

.hero .lede b {
  font-weight: 600;
  color: var(--text)
}

.plate {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 1.1rem
}

.plate div {
  padding-right: clamp(1.2rem, 3vw, 2.6rem);
  margin-right: clamp(1.2rem, 3vw, 2.6rem);
  border-right: 1px solid var(--border-soft)
}

.plate div:last-child {
  border: 0;
  margin: 0;
  padding: 0
}

.plate .l {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted)
}

.plate .v {
  font-family: var(--head);
  font-weight: 500;
  font-size: .95rem;
  margin-top: .2rem
}

@media(max-width:640px) {
  .plate div {
    border: 0;
    padding: 0;
    margin: 0 1.6rem .6rem 0
  }
}

/* ---------- rows ---------- */
.rows {
  border-top: 1px solid var(--border-soft)
}

.row {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(1rem, 3vw, 2.6rem);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(0rem, 1vw, 1rem);
  border-bottom: 1px solid var(--border-soft);
  text-decoration: none;
  transition: background var(--t);
  border-radius: 6px;
}

a.row:hover {
  background: var(--surface)
}

.row .no {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted)
}

.row h3 {
  font-size: clamp(1.1rem, 1rem + .7vw, 1.4rem);
  margin: .4rem 0 .3rem
}

.row .role {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted)
}

.row p {
  color: var(--text-2);
  margin-bottom: .8rem;
  max-width: 68ch;
  font-size: .95rem
}

.row p:last-of-type {
  margin-bottom: 0
}

.row p b {
  font-weight: 600;
  color: var(--text)
}

@media(max-width:820px) {
  .row {
    grid-template-columns: 1fr;
    gap: .8rem
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .9rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--card);
  padding: .28rem .6rem;
  border-radius: 5px;
}

.pill::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted)
}

.pill.live {
  color: var(--success)
}

.pill.live::before {
  background: var(--success)
}

.pill.dev {
  color: var(--warning)
}

.pill.dev::before {
  background: var(--warning)
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-top: 1rem
}

.tags span {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  border: 1px solid var(--border-soft);
  padding: .24rem .55rem;
  border-radius: 4px
}

/* ---------- panels / cards ---------- */
.panel {
  display: block;
  text-decoration: none;
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: clamp(1.3rem, 3vw, 2rem);
  margin-bottom: 1rem;
  transition: background var(--t), border-color var(--t);
}

a.panel:hover {
  background: var(--card-2);
  border-color: #38383E
}

.panel .plabel {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem 1rem;
  margin-bottom: .9rem
}

.panel .plabel span {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted)
}

.panel .plabel span:first-child {
  color: var(--accent)
}

.panel h3 {
  font-size: clamp(1.15rem, 1.05rem + .8vw, 1.5rem);
  margin-bottom: .3rem;
  max-width: 30ch
}

.panel .sub {
  color: var(--text-2);
  margin-bottom: .9rem;
  font-size: .95rem
}

.panel p {
  color: var(--text-2);
  max-width: 76ch;
  font-size: .95rem
}

.panel p em {
  font-style: normal;
  color: var(--text)
}

.panel .go {
  position: absolute;
  top: clamp(1.3rem, 3vw, 2rem);
  right: clamp(1.3rem, 3vw, 2rem);
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--muted);
  transition: color var(--t)
}

a.panel:hover .go {
  color: var(--accent)
}

.figs {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3.5vw, 2.6rem);
  margin-top: 1.4rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-soft)
}

.figs .n {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  letter-spacing: -.02em
}

.figs .l {
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--muted);
  margin-top: .35rem
}

/* ---------- data list ---------- */
.dl {
  display: grid;
  grid-template-columns: minmax(8rem, 13rem) 1fr;
  gap: .55rem 1.4rem;
  margin: 1.3rem 0;
  font-size: .95rem
}

.dl dt {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
  padding-top: .15rem
}

.dl dd {
  color: var(--text-2)
}

@media(max-width:620px) {
  .dl {
    grid-template-columns: 1fr;
    gap: .1rem 0
  }

  .dl dd {
    margin-bottom: .8rem
  }
}

/* ---------- split ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.6rem, 4vw, 3rem)
}

.block h4 {
  font-family: var(--mono);
  font-size: .74rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.1rem
}

.entry {
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--border-soft)
}

.entry:last-child {
  border: 0;
  margin: 0;
  padding: 0
}

.entry .t {
  font-family: var(--head);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35
}

.entry .m {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  margin: .25rem 0 .45rem
}

.entry p {
  color: var(--text-2);
  font-size: .93rem
}

.slist {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0
}

.slist li {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--card);
  padding: .32rem .62rem;
  border-radius: 5px;
  transition: background var(--t)
}

.slist li:hover {
  background: var(--card-2)
}

/* ---------- academic & competition list ---------- */
.comp-list {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
}

.comp-list li {
  font-family: var(--body);
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.6;
  padding: 0.6rem 0 0.6rem 1.25rem;
  position: relative;
  border-bottom: 1px solid var(--border-soft);
}

.comp-list li:last-child {
  border-bottom: none;
}

.comp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.1rem;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.comp-list li b {
  color: var(--text);
  font-weight: 500;
}

/* ---------- evidence ---------- */
.evidence {
  margin-top: 1.3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft)
}

.evidence .h {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  margin-bottom: .6rem
}

.evidence ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin: 0
}

.evidence a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .74rem;
  text-decoration: none;
  color: var(--link);
  border: 1px solid var(--border);
  background: var(--card);
  padding: .34rem .62rem;
  border-radius: 5px;
  transition: background var(--t), border-color var(--t);
}

.evidence a:hover {
  background: var(--card-2);
  border-color: #38383E
}

.evidence a::after {
  content: "↗";
  font-size: .85em;
  color: var(--muted)
}

.evidence .pending {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--muted);
  border: 1px dashed var(--border);
  padding: .34rem .62rem;
  border-radius: 5px;
}

.evidence .pending::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--warning);
  opacity: .75
}

/* ---------- notice ---------- */
.notice {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  color: var(--text-2);
  margin: 1.2rem 0;
  font-size: .95rem
}

.notice .h {
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--accent);
  margin-bottom: .5rem
}

.notice p {
  margin-bottom: .7rem;
  max-width: 76ch
}

.notice p:last-child {
  margin: 0
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--body);
  font-size: .86rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 6px;
  padding: .55rem 1rem;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
  transition: background var(--t), border-color var(--t);
}

.btn:hover {
  background: var(--card-2);
  border-color: #38383E
}

.btn.ghost {
  background: transparent;
  color: var(--text-2)
}

.btn.ghost:hover {
  background: var(--card);
  color: var(--text)
}

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: 1.4rem
}

/* ---------- tables ---------- */
table.data {
  width: 100%;
  border-collapse: collapse;
  margin: 1.1rem 0;
  font-size: .9rem
}

table.data th,
table.data td {
  text-align: left;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--border-soft)
}

table.data th {
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  color: var(--muted)
}

table.data td {
  color: var(--text-2)
}

table.data td.num {
  font-family: var(--mono);
  font-size: .84rem;
  color: var(--text);
  white-space: nowrap
}

table.data tr:last-child td {
  border-bottom: 0
}

.scroller {
  overflow-x: auto
}

/* ---------- timeline ---------- */
.tl {
  border-left: 1px solid var(--border);
  margin-left: .35rem;
  padding-left: clamp(1.1rem, 3vw, 2rem)
}

.tl-year {
  position: relative;
  padding-bottom: 1.8rem
}

.tl-year::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(1.1rem, 3vw, 2rem) - 3.5px);
  top: .5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent)
}

.tl-year .y {
  font-family: var(--mono);
  font-size: .95rem;
  color: var(--accent);
  margin-bottom: .55rem
}

.tl-year ul {
  list-style: none;
  margin: 0
}

.tl-year li {
  padding: .4rem 0;
  border-bottom: 1px solid var(--border-soft);
  color: var(--text-2);
  font-size: .95rem
}

.tl-year li:last-child {
  border: 0
}

.tl-year li b {
  font-weight: 600;
  color: var(--text)
}

/* ---------- log / journal ---------- */
.log {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 8px;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  margin-bottom: .9rem
}

.log .v {
  font-family: var(--mono);
  font-size: .76rem;
  color: var(--accent);
  margin-bottom: .6rem
}

.log h3 {
  font-size: 1.05rem;
  margin-bottom: .8rem
}

.log dt {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted);
  margin-top: .85rem
}

.log dd {
  color: var(--text-2);
  margin-top: .15rem;
  max-width: 72ch;
  font-size: .95rem
}

/* ---------- contact band ---------- */
.contact-band {
  border-top: 1px solid var(--border-soft);
  background: var(--surface)
}

.contact-band .wrap {
  padding-block: clamp(2.6rem, 6vw, 4.5rem)
}

.contact-band h2 {
  font-size: clamp(1.4rem, 1.15rem + 1.4vw, 2.1rem);
  margin: .7rem 0 1.3rem
}

.contact-band h2 em {
  font-style: normal;
  color: var(--accent)
}

.mail {
  font-family: var(--mono);
  font-size: clamp(.95rem, .9rem + .35vw, 1.15rem);
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: 1.6rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border-soft)
}

.links a {
  font-family: var(--mono);
  font-size: .76rem;
  text-decoration: none;
  color: var(--text-2);
  border: 1px solid var(--border);
  background: var(--card);
  padding: .36rem .68rem;
  border-radius: 5px;
  transition: background var(--t);
}

.links a:hover {
  background: var(--card-2);
  color: var(--text)
}

footer.site {
  padding: 1.4rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.5rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-soft)
}

footer.site p {
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted)
}

footer.site .creed {
  display: flex;
  gap: .8rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--muted)
}



/* ═══════════════════════════════════════════════════════════════════
   ACADEMIC INTELLIGENCE & INSTITUTIONAL EXPOSURE (WARM CHAMPAGNE THEME)
   ═══════════════════════════════════════════════════════════════════ */

.cert-search-wrapper {
  position: relative;
  width: 100%;
  margin-top: 1.2rem;
}

.cert-search {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.4rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--body);
  font-size: 0.9rem;
  transition: border-color var(--t), background var(--t);
}

.cert-search:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--surface);
}

.certs-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1.2rem 0;
}

.cert-filter {
  font-family: var(--head);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
  padding: 0.4rem 0.85rem;
  background: var(--card);
  color: var(--text-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  cursor: pointer;
  transition: all var(--t);
}

.cert-filter:hover {
  background: var(--card-2);
  color: var(--text);
  border-color: var(--accent);
}

.cert-filter.active {
  background: var(--accent);
  color: #090909;
  border-color: var(--accent);
  font-weight: 500;
}

.cert-counter {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  margin: 1.4rem 0;
}

.cert-counter .big-num {
  font-family: var(--head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}

.cert-counter .big-label {
  font-family: var(--head);
  font-size: 0.88rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.cert-card {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  padding: 1.1rem;
  transition: border-color var(--t), transform var(--t);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cert-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.cert-card .cert-org {
  font-family: var(--head);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.cert-card .cert-name {
  font-family: var(--head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.cert-card .cert-meta {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-soft);
}

.cert-card .cert-link {
  color: var(--accent);
  text-decoration: none;
  font-family: var(--head);
  font-size: 0.75rem;
}

.cert-card .cert-link:hover {
  text-decoration: underline;
  color: var(--accent-hover);
}

.org-group {
  margin-bottom: 1.6rem;
}

.org-group-title {
  font-family: var(--head);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-soft);
}

.course-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 5px;
  margin-bottom: 0.4rem;
  transition: background var(--t), border-color var(--t);
}

.course-item:hover {
  background: var(--card-2);
  border-color: var(--border);
}

.course-item .c-name {
  font-family: var(--body);
  font-size: 0.88rem;
  color: var(--text-2);
}

/* Org Group Accordions & Logo Constraints */
.btn-secondary,
#btn-see-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.65rem 1.4rem;
  cursor: pointer;
  outline: none;
  transition: background var(--t), border-color var(--t), color var(--t), transform var(--t), box-shadow var(--t);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-secondary:hover,
#btn-see-more:hover {
  background: var(--card-2);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), 0 0 12px rgba(194, 178, 143, 0.12);
}

.btn-secondary:active,
#btn-see-more:active {
  transform: translateY(0);
  background: var(--surface);
}

.btn-secondary i,
#btn-see-more i {
  font-size: 0.75rem;
  color: var(--accent);
  transition: transform var(--t);
}

.org-group-container {
  background: var(--card);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  transition: border-color var(--t), background var(--t);
}

.org-group-container:hover {
  border-color: var(--accent);
}

.org-group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  user-select: none;
  background: var(--surface);
  border-bottom: 1px solid transparent;
  transition: background var(--t);
}

.org-group-container.active .org-group-header {
  border-bottom-color: var(--border-soft);
  background: var(--card);
}

.org-title-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.org-logo-wrapper {
  width: 24px;
  height: 24px;
  min-width: 24px;
  max-width: 24px;
  max-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.org-logo-wrapper svg {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block;
}

.org-logo-wrapper img {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  object-fit: contain;
}

.org-title {
  font-family: var(--head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.org-meta-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.org-course-count {
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  background: var(--card);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
}

.org-chevron {
  font-size: 0.75rem;
  color: var(--muted);
  transition: transform var(--t);
}

.org-group-container.active .org-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.org-courses-drawer {
  display: none;
  padding: 1rem;
  background: var(--bg);
}

.org-courses-drawer.expanded {
  display: block;
}

/* Legal Disclaimer Footer Block */
.legal-disclaimer {
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

.legal-disclaimer p {
  margin: 0;
}

.legal-disclaimer b {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-disclaimer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-disclaimer a:hover {
  color: var(--accent-hover);
}
