/* v43: approved mineral explanation, 2026-10-03. */

.study-minerals {
  margin-top: 52px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
  color: #413e35;
}
.study-minerals header {
  text-align: center;
}
.study-eyebrow {
  color: #315d4b;
  font-size: 14px;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.study-minerals h3 {
  font: 600 28px/1.65 var(--serif);
  letter-spacing: 0.025em;
}
.study-minerals h3 span {
  display: inline-block;
}
.study-lead {
  margin-top: 17px;
  font-size: 16px;
  line-height: 1.9;
}
.study-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin: 38px auto 0;
  max-width: 1040px;
  align-items: start;
}
.study-skin svg {
  width: 100%;
  display: block;
  margin-top: 15px;
}
.study-skin figcaption {
  padding: 14px 12px 0;
}
.study-skin strong {
  font: 600 21px/1.7 var(--serif);
  color: #594936;
}
.study-skin p {
  font-size: 16px;
  line-height: 1.9;
  margin-top: 9px;
}
.study-skin small {
  display: block;
  font-size: 12px;
  color: #706457;
  margin-top: 9px;
}
.study-list-label {
  font-size: 14px;
  color: #315d4b;
  margin-bottom: 4px;
}
.study-roles ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.study-roles li {
  display: flex;
  gap: 15px;
  align-items: center;
  border-bottom: 1px solid #dfd5c7;
  padding: 14px 0;
}
.study-ion {
  flex: 0 0 42px;
  height: 42px;
  border: 1px solid #a3b7aa;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #315d4b;
  font:
    italic 20px/1 Georgia,
    serif;
  background: #eef0e6;
}
.study-roles h4 {
  font: 600 17px/1.5 var(--sans);
  color: #594936;
  margin: 0 0 4px;
}
.study-roles li p {
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
}
.study-note {
  font-size: 13px;
  line-height: 1.8;
  color: #6b6257;
  margin-top: 25px;
  text-align: center;
}
@media (max-width: 700px) {
  .study-minerals {
    margin-top: 34px;
    padding-top: 31px;
  }
  .study-eyebrow {
    font-size: 13px;
    margin-bottom: 10px;
  }
  .study-minerals h3 {
    font-size: 24px;
    line-height: 1.6;
  }
  .study-minerals h3 span {
    display: block;
  }
  .study-lead {
    font-size: 16px;
    line-height: 1.85;
    margin-top: 15px;
  }
  .study-lead br {
    display: none;
  }
  .study-layout {
    display: block;
    margin-top: 17px;
  }
  .study-skin svg {
    margin-top: 0;
  }
  .study-skin figcaption {
    padding: 5px 0 0;
  }
  .study-skin strong {
    font-size: 19px;
  }
  .study-skin p {
    font-size: 16px;
    line-height: 1.85;
  }
  .study-skin small {
    font-size: 12px;
    margin-top: 5px;
  }
  .study-roles {
    margin-top: 26px;
  }
  .study-roles li {
    gap: 12px;
    padding: 11px 0;
  }
  .study-ion {
    flex-basis: 38px;
    height: 38px;
    font-size: 18px;
  }
  .study-roles li p {
    font-size: 16px;
    line-height: 1.7;
  }
  .study-note {
    text-align: left;
    font-size: 13px;
    margin-top: 20px;
  }
}

.study-minerals header .study-eyebrow {
  display: none;
}
.study-lead {
  margin-top: 12px;
}
.study-layout {
  margin-top: 26px;
}
.study-minerals {
  padding-top: 36px;
}
.study-skin svg {
  margin-top: 0;
}
.study-skin small {
  margin-top: 4px;
}
.study-roles li {
  padding: 10px 0;
}
.study-minerals .study-note {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .study-minerals {
    padding-top: 27px;
  }
  .study-layout {
    margin-top: 16px;
  }
  .study-roles {
    margin-top: 20px;
  }
  .study-roles li {
    padding: 8px 0;
  }
  .study-roles h4 {
    margin-bottom: 2px;
  }
  .study-roles li p {
    line-height: 1.65;
  }
  .study-skin strong {
    font-size: 18px;
  }
  .study-skin figcaption p {
    line-height: 1.8;
  }
  .study-note {
    line-height: 1.7;
  }
}

.study-mineral-image {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  object-fit: contain;
  align-self: center;
}
.study-minerals .study-closing {
  margin: 30px 0 0;
  text-align: center;
  color: #315d4b;
  font: 600 23px/1.9 var(--serif);
  letter-spacing: 0.035em;
  padding-top: 23px;
  border-top: 1px solid var(--line);
}
@media (max-width: 700px) {
  .study-mineral-image {
    flex-basis: 54px;
    width: 54px;
    height: 54px;
  }
  .study-roles li {
    gap: 10px;
  }
  .study-minerals .study-closing {
    margin-top: 27px;
    padding-top: 22px;
    font-size: 21px;
    line-height: 1.85;
    letter-spacing: 0;
    text-wrap: balance;
  }
}

