/* Accademica Resources — editorial layer aligned with the current /it visual system */
.resources-page {
  background: var(--canvas) !important;
  color: var(--ink) !important;
}
.resources-page .mk-nav-link.is-active {
  background: var(--soft);
  color: var(--ink);
}
.resources-page main { overflow: clip; }
.resources-page .resource-shell,
.resources-page .article {
  width: min(1160px, calc(100% - 64px));
  margin-inline: auto;
}

/* -------------------- Resources hub -------------------- */
.resources-hero {
  position: relative;
  min-height: 610px;
  display: grid;
  align-items: center;
  padding: 154px 0 104px;
  overflow: visible;
  background: var(--canvas);
}
.resources-hero::before,
.resources-hero::after { content: none !important; display: none !important; }
.resources-hero__inner {
  width: min(900px, calc(100% - 40px));
  margin-inline: auto;
  text-align: center;
}
.resources-page .resources-hero .eyebrow {
  margin-bottom: 17px;
  letter-spacing: 0;
}
.resources-page .resources-hero h1 {
  max-width: 920px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(44px, 4.4vw, 62px);
  font-weight: 500;
  line-height: .97;
  letter-spacing: -.055em;
}
.resources-page .resources-hero h1 span { color: var(--accent); }
.resources-page .resources-hero .hero-lead {
  max-width: 680px;
  margin: 28px auto 0 !important;
  color: var(--copy);
  font-size: 16px;
  line-height: 1.7;
}
.resources-page .resources-hero .actions { margin-top: 30px; }
.resources-page .resources-principles {
  min-height: 72px;
  padding: 20px 32px;
  border-block: 1px solid var(--line);
  background: var(--soft);
}
.resources-page .resources-principles > span {
  color: var(--copy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .045em;
}

.resources-featured { padding: 72px 0 38px; }
.resource-featured-card {
  position: relative;
  display: block;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #171717;
  color: #fff !important;
  isolation: isolate;
  transition: transform .2s ease, border-color .2s ease;
}
.resource-featured-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--line));
}
.resource-featured-card__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #171717;
}
.resource-featured-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,15,15,.02) 20%, rgba(15,15,15,.24) 52%, rgba(15,15,15,.88) 100%);
}
.resource-featured-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 45%;
  transition: transform .45s ease;
}
.resource-featured-card:hover .resource-featured-card__media img { transform: scale(1.02); }
.resource-featured-card__body {
  position: absolute;
  z-index: 2;
  left: clamp(26px, 5vw, 62px);
  right: clamp(26px, 5vw, 62px);
  bottom: clamp(26px, 4vw, 52px);
  max-width: 800px;
}
.resource-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--copy);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.resource-kicker::before { content: none !important; }
.resource-featured-card .resource-kicker { color: rgba(255,255,255,.72); }
.resource-featured-card h2 {
  max-width: 800px;
  color: #fff;
  font-size: clamp(35px, 4.8vw, 58px);
  font-weight: 500;
  line-height: 1.01;
  letter-spacing: -.05em;
}
.resource-featured-card p {
  max-width: 670px;
  margin-top: 18px !important;
  color: rgba(255,255,255,.78) !important;
  font-size: 14px;
  line-height: 1.65;
}
.resource-read {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
}
.resource-featured-card .resource-read { color: #fff; }
.resource-read .material-symbols-rounded {
  font-size: 18px;
  color: var(--accent);
  transition: transform .2s ease;
}
.resource-featured-card .resource-read .material-symbols-rounded { color: #ffad70; }
.resource-featured-card:hover .resource-read .material-symbols-rounded,
.resource-card:hover .resource-read .material-symbols-rounded { transform: translateX(3px); }

.resources-library { padding: 78px 0 118px; }
.resources-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 42px;
  margin-bottom: 38px;
}
.resources-section-head .eyebrow {
  margin-bottom: 14px;
  color: var(--copy);
  font-size: 10px;
  letter-spacing: .055em;
}
.resources-section-head h2 {
  max-width: 650px;
  color: var(--ink);
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.resources-section-head > p {
  max-width: 380px;
  margin: 0 !important;
  color: var(--copy);
  font-size: 13px;
  line-height: 1.7;
  text-align: right;
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 22px;
}
.resource-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  color: var(--ink) !important;
  transition: transform .18s ease;
}
.resource-card:hover { transform: translateY(-3px); }
.resource-card__visual {
  position: relative;
  height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--soft);
}
.resource-card__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .4s ease;
}
.resource-card:hover .resource-card__visual img { transform: scale(1.025); }
.resource-card__visual--graphic {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--soft), color-mix(in srgb, var(--peach) 72%, var(--soft)));
}
.resource-card__visual--graphic::before,
.resource-card__visual--graphic::after { content: none !important; }
.resource-card__mark {
  width: min(74%, 220px);
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(28,29,26,.06);
}
.resource-card__mark .material-symbols-rounded { color: var(--accent); font-size: 34px; }
.resource-card__mark small {
  color: var(--copy);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
}
.resource-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 2px 0; }
.resource-card h3 {
  color: var(--ink);
  font-size: clamp(23px, 2.1vw, 30px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.035em;
}
.resource-card p {
  margin-top: 12px !important;
  color: var(--copy);
  font-size: 13px;
  line-height: 1.65;
}
.resource-card .resource-read { margin-top: auto; padding-top: 20px; }

/* -------------------- Editorial articles -------------------- */
.resources-page .reading-progress {
  position: fixed;
  top: 82px;
  left: 0;
  right: 0;
  z-index: 950;
  height: 2px;
  background: transparent;
}
.resources-page .reading-progress__bar { height: 100%; width: 0; background: var(--accent); }
.resources-page .page,
.resources-page .editorial-main { margin-top: 0 !important; }
.resources-page .article {
  padding-bottom: 118px;
  color: var(--ink);
}
.resources-page .article__header,
.resources-page .editorial-header {
  max-width: 1030px;
  margin: 0 auto;
  padding: 160px 0 52px;
  text-align: center;
}
.resources-page .article__meta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--copy);
  font: 550 11px/1.4 "Outfit", sans-serif;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.resources-page .article__meta-date,
