/* 사향 공진단 칼럼 — 『동의보감』 원문 카드, 연표, 금박 전후, 조제 기록 카드 */
.mg-page {
  --mg-deep: #173f37;
  --mg-green: #247860;
  --mg-teal: #006c78;
  --mg-soft-teal: #5a96a2;
  --mg-soft: #eef3f0;
  --mg-paper: #f8f8f6;
  --mg-warm: #e8e4e2;
  --mg-ink: #242824;
  --mg-muted: #555550;
  --mg-line: #d7dfdb;
  overflow: clip;
  background: #fff;
  color: var(--mg-ink);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", sans-serif;
}

.mg-page * { box-sizing: border-box; }

/* 머리말 — 왼쪽 글, 오른쪽 실제 사진 */
.mg-header { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; max-width: 1160px; margin: auto; padding: 88px 28px 48px; }
.mg-header .column-breadcrumb { margin-bottom: 24px; }
.mg-eyebrow { margin: 0 0 16px; color: var(--mg-green); font-size: .72rem; font-weight: 800; letter-spacing: .14em; }
.mg-header h1 { margin: 0; color: var(--mg-deep); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 650; line-height: 1.24; letter-spacing: -.055em; word-break: keep-all; }
.mg-sub { display: block; margin-top: .55rem; color: var(--mg-green); font-size: .6em; font-weight: 650; letter-spacing: -.04em; }
.mg-lead { margin: 24px 0 20px; color: var(--mg-muted); font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.9; word-break: keep-all; }
.mg-byline { display: flex; gap: 18px; color: #718078; font-size: .78rem; }
.mg-byline a { color: var(--mg-green); }
.mg-cover { margin: 0; }
.mg-cover img { display: block; width: 100%; height: auto; border-radius: 28px; }
.mg-cover figcaption { margin-top: .7rem; color: #6b746f; font-size: .78rem; text-align: right; }

/* 한눈에 보는 답 */
.mg-answer { width: min(1100px, calc(100% - 56px)); margin: 0 auto 72px; padding: clamp(1.6rem, 3.5vw, 2.4rem); border: 1px solid var(--mg-line); border-radius: 26px; background: var(--mg-paper); }
.mg-answer small { color: var(--mg-green); font-size: .66rem; font-weight: 800; letter-spacing: .18em; }
.mg-answer h2 { margin: .5rem 0 1.2rem; color: var(--mg-deep); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 680; letter-spacing: -.04em; }
.mg-answer ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.mg-answer li { padding: 1.1rem 1.15rem; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line); color: #3a403c; font-size: .96rem; line-height: 1.75; word-break: keep-all; }
.mg-answer li b { display: block; margin-bottom: .35rem; color: var(--mg-green); font-size: .74rem; letter-spacing: .06em; }
.mg-answer li strong { color: var(--mg-deep); }

/* 본문 배치 */
.mg-layout { display: grid; grid-template-columns: 190px minmax(0, 740px); gap: clamp(2rem, 5vw, 5rem); justify-content: center; max-width: 1160px; margin: 0 auto; padding: 0 28px 96px; }
.mg-toc { position: sticky; top: 108px; align-self: start; }
.mg-toc small { display: block; margin-bottom: 1rem; color: var(--mg-green); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.mg-toc ol { margin: 0; padding: 0 0 0 1rem; border-left: 1px solid var(--mg-line); list-style: none; }
.mg-toc li + li { margin-top: .85rem; }
.mg-toc a { color: #6b746f; font-size: .8rem; line-height: 1.5; text-decoration: none; word-break: keep-all; }
.mg-toc a:hover { color: var(--mg-green); }

.mg-article { min-width: 0; }
/* style.css가 모든 section에 위아래 여백을 준다. 본문 절 사이 간격은 소제목 여백만으로 잡는다. */
.mg-article > section { padding: 0; }
.mg-article section[id] { scroll-margin-top: 110px; }
.mg-article h2 { margin: 3.6rem 0 1.3rem; color: var(--mg-deep); font-size: clamp(1.45rem, 2.6vw, 1.95rem); font-weight: 680; line-height: 1.4; letter-spacing: -.045em; word-break: keep-all; }
.mg-article h3 { margin: 2.2rem 0 .9rem; color: var(--mg-deep); font-size: 1.18rem; font-weight: 700; line-height: 1.5; word-break: keep-all; }
.mg-article p { margin: 0 0 1.35rem; color: #3a403c; font-size: 1.06rem; line-height: 1.95; word-break: keep-all; }
.mg-article strong { color: var(--mg-deep); }
.mg-article a { color: var(--mg-green); text-underline-offset: 3px; }
.mg-article sup { margin-left: 1px; font-size: .68em; line-height: 0; }
.mg-article sup a { text-decoration: none; font-weight: 700; }

.mg-quote { margin: 2.2rem 0 !important; padding: 1.4rem 1.7rem; border-left: 3px solid var(--mg-green); background: var(--mg-soft); color: var(--mg-deep) !important; font-size: clamp(1.15rem, 2.2vw, 1.4rem) !important; font-weight: 650; line-height: 1.6 !important; letter-spacing: -.03em; }

/* 도판 공통 */
.mg-figure { margin: 2.6rem 0; padding: clamp(1.3rem, 3.2vw, 2.1rem); border: 1px solid var(--mg-line); border-radius: 20px; background: var(--mg-paper); }
.mg-figure > figcaption { margin-bottom: 1.4rem; }
.mg-figure > figcaption span { display: block; margin-bottom: .45rem; color: var(--mg-green); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.mg-figure > figcaption strong { display: block; color: var(--mg-deep); font-size: 1.12rem; line-height: 1.45; letter-spacing: -.03em; word-break: keep-all; }
.mg-figure > small { display: block; margin-top: 1.2rem; color: #6b746f; font-size: .76rem; line-height: 1.7; word-break: keep-all; }

/* 도판 1 — 세 갈래를 카드 세 장으로 나란히 */
.mg-routes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; list-style: none; }
.mg-routes > li { display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line); overflow: hidden; }
.mg-routes > li.is-clinic { box-shadow: inset 0 0 0 2px var(--mg-green); }
.mg-routes h3 { margin: 0; padding: 1rem 1.05rem .9rem; background: var(--mg-soft); color: var(--mg-deep); font-size: 1rem; font-weight: 700; line-height: 1.4; word-break: keep-all; }
.mg-routes h3 small { display: block; margin-bottom: .25rem; color: var(--mg-green); font-size: .62rem; font-weight: 800; letter-spacing: .14em; }
.mg-routes li.is-clinic h3 { background: var(--mg-deep); color: #fff; }
.mg-routes li.is-clinic h3 small { color: #c9e7da; }
.mg-routes dl { margin: 0; padding: .3rem 1.05rem 1rem; }
.mg-routes dt { margin-top: .75rem; color: var(--mg-soft-teal); font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
.mg-routes dd { margin: .2rem 0 0; color: #3a403c; font-size: .88rem; line-height: 1.6; word-break: keep-all; }

/* 도판 2 — 한의원에서 받기까지 */
.mg-path { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; counter-reset: gb; }
.mg-path li { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.1rem 1rem 1.15rem; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line); counter-increment: gb; }
.mg-path li::before { content: counter(gb, decimal-leading-zero); color: var(--mg-soft-teal); font-size: .7rem; font-weight: 800; letter-spacing: .1em; }
.mg-path li strong { color: var(--mg-deep); font-size: 1rem; line-height: 1.45; word-break: keep-all; }
.mg-path li span { color: #4d5550; font-size: .86rem; line-height: 1.65; word-break: keep-all; }
.mg-path li.is-key { box-shadow: inset 0 0 0 2px var(--mg-green); }

/* 실제 사진 */
.mg-photo { margin: 2.4rem 0; }
.mg-photo img { display: block; width: 100%; height: auto; border-radius: 20px; }
.mg-photo figcaption { margin-top: .8rem; color: #6b746f; font-size: .84rem; line-height: 1.65; word-break: keep-all; }

/* 참고문헌 */
.mg-refs { margin-top: 3.4rem; }
.mg-refs ol { margin: 0; padding-left: 1.2rem; }
.mg-refs li { margin-bottom: .7rem; color: #555550; font-size: .84rem; line-height: 1.7; word-break: break-word; }

/* FAQ */
.mg-faq { margin-top: 3.6rem; }
.mg-faq details { border-top: 1px solid var(--mg-line); }
.mg-faq details:last-child { border-bottom: 1px solid var(--mg-line); }
.mg-faq summary { position: relative; padding: 1.2rem 2.2rem 1.2rem 0; color: var(--mg-deep); font-size: 1rem; font-weight: 680; line-height: 1.55; cursor: pointer; list-style: none; word-break: keep-all; }
.mg-faq summary::-webkit-details-marker { display: none; }
.mg-faq summary::after { content: "+"; position: absolute; right: .2rem; top: 1.05rem; color: var(--mg-green); font-size: 1.3rem; font-weight: 400; }
.mg-faq details[open] summary::after { content: "−"; }
.mg-faq details p { margin: 0 0 1.3rem; font-size: .96rem; }

.mg-nw { white-space: nowrap; }

@media (max-width: 900px) {
  .mg-header { grid-template-columns: 1fr; padding-top: 72px; }
  .mg-cover { max-width: 460px; }
  .mg-layout { grid-template-columns: 1fr; padding-inline: 20px; }
  .mg-toc { position: static; padding: 1.2rem 1.3rem; border-radius: 16px; background: var(--mg-paper); }
  .mg-toc ol { border-left: 0; padding-left: 0; }
  .mg-answer ol { grid-template-columns: 1fr; }
  .mg-path { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 휴대폰 — 비교표는 갈래마다 한 장씩 세운다 */
@media (max-width: 600px) {
  .mg-header { padding: 100px 20px 28px; }
  .mg-answer { width: calc(100% - 24px); margin-bottom: 48px; padding: 1.4rem 1.1rem; border-radius: 22px; }
  .mg-routes { grid-template-columns: 1fr; }
  .mg-path { grid-template-columns: 1fr; }
}


/* 실제 사진 묶음 — 두 장·세 장 */
.mg-photos { display: grid; gap: .7rem; margin: 2.4rem 0; }
.mg-photos--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mg-photos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-photos > div { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.mg-photos img { display: block; width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 16px; }
.mg-photos span { color: var(--mg-deep); font-size: .84rem; font-weight: 650; line-height: 1.5; word-break: keep-all; }
.mg-photos span b { margin-right: .4rem; color: var(--mg-soft-teal); font-size: .72rem; letter-spacing: .08em; }
.mg-photos figcaption { grid-column: 1 / -1; color: #6b746f; font-size: .8rem; line-height: 1.6; word-break: keep-all; }
.mg-photo--tall img { max-width: 420px; margin: 0 auto; }
.mg-photo--tall figcaption { max-width: 420px; margin-inline: auto; text-align: center; }

/* 리뷰 한 장 */
.mg-review { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2rem); align-items: center; margin: 2.4rem 0; padding: clamp(1.2rem, 3vw, 1.8rem); border-radius: 20px; background: var(--mg-soft); }
.mg-review img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 10px 24px rgba(23, 63, 55, .12); }
.mg-review small { color: var(--mg-green); font-size: .64rem; font-weight: 800; letter-spacing: .16em; }
.mg-review blockquote { margin: .6rem 0 .9rem; }
.mg-review blockquote p { margin: 0 !important; color: var(--mg-deep) !important; font-size: clamp(1.1rem, 2.1vw, 1.3rem) !important; font-weight: 600; line-height: 1.6 !important; letter-spacing: -.02em; }
.mg-review figcaption { color: #6b746f; font-size: .78rem; line-height: 1.6; word-break: keep-all; }

@media (max-width: 600px) {
  .mg-photos--3 { grid-template-columns: 1fr 1fr; }
  .mg-photos--3 > div:last-of-type { grid-column: 1 / -1; }
  .mg-photos--3 > div:last-of-type img { aspect-ratio: 16 / 10; }
  .mg-review { grid-template-columns: 1fr; }
  .mg-review img { max-width: 240px; margin: 0 auto; }
}

/* 위계 — 한의원이 주인공, 약국·쇼핑몰은 한 단계 낮은 톤(2026-09-28) */
.mg-answer ol { grid-template-columns: 1.4fr 1fr; }
.mg-answer li.is-clinic { background: var(--mg-deep); box-shadow: none; color: rgba(255, 255, 255, .9); }
.mg-answer li.is-clinic b { color: #c9e7da; }
.mg-answer li.is-clinic strong { color: #fff; }
.mg-answer li:not(.is-clinic) { color: #5d655f; font-size: .9rem; }

.mg-routes { grid-template-columns: 1.2fr 1fr; }
.mg-routes > li:not(.is-clinic) { opacity: .88; }
.mg-routes li.is-clinic dd { color: var(--mg-deep); font-weight: 600; }

.mg-kicker { display: inline-flex; margin: 3.8rem 0 -.4rem !important; padding: .35rem .75rem; border-radius: 999px; background: var(--mg-deep); color: #fff !important; font-size: .7rem !important; font-weight: 800; letter-spacing: .1em; line-height: 1.4 !important; }
.mg-main h2 { margin-top: 1.1rem; font-size: clamp(1.6rem, 2.9vw, 2.15rem); }
.mg-main h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: .9rem; border-radius: 2px; background: var(--mg-green); }

.mg-article > section.mg-others { margin-top: 3.8rem; padding: clamp(1.4rem, 3.4vw, 2.2rem); border-radius: 20px; background: var(--mg-paper); box-shadow: inset 0 0 0 1px var(--mg-line); }
.mg-others h2 { margin: 0 0 1rem; color: #3c4a44; font-size: clamp(1.15rem, 2vw, 1.35rem); }
.mg-others h3 { margin: 1.6rem 0 .6rem; color: #56615b; font-size: .98rem; }
.mg-others p { color: #555550; font-size: .95rem; line-height: 1.85; }

@media (max-width: 900px) {
  .mg-answer ol, .mg-routes { grid-template-columns: 1fr; }
}

/* ─── 42호 전용 ─── */
.mg-answer ol { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mg-answer li:not(.is-clinic) { color: #3a403c; font-size: .96rem; }

/* 『동의보감』 원문 카드 — 한문과 우리말을 나란히 */
.mg-source { margin: 2.6rem 0; padding: clamp(1.4rem, 3.4vw, 2.2rem); border-radius: 20px; background: #f4f1ea; box-shadow: inset 0 0 0 1px #e2dccf; }
.mg-source > figcaption { margin-bottom: 1.3rem; }
.mg-source > figcaption span { display: block; margin-bottom: .45rem; color: #8a6d3b; font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.mg-source > figcaption strong { color: var(--mg-deep); font-size: 1.12rem; }
.mg-source__han { margin: 0 0 1.2rem; padding: 1.1rem 1.2rem; border-left: 3px solid #b99a5b; background: #fffdf8; }
.mg-source__han p { margin: 0 0 .7rem !important; color: #2e2a22 !important; font-family: "Noto Serif KR", "Noto Serif TC", serif; font-size: 1rem !important; line-height: 2 !important; letter-spacing: .04em; word-break: break-all; }
.mg-source__han p:last-child, .mg-source__ko p:last-child { margin-bottom: 0 !important; }
.mg-source__ko p { margin: 0 0 .8rem !important; font-size: .98rem !important; line-height: 1.9 !important; }
.mg-source mark { padding: 0 .15em; border-radius: 3px; background: rgba(36, 120, 96, .16); color: var(--mg-deep); font-weight: 700; }
.mg-source > small { display: block; margin-top: 1.1rem; color: #7a7466; font-size: .76rem; line-height: 1.7; word-break: keep-all; }

/* 탕액편 인용 두 줄 */
.mg-lines { display: grid; gap: .7rem; margin: 2rem 0 2.4rem; }
.mg-lines > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 1.2rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; background: var(--mg-paper); box-shadow: inset 0 0 0 1px var(--mg-line); }
.mg-lines b { color: var(--mg-deep); font-family: "Noto Serif KR", "Noto Serif TC", serif; font-size: 1.05rem; letter-spacing: .06em; word-break: keep-all; }
.mg-lines span { color: #4d5550; font-size: .9rem; line-height: 1.7; word-break: keep-all; }
.mg-lines figcaption { color: #6b746f; font-size: .76rem; }

/* 연표 */
.mg-timeline { margin: 2.6rem 0; padding: clamp(1.3rem, 3.2vw, 2.1rem); border: 1px solid var(--mg-line); border-radius: 20px; background: var(--mg-paper); }
.mg-timeline > figcaption { margin-bottom: 1.4rem; }
.mg-timeline > figcaption span { display: block; margin-bottom: .45rem; color: var(--mg-green); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.mg-timeline > figcaption strong { color: var(--mg-deep); font-size: 1.12rem; }
.mg-timeline ol { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 1.4rem 0 0; list-style: none; }
.mg-timeline ol::before { content: ""; position: absolute; top: .45rem; left: .5rem; right: .5rem; height: 2px; background: var(--mg-line); }
.mg-timeline li { position: relative; display: flex; flex-direction: column; gap: .3rem; }
.mg-timeline li::before { content: ""; position: absolute; top: -1.3rem; left: 0; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--mg-soft-teal); }
.mg-timeline li.is-key::before { background: var(--mg-green); box-shadow: none; }
.mg-timeline li b { color: var(--mg-soft-teal); font-size: .78rem; font-weight: 800; }
.mg-timeline li.is-key b { color: var(--mg-green); }
.mg-timeline li strong { color: var(--mg-deep); font-size: .92rem; line-height: 1.4; word-break: keep-all; }
.mg-timeline li span { color: #4d5550; font-size: .8rem; line-height: 1.6; word-break: keep-all; }
.mg-timeline > small { display: block; margin-top: 1.2rem; color: #6b746f; font-size: .76rem; line-height: 1.7; }

/* 금박 전후 */
.mg-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 2.4rem 0; }
.mg-pair > div { display: flex; flex-direction: column; gap: .5rem; min-width: 0; }
.mg-pair img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; }
.mg-pair span { color: var(--mg-deep); font-size: .84rem; font-weight: 650; }
.mg-pair span b { margin-right: .45rem; color: var(--mg-soft-teal); font-size: .7rem; letter-spacing: .1em; }
.mg-pair figcaption { grid-column: 1 / -1; color: #6b746f; font-size: .8rem; }

/* 조제 기록 카드 — 임베드 대신 직접 만든 카드(추적 스크립트 없음) */
.mg-insta { max-width: 520px; margin: 2rem auto 2.4rem; }
.mg-insta a { display: flex; flex-direction: column; gap: .9rem; padding: 1.2rem 1.3rem 1.1rem; border: 1px solid #dbdbdb; border-radius: 16px; background: #fff; color: #262626 !important; text-decoration: none; box-shadow: 0 8px 22px rgba(23, 63, 55, .07); transition: transform .2s ease; }
.mg-insta a:hover { transform: translateY(-2px); }
.mg-insta__head { display: flex; align-items: center; gap: .6rem; font-size: .86rem; }
.mg-insta__head i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mg-deep); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--mg-soft-teal); color: #fff; font-size: .8rem; font-style: normal; font-weight: 800; }
.mg-insta__head time { margin-left: auto; color: #8e8e8e; font-size: .78rem; }
.mg-insta__body { font-size: .98rem; line-height: 1.75; word-break: keep-all; }
.mg-insta__foot { padding-top: .8rem; border-top: 1px solid #efefef; color: var(--mg-green); font-size: .8rem; font-weight: 700; }

.mg-photo img { max-width: 520px; margin: 0 auto; }
.mg-photo figcaption { max-width: 520px; margin-inline: auto; text-align: center; }

@media (max-width: 900px) {
  .mg-answer ol { grid-template-columns: 1fr; }
  .mg-timeline ol { grid-template-columns: 1fr; gap: 1rem; padding: 0 0 0 1.6rem; }
  .mg-timeline ol::before { top: .3rem; bottom: .3rem; left: .35rem; right: auto; width: 2px; height: auto; }
  .mg-timeline li::before { top: .25rem; left: -1.6rem; }
  .mg-lines > div { grid-template-columns: 1fr; gap: .4rem; }
}

/* 네 약재의 자리 — 왼쪽 물·불 축, 오른쪽 네 칸 */
.mg-herbs { display: grid; grid-template-columns: 5.2rem minmax(0, 1fr); gap: 1rem 1.2rem; margin: 2.6rem 0; padding: clamp(1.3rem, 3.2vw, 2.1rem); border: 1px solid var(--mg-line); border-radius: 20px; background: var(--mg-paper); }
.mg-herbs > figcaption, .mg-herbs > small { grid-column: 1 / -1; }
.mg-herbs > figcaption span { display: block; margin-bottom: .45rem; color: var(--mg-green); font-size: .66rem; font-weight: 800; letter-spacing: .16em; }
.mg-herbs > figcaption strong { color: var(--mg-deep); font-size: 1.12rem; line-height: 1.45; word-break: keep-all; }
.mg-herbs__axis { display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.mg-herbs__axis b { padding: .35rem .5rem; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line); color: var(--mg-deep); font-size: .72rem; text-align: center; white-space: nowrap; }
.mg-herbs__axis b:first-child { color: #9a5b2e; }
.mg-herbs__axis i { position: relative; flex: 1; width: 2px; min-height: 120px; background: linear-gradient(var(--mg-teal), var(--mg-green)); }
.mg-herbs__axis i::before, .mg-herbs__axis i::after { content: ""; position: absolute; left: 50%; width: 8px; height: 8px; border: solid var(--mg-green); border-width: 0 2px 2px 0; }
.mg-herbs__axis i::before { top: 2px; transform: translateX(-50%) rotate(-135deg); }
.mg-herbs__axis i::after { bottom: 2px; transform: translateX(-50%) rotate(45deg); }
.mg-herbs ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: 0; padding: 0; list-style: none; }
.mg-herbs li { display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.05rem; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--mg-line); }
.mg-herbs li.is-up, .mg-herbs li.is-down { box-shadow: inset 0 0 0 2px var(--mg-green); }
.mg-herbs li small { color: var(--mg-soft-teal); font-size: .66rem; font-weight: 800; letter-spacing: .06em; }
.mg-herbs li strong { color: var(--mg-deep); font-size: 1rem; }
.mg-herbs li span { color: #4d5550; font-size: .85rem; line-height: 1.65; word-break: keep-all; }
.mg-herbs > small { color: #6b746f; font-size: .76rem; line-height: 1.7; }

@media (max-width: 600px) {
  .mg-herbs { grid-template-columns: 1fr; }
  .mg-herbs__axis { flex-direction: row; }
  .mg-herbs__axis i { min-height: 2px; height: 2px; width: auto; background: linear-gradient(90deg, var(--mg-teal), var(--mg-green)); }
  .mg-herbs__axis i::before { top: 50%; left: 2px; transform: translateY(-50%) rotate(135deg); }
  .mg-herbs__axis i::after { top: 50%; bottom: auto; left: auto; right: 2px; transform: translateY(-50%) rotate(-45deg); }
  .mg-herbs ul { grid-template-columns: 1fr; }
}