.study-closing span {
  display: inline-block;
}
.study-roles li p {
  text-wrap: pretty;
}
@media (max-width: 700px) {
  .study-closing span {
    display: block;
    white-space: nowrap;
  }
  .study-minerals .study-closing {
    font-size: clamp(18px, 5.1vw, 21px);
    text-wrap: wrap;
  }
}

.study-roles li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding: 12px 0;
  align-items: center;
}
.study-roles li:first-child {
  padding-top: 0;
}
.mineral-badge {
  position: relative;
  width: 112px;
  height: 112px;
  border: 1px solid #c6b18e;
  border-radius: 50%;
  overflow: hidden;
  background: #eee6da;
  isolation: isolate;
}
.mineral-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mineral-badge:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    transparent 22%,
    #fffaf1c9 48%,
    #fffaf1c9 55%,
    transparent 80%
  );
}
.study-roles .mineral-badge h4 {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  margin: 0;
  padding: 0 5px;
  font: 600 16px/1.5 var(--serif);
  color: #513d22;
  letter-spacing: 0;
  text-shadow: 0 1px 2px #fff8eb;
}
.mineral-badge.is-dark:after {
  background: linear-gradient(
    180deg,
    transparent 22%,
    #201a1459 48%,
    #201a1459 55%,
    transparent 80%
  );
}
.study-roles .mineral-badge.is-dark h4 {
  color: #fffaf1;
  text-shadow: 0 1px 4px #20160b;
}
.study-minerals .study-closing {
  color: #69533c;
}
.study-layout {
  align-items: center;
}
@media (max-width: 700px) {
  .study-roles li {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 16px;
    padding: 11px 0;
  }
  .study-roles li p {
    font-size: 16px;
    line-height: 1.8;
    text-wrap: pretty;
  }
  .study-roles {
    margin-top: 28px;
  }
  .study-minerals .study-closing {
    color: #69533c;
  }
}
@media (max-width: 360px) {
  .study-roles li {
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 13px;
  }
  .mineral-badge {
    width: 104px;
    height: 104px;
  }
  .study-roles .mineral-badge h4 {
    font-size: 15px;
  }
}

.study-skin-visual {
  position: relative;
}
.study-skin .study-diagram-note {
  position: absolute;
  right: 0;
  bottom: 12px;
  width: 24%;
  font: 12px/1.6 var(--sans);
  color: #706457;
  margin: 0;
}
.study-diagram-note span {
  display: block;
}
.study-roles .mineral-role-heading {
  font: 600 21px/1.7 var(--serif);
  color: #69533c;
  letter-spacing: 0.025em;
  margin: 0 0 20px;
}
.study-minerals .study-closing {
  border-top: 0;
  padding-top: 18px;
}
@media (max-width: 700px) {
  .study-skin .study-diagram-note {
    font-size: 11px;
    bottom: 8px;
    width: 24%;
  }
  .study-roles .mineral-role-heading {
    font-size: clamp(18px, 4.9vw, 20px);
    letter-spacing: 0;
    margin-bottom: 18px;
  }
  .study-minerals .study-closing {
    padding-top: 14px;
  }
}

.study-roles li:last-child {
  border-bottom: 0;
}
/* v44: mineral images only, balanced 3+2 / narrow-phone 2+2+1. */
.study-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.study-roles .mineral-role-heading {
  text-align: center;
  margin-bottom: 25px;
}
.study-roles ul {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 16px;
  max-width: 420px;
  margin: 0 auto;
}
.study-roles li,
.study-roles li:first-child,
.study-roles li:last-child {
  display: flex;
  grid-column: span 2;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
}
.study-roles li:nth-child(4) {
  grid-column: 2 / span 2;
}
.study-roles li:nth-child(5) {
  grid-column: 4 / span 2;
}
.study-roles .mineral-badge {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-width: 132px;
}
.study-roles .mineral-badge h4 {
  font-size: 16px;
}
@media (min-width: 701px) and (max-width: 1000px) {
  .study-layout {
    grid-template-columns: 1fr;
    max-width: 640px;
    gap: 32px;
  }
  .study-skin {
    width: 100%;
    max-width: 480px;
    margin: auto;
  }
  .study-roles {
    width: 100%;
    max-width: 460px;
    margin: auto;
  }
}
@media (max-width: 700px) {
  .study-layout {
    display: block;
  }
  .study-roles {
    margin-top: 30px;
  }
  .study-roles .mineral-role-heading {
    margin-bottom: 22px;
  }
  .study-roles ul {
    max-width: 384px;
    gap: 16px 10px;
  }
  .study-roles .mineral-badge {
    max-width: 122px;
  }
  .study-roles .mineral-badge h4 {
    font-size: 16px;
  }
  .study-minerals .study-closing {
    margin-top: 30px;
  }
}
@media (max-width: 379px) {
  .study-roles ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 252px;
    gap: 15px 18px;
  }
  .study-roles li:nth-child(4) {
    grid-column: auto / span 2;
  }
  .study-roles li:nth-child(5) {
    grid-column: 2 / span 2;
  }
  .study-roles .mineral-badge {
    max-width: 117px;
  }
}