.resources-page .article__meta-read { margin: 0 !important; color: var(--copy); font: inherit; }
.resources-page .article__meta-date::before { content: none !important; }
.resources-page .article__meta-dot { opacity: .55; }
.resources-page .article__title,
.resources-page .editorial-title {
  max-width: 1010px;
  margin: 0 auto;
  color: var(--ink);
  font: 500 clamp(48px, 6vw, 78px)/.99 "Outfit", sans-serif;
  letter-spacing: -.056em;
  text-wrap: balance;
}
.resources-page .article__title em,
.resources-page .editorial-title em { color: var(--accent); font-style: normal; }
.resources-page .article__subtitle {
  max-width: 690px;
  margin: 25px auto 0 !important;
  color: var(--copy);
  font: 400 16px/1.7 "Poppins", sans-serif;
  text-wrap: balance;
}
.resources-page .article__hero {
  width: min(1080px, 100%);
  aspect-ratio: 16 / 8.6;
  margin: 0 auto 72px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--soft);
  box-shadow: none;
}
.resources-page .article__hero img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.resources-page .article-header-rule {
  min-height: 64px;
  display: grid;
  place-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 72px;
  padding: 18px 24px;
  border-block: 1px solid var(--line);
  background: var(--soft);
}
.resources-page .article-header-rule span {
  color: var(--copy);
  font: 650 10px/1.4 "Outfit", sans-serif;
  letter-spacing: .055em;
}
.resources-page .article-reading-layout {
  width: min(980px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 190px minmax(0, 720px);
  gap: 66px;
  align-items: start;
}
.resources-page .article-aside {
  position: sticky;
  top: 126px;
  min-width: 0;
  padding-top: 3px;
}
.resources-page .article-aside__author {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.resources-page .article-aside__avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--accent);
  font: 700 15px/1 "Outfit", sans-serif;
}
.resources-page .article-aside__label {
  display: block;
  margin-bottom: 2px;
  color: var(--copy);
  font: 500 9px/1.3 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.resources-page .article-aside__author strong { color: var(--ink); font: 600 12px/1.35 "Outfit", sans-serif; }
.resources-page .article-aside__meta {
  display: grid;
  gap: 7px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.resources-page .article-aside__meta > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--copy);
  font: 500 10px/1.4 "Outfit", sans-serif;
}
.resources-page .article-aside__meta .material-symbols-rounded { color: var(--copy); font-size: 14px; }
.resources-page .article-toc { display: grid; gap: 0; padding: 18px 0; border-bottom: 1px solid var(--line); }
.resources-page .article-toc__title {
  margin-bottom: 8px;
  color: var(--ink);
  font: 650 10px/1.3 "Outfit", sans-serif;
  text-transform: uppercase;
  letter-spacing: .045em;
}
.resources-page .article-toc a {
  padding: 6px 0;
  color: var(--copy);
  font: 500 10px/1.35 "Outfit", sans-serif;
  transition: color .15s ease;
}
.resources-page .article-toc a:hover { color: var(--accent); }
.resources-page .article-aside__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 17px;
  color: var(--copy);
  font: 600 10px/1.3 "Outfit", sans-serif;
}
.resources-page .article-aside__back .material-symbols-rounded { font-size: 14px; }

.resources-page .article__content,
.resources-page .growth-article { max-width: 720px; margin: 0; min-width: 0; }
.resources-page .article__content p,
.resources-page .article__content li,
.resources-page .growth-article p,
.resources-page .growth-article li {
  color: var(--copy);
  font: 400 16px/1.86 "Poppins", sans-serif;
}
.resources-page .article__content p,
.resources-page .growth-article p { margin: 0 0 24px !important; }
.resources-page .article__section { margin: 0 0 54px; }
.resources-page .article__section + .article__section {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.resources-page .article__section:first-child > p:first-child,
.resources-page .growth-article > p:first-child {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.75;
}
.resources-page .article__section h2,
.resources-page .article__content > h2,
.resources-page .growth-article h2 {
  scroll-margin-top: 125px;
  margin: 58px 0 19px;
  color: var(--ink);
  font: 500 clamp(30px, 3vw, 40px)/1.08 "Outfit", sans-serif;
  letter-spacing: -.038em;
  text-wrap: balance;
}
.resources-page .article__section > h2:first-child { margin-top: 36px; }
.resources-page .growth-article h2:not(:first-of-type) {
  padding-top: 42px;
  border-top: 1px solid var(--line);
}
.resources-page .article__section h3,
.resources-page .article__content > h3,
.resources-page .growth-article h3 {
  margin: 36px 0 13px;
  color: var(--ink);
  font: 550 23px/1.18 "Outfit", sans-serif;
  letter-spacing: -.025em;
}
.resources-page .article__list { display: grid; gap: 9px; padding-left: 22px; margin: 17px 0 28px; }
.resources-page .article__list li::marker,
.resources-page .article__content li::marker { color: var(--accent); font-weight: 700; }
.resources-page .article__quote {
  margin: 36px 0;
  padding: 27px 28px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: var(--soft);
  box-shadow: none;
}
.resources-page .article__quote-text { color: var(--ink) !important; font: 500 19px/1.55 "Outfit", sans-serif !important; }
.resources-page .article__quote-badge {
  display: inline-block;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
  font: 650 9px/1.3 "Outfit", sans-serif;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.resources-page .article__quote-name,
.resources-page .article__quote-role { color: var(--copy); }
.resources-page .article__checklist {
  margin: 34px 0;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}
.resources-page .article__checklist li { margin: 8px 0; }
.resources-page .article__table-wrap {
  margin: 34px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: none;
}
.resources-page .article__table { width: 100%; min-width: 650px; border-collapse: collapse; }
.resources-page .article__table th,
.resources-page .article__table td {
  padding: 15px 17px;
  border-bottom: 1px solid var(--line);
  color: var(--copy);
  font: 400 13px/1.6 "Poppins", sans-serif;
  text-align: left;
}
.resources-page .article__table th { background: var(--soft); color: var(--ink); font-family: "Outfit", sans-serif; font-weight: 600; }
.resources-page .article__table tr:last-child td { border-bottom: 0; }
.resources-page .article__visual { margin: 38px 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; }
.resources-page .article__visual img { width: 100%; display: block; }
.resources-page .article__content a:not(.article-end-link),
.resources-page .growth-article a:not(.article-end-link) { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.resources-page .growth-highlight {
  margin: 42px 0;
  padding: 26px 28px 24px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 14px;
  background: var(--soft);
}
.resources-page .growth-highlight h3 { margin-top: 0; }
.resources-page .growth-highlight p:last-child { margin-bottom: 0 !important; }
.resources-page .article-end-link {
  display: inline-flex;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--ink) !important;
  font: 650 11px/1.4 "Outfit", sans-serif;
  text-decoration: none !important;
}

/* Keep only the site-level final CTA. No article-specific sales band. */
.resources-page .mk-cta-band,
.resources-page .growth-section--compact { display: none !important; }
.resources-page .contact-footer-zone { border-top: 1px solid var(--line); }
.resources-page .final-section { background: var(--canvas); }

html[data-theme="dark"] .resources-page .resources-principles,
html[data-theme="dark"] .resources-page .article-header-rule { background: #242426; }
html[data-theme="dark"] .resource-featured-card { border-color: #353538; }
html[data-theme="dark"] .resource-card__mark { box-shadow: none; }

@media (max-width: 980px) {
  .resource-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .resources-page .article-reading-layout { width: min(760px, 100%); grid-template-columns: 1fr; gap: 36px; }
  .resources-page .article-aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; padding: 18px 0; border-block: 1px solid var(--line); }
  .resources-page .article-aside__author { border-bottom: 0; padding-bottom: 0; }
  .resources-page .article-aside__meta { border-bottom: 0; padding: 0; align-content: center; justify-items: end; }
  .resources-page .article-toc,
  .resources-page .article-aside__back { display: none; }
}

@media (max-width: 720px) {
  .resources-page .resource-shell,
  .resources-page .article { width: min(100% - 28px, 1160px); }
  .resources-hero { min-height: 0; padding: 132px 0 78px; }
  .resources-hero__inner { width: min(100% - 28px, 900px); }
  .resources-page .resources-hero h1 {
    font-size: clamp(38px, 10.8vw, 50px);
    line-height: 1.03;
  }
  .resources-page .resources-hero .hero-lead { font-size: 14px; }
  .resources-page .resources-principles { min-height: 64px; padding-inline: 18px; }
  .resources-featured { padding-top: 48px; }
  .resource-featured-card { min-height: 480px; border-radius: 18px; }
  .resource-featured-card__body { left: 22px; right: 22px; bottom: 26px; }
  .resource-featured-card h2 { font-size: clamp(33px, 10vw, 46px); }
  .resource-featured-card p { font-size: 13px; }
  .resources-library { padding: 62px 0 86px; }
  .resources-section-head { align-items: start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .resources-section-head > p { text-align: left; }
  .resource-grid { grid-template-columns: 1fr; gap: 34px; }
  .resource-card__visual { height: 220px; }
  .resources-page .reading-progress { top: 68px; }
  .resources-page .article__header,
  .resources-page .editorial-header { padding: 130px 0 38px; }
  .resources-page .article__title,
  .resources-page .editorial-title { font-size: clamp(40px, 12.8vw, 58px); }
  .resources-page .article__subtitle { font-size: 14px; }
  .resources-page .article__hero { margin-bottom: 44px; border-radius: 16px; aspect-ratio: 4/3; }
  .resources-page .article-header-rule { min-height: 58px; margin-bottom: 44px; }
  .resources-page .article-aside { grid-template-columns: 1fr; gap: 14px; }
  .resources-page .article-aside__meta { justify-items: start; }
  .resources-page .article__content p,
  .resources-page .article__content li,
  .resources-page .growth-article p,
  .resources-page .growth-article li { font-size: 15px; line-height: 1.82; }
  .resources-page .article__section:first-child > p:first-child,
  .resources-page .growth-article > p:first-child { font-size: 16.5px; }
  .resources-page .article__section h2,
  .resources-page .article__content > h2,
  .resources-page .growth-article h2 { font-size: 30px; }
  .resources-page .article__quote,
  .resources-page .article__checklist,
  .resources-page .growth-highlight { padding: 22px 20px; }
}
