/* tramed хуудсууд — бараан гэр · зааны яс · алтан. Theme-ийн загвар нөлөөлөхгүйн тулд #tm дотор. */
body.trs-page { margin: 0 !important; padding: 0 !important; background: #17100A !important; }
/* theme / page-builder parts that get printed into our pages (headers, bars) stay hidden */
body.trs-page > :not(#tm):not(#trs):not(#wpadminbar):not(script):not(style):not(link):not(noscript):not(template) { display: none !important; }
#tm {
  font: 400 16px/1.6 'Montserrat', system-ui, sans-serif; color: #F1E6D2; background: #17100A;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
#tm *, #tm *::before, #tm *::after { box-sizing: border-box; }
#tm img { max-width: 100%; height: auto; }
#tm a { color: inherit; }
#tm h1, #tm h2, #tm h3 { font-family: 'Forum', Georgia, serif !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: inherit; margin: 0; }
#tm h1 { font-size: clamp(42px, 6vw, 80px); line-height: 1.02; }
#tm h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.06; }
#tm p { margin: 0; }
#tm .wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
#tm .eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #D9B26A; margin-bottom: 10px; }
#tm .lead { font-size: 16px; line-height: 1.7; max-width: 540px; margin-top: 14px; }
#tm .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
#tm .tm-btn { display: inline-flex; align-items: center; justify-content: center; background: #C9A35A; color: #17100A !important; text-decoration: none !important; font: 700 16px 'Montserrat', sans-serif; padding: 16px 28px; border-radius: 8px; border: 0; cursor: pointer; transition: background .2s, transform .2s; }
#tm .tm-btn:hover { background: #D9B26A; transform: translateY(-2px); }
#tm .tm-btn-lg { font-size: 17px; padding: 18px 32px; }
#tm .tm-ul { font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 2px solid #8A5A32; padding-bottom: 4px; }

/* sections */
#tm .tm-dark { background: #17100A; color: #F1E6D2; padding: 96px 0; position: relative; }
#tm .tm-light { background: #F6F0E6; color: #1E140C; padding: 96px 0; position: relative; overflow: hidden; }
#tm .tm-light .eyebrow, #tm .tm-paper .eyebrow { color: #8A5A32; }
#tm .tm-paper { background-color: #F3EBDB; background-image: radial-gradient(rgba(120,80,40,.06) 1px, transparent 1px); background-size: 6px 6px; color: #1E140C; padding: 110px 0; position: relative; overflow: hidden; }

/* nav */
#tm .tm-bar { background: #17100A; border-bottom: 1px solid #3A2A1C; }
#tm .tm-nav { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; position: relative; z-index: 3; }
#tm .tm-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #F6EDDC; }
#tm .tm-logo img { height: 50px; width: auto; display: block; }
#tm .tm-logo span { font-family: 'Forum', serif; font-size: 26px; letter-spacing: 3px; }
#tm .tm-nav nav { display: flex; gap: 26px; flex-wrap: wrap; font-weight: 600; font-size: 15px; }
#tm .tm-nav nav a { color: #F6EDDC; text-decoration: none; }
#tm .tm-nav nav a:hover, #tm .tm-nav nav a.on { color: #D9B26A; }

/* hero */
#tm .tm-hero { position: relative; overflow: hidden; min-height: 860px; display: flex; flex-direction: column; color: #F6EDDC; background: #1E120A; }
#tm .tm-hero-img { position: absolute; inset: 0; background: var(--hw) center right / cover no-repeat; animation: tmKb 32s ease-in-out infinite alternate; transform-origin: 70% 30%; }
#tm .tm-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,12,5,.92) 0%, rgba(22,12,5,.7) 38%, rgba(22,12,5,0) 70%); }
#tm .tm-hero-in { position: relative; z-index: 2; flex: 1; display: flex; align-items: center; padding-top: 40px; padding-bottom: 96px; width: 100%; }
#tm .tm-hero-box { display: flex; gap: 30px; align-items: stretch; max-width: 640px; }
#tm .mong { writing-mode: vertical-lr; font-family: 'Noto Sans Mongolian', serif; font-size: 22px; line-height: 1.5; color: #D9B26A; letter-spacing: 3px; border-right: 1px solid rgba(217,178,106,.4); padding-right: 22px; }
#tm .hero-copy { display: flex; flex-direction: column; gap: 26px; justify-content: center; }
#tm .hero-copy p { font-size: 18px; line-height: 1.7; color: #E4D6BF; max-width: 470px; }
#tm .hero-copy .tm-btn { align-self: flex-start; }
#tm .dust { position: absolute; z-index: 1; width: 4px; height: 4px; border-radius: 50%; background: #FFE7B0; box-shadow: 0 0 8px 2px rgba(255,214,140,.7); opacity: 0; animation: tmDust 9s linear infinite; }
#tm .smoke { position: absolute; z-index: 1; left: 70%; top: 24%; width: 120px; height: 260px; opacity: .55; filter: blur(6px); animation: tmSmoke 7s ease-in-out infinite; }
#tm .mong-reveal { animation: tmWrite 3.2s ease-out .4s both; }
#tm .hero-copy > * { animation: tmUp 1s ease-out both; }
#tm .hero-copy > *:nth-child(2) { animation-delay: .25s; }
#tm .hero-copy > *:nth-child(3) { animation-delay: .5s; }
@keyframes tmKb { from { transform: scale(1); } to { transform: scale(1.09); } }
@keyframes tmDust { 0% { opacity: 0; transform: translate(0,0); } 15% { opacity: .9; } 85% { opacity: .6; } 100% { opacity: 0; transform: translate(-30px,-220px); } }
@keyframes tmSmoke { 0% { transform: translate(0,30px) scaleX(1); opacity: 0; } 30% { opacity: .55; } 100% { transform: translate(-18px,-90px) scaleX(1.6); opacity: 0; } }
@keyframes tmWrite { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes tmUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* stickers */
#tm .sticker { position: absolute; z-index: 2; pointer-events: auto; filter: drop-shadow(0 14px 16px rgba(30,15,5,.35)); animation: tmBob 6s ease-in-out infinite; transition: rotate .4s ease, scale .4s ease; }
#tm .sticker img { display: block; width: 100%; height: auto; }
#tm .sticker:hover { rotate: 12deg; scale: 1.08; }
#tm .st-bowl { width: 140px; right: 5%; top: 56px; rotate: -8deg; }
#tm .st-pouch { width: 96px; right: 4%; top: 40px; rotate: 10deg; animation-delay: -2s; }
#tm .st-tagsh { width: 130px; right: 15%; top: 96px; rotate: -6deg; animation-delay: -4s; }
#tm .st-book { width: 150px; right: 6%; top: 40px; rotate: 8deg; animation-delay: -1s; }
#tm .st-herbs { width: 80px; left: 3%; bottom: 60px; rotate: -12deg; animation-delay: -3s; }
#tm .st-box { width: 130px; right: 4%; top: -60px; rotate: -6deg; animation-delay: -5s; }
@keyframes tmBob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* reviews: swiped by hand */
#tm .tm-reviews .wrap { margin-bottom: 30px; }
#tm .tm-facts { margin: 14px 0 0; color: #6B4A2E; font-size: 15px; display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: baseline; }
#tm .tm-facts b { color: #8A5A32; font-size: 19px; font-weight: 700; }
#tm .tm-rv-wrap { position: relative; margin-bottom: 0; }
#tm .tm-rv { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 4px 2px 26px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
#tm .tm-rv::-webkit-scrollbar { display: none; }
#tm .rv { margin: 0; flex: 0 0 300px; aspect-ratio: 1; scroll-snap-align: start; border-radius: 22px; border: 7px solid #8A5A32; background: #EADFCB; overflow: hidden; box-shadow: 0 14px 28px rgba(60,30,10,.13); }
#tm .rv-img { cursor: zoom-in; }
#tm .rv img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tm figure.rv-t { display: flex; flex-direction: column; padding: 26px 24px !important; background: #FFFBF3; border-color: #C9A35A; color: #3A2618; }
#tm .rv-stars { color: #C9A35A; font-size: 18px; letter-spacing: 2px; }
#tm .rv-stars i { font-style: normal; color: #E3D6BF; }
#tm .rv-t blockquote { margin: 14px 0 auto; font-size: 16.5px; line-height: 1.55; color: #3A2618; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; quotes: none; border: 0; padding: 0; background: none; font-style: normal; }
#tm .rv-t figcaption { margin-top: 16px; font-size: 14px; color: #8A5A32; }
#tm .rv-t figcaption b { color: #3A2618; font-weight: 700; }
#tm .tm-arr { position: absolute; top: calc(50% - 36px); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 1px solid #C9A35A; background: #17100A; color: #D9B26A; font-size: 20px; cursor: pointer; display: none; align-items: center; justify-content: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); transition: opacity .2s; }
#tm .tm-arr.l { left: -14px; } #tm .tm-arr.r { right: -14px; }
#tm .tm-arr[disabled] { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 820px) { #tm .tm-arr { display: flex; } }
.tm-lb { position: fixed; inset: 0; z-index: 999998; background: rgba(15,10,6,.88); display: flex; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.tm-lb img { max-width: min(92vw, 760px); max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }

/* FAQ */
#tm .tm-faq-in { max-width: 820px; }
#tm .tm-qs { margin-top: 26px; border-top: 1px solid rgba(138,90,50,.25); }
#tm .tm-q { border-bottom: 1px solid rgba(138,90,50,.25); }
#tm .tm-q summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-size: 17px; font-weight: 600; color: #3A2618; }
#tm .tm-q summary::-webkit-details-marker { display: none; }
#tm .tm-q summary::after { content: '+'; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 24px; color: #C9A35A; transition: transform .2s; }
#tm .tm-q[open] summary::after { transform: translateY(-50%) rotate(45deg); }
#tm .tm-q p { margin: 0 0 22px; color: #5A4030; line-height: 1.65; font-size: 15.5px; }

/* footer social */
#tm .tm-social { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 0 0 26px; }
#tm .tm-social a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border: 1px solid rgba(201,163,90,.45); border-radius: 999px; color: #D9B26A !important; text-decoration: none !important; font-size: 14px; transition: background .2s, border-color .2s; }
#tm .tm-social a:hover { background: rgba(201,163,90,.12); border-color: #C9A35A; }

/* product cards */
#tm .tm-row-head { display: flex; justify-content: space-between; gap: 16px; margin: 18px 0 30px; font-size: 14px; color: #B9A68C; }
#tm .tm-row-head a { color: #D9B26A; font-weight: 700; text-decoration: none; }
#tm .tm-scroll { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 16px; scrollbar-width: thin; scrollbar-color: #3A2A1C transparent; }
#tm .tm-scroll > .pc { flex: 0 0 300px; scroll-snap-align: start; }
#tm .tm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; margin-top: 30px; }
#tm .pc { position: relative; display: flex; flex-direction: column; gap: 12px; background: #231810; color: #F1E6D2; border-radius: 22px; padding: 18px; text-decoration: none; box-shadow: inset 0 0 0 1px #3A2A1C; transition: transform .35s ease, box-shadow .35s ease; }
#tm .pc:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: inset 0 0 0 1px #3A2A1C, 0 22px 40px rgba(0,0,0,.35); }
#tm .pc[hidden] { display: none; }
#tm .pc-img { aspect-ratio: 1; border-radius: 14px; background: #2C1F15; overflow: hidden; display: flex; align-items: center; justify-content: center; }
#tm .pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tm .pc-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #D9B26A; }
#tm .pc h3 { font-family: 'Montserrat', sans-serif !important; font-weight: 700 !important; font-size: 18px; line-height: 1.3; }
#tm .pc p { font-size: 14px; line-height: 1.55; color: #B9A68C; }
#tm .pc-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
#tm .pc-price { font-family: 'Forum', serif; font-size: 26px; }
#tm .pc-price s { font-family: 'Montserrat', sans-serif; font-size: 13px; color: #B9A68C; margin-left: 8px; }
#tm .pc-buy { background: #C9A35A; color: #17100A; font-weight: 700; font-size: 15px; border-radius: 8px; padding: 11px 18px; }
#tm .pc-buy.off { background: #3A2A1C; color: #B9A68C; }
#tm .pc-badge { position: absolute; top: 28px; left: 28px; z-index: 1; font-size: 12px; font-weight: 700; background: #F6F0E6; color: #1E140C; border-radius: 999px; padding: 5px 11px; }
#tm .pc-badge.gold { background: #C9A35A; }
#tm .pc-course { background: #2F5D48; box-shadow: none; }
#tm .pc-course .pc-img { background: #264C3B; }
#tm .pc-course p { color: #D6E2D9; }
#tm .tm-notify { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
#tm .tm-notify input { flex: 1 1 150px; min-width: 0; font: inherit; font-size: 15px; padding: 12px 14px; border-radius: 8px; border: 0; background: #F2E8D5; color: #1E140C; }
#tm .tm-notify button { font: inherit; font-weight: 700; font-size: 15px; background: #C9A35A; color: #1E140C; border: 0; border-radius: 8px; padding: 12px 16px; cursor: pointer; }
#tm .tm-notify small { flex-basis: 100%; font-size: 13px; color: #E6F0E9; }
#tm .tm-notify small:empty { display: none; }

/* shop page */
#tm .tm-shop-page { padding-top: 72px; }
#tm .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
#tm .chips a { text-decoration: none; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px #3A2A1C; color: #F1E6D2; }
#tm .chips a.on, #tm .chips a:hover { background: #C9A35A; color: #17100A; box-shadow: none; }
#tm .empty { margin-top: 24px; color: #B9A68C; }

/* blog (herbarium cards) */
#tm .tm-blog-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
#tm .tm-blog .lead { color: #4A3828; }
#tm .tm-herbs { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
#tm .herb { flex: 1 1 280px; max-width: 360px; min-width: 0; background: #FBF6EA; padding: 18px 18px 16px; box-shadow: 0 18px 34px rgba(60,30,10,.16); position: relative; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: #1E140C; transition: rotate .4s ease; }
#tm .herb::before, #tm .herb::after { content: ""; position: absolute; width: 70px; height: 22px; background: rgba(214,196,160,.75); top: -10px; }
#tm .herb::before { left: -14px; rotate: -28deg; }
#tm .herb::after { right: -14px; rotate: 28deg; }
#tm .herb:hover { rotate: 0deg !important; }
#tm .herb img, #tm .herb-ph { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #E3D2AE; }
#tm .herb-cat { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #8A5A32; }
#tm .herb-title { font-family: 'Forum', serif; font-size: 24px; line-height: 1.2; }
#tm .herb-more { font-size: 14px; font-weight: 600; color: #8A5A32; border-top: 1px dashed #C9B28A; padding-top: 10px; }

/* product page */
#tm .tm-pp { padding-top: 48px; }
#tm .crumb { font-size: 14px; color: #6B5646; margin-bottom: 28px; }
#tm .crumb a { color: #8A5A32; text-decoration: none; font-weight: 600; }
#tm .pgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
#tm .gal .main { aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: #EADFCB; }
#tm .gal .main img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tm .gal .th { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
#tm .gal .th button { width: 72px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; }
#tm .gal .th button.on { border-color: #8A5A32; }
#tm .gal .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
#tm .info { display: flex; flex-direction: column; gap: 18px; }
#tm .info .pr { display: flex; align-items: baseline; gap: 12px; }
#tm .info .pr b { font-family: 'Forum', serif; font-weight: 400; font-size: 38px; }
#tm .info .pr s { color: #6B5646; }
#tm .info .sd { color: #4A3828; line-height: 1.7; }
#tm .info .tm-btn { align-self: flex-start; }
#tm .info .note, #tm .soldout { font-size: 14px; color: #6B5646; }
#tm .desc2 { margin-top: 72px; max-width: 760px; }
#tm .desc2 h2 { margin-bottom: 18px; }
#tm .desc2 .tx { color: #3A2618; line-height: 1.8; }
#tm .desc2 .tx > * + * { margin-top: 14px; }

/* test page placeholder */
#tm .tm-test { min-height: 60vh; display: flex; align-items: center; }
#tm .tm-test .lead { color: #B9A68C; }

/* footer */
#tm .tm-foot { background: #0F0A06; color: #F1E6D2; padding: 84px 0 40px; position: relative; }
#tm .tm-foot-cta { display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; margin-bottom: 40px; }
#tm .tm-foot-cta h2 { flex: 1 1 420px; font-size: clamp(38px, 4.6vw, 62px); line-height: 1.02; }
#tm .tm-foot-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; border-top: 1px solid rgba(217,178,106,.3); padding-top: 24px; font-size: 14px; }
#tm .tm-foot-row nav { display: flex; gap: 20px; flex-wrap: wrap; }
#tm .tm-foot-row a { text-decoration: none; color: #B9A68C; }
#tm .tm-foot-row a:hover { color: #D9B26A; }

/* scroll reveal (Chrome / Safari; Firefox-д энгийн харагдана) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    #tm .reveal { animation: tmUp linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  }
}
@media (prefers-reduced-motion: reduce) { #tm *, #tm *::before, #tm *::after { animation: none !important; } }

/* phone */
@media (max-width: 860px) {
  #tm .pgrid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 720px) {
  #tm .wrap { padding: 0 16px; }
  #tm .tm-dark, #tm .tm-light { padding: 72px 0; }
  #tm .tm-paper { padding: 80px 0; }
  #tm .tm-hero { min-height: 92vh; }
  #tm .tm-hero-img { background-image: var(--ht); background-position: center bottom; }
  #tm .tm-hero-shade { background: linear-gradient(180deg, rgba(22,12,5,.9) 0%, rgba(22,12,5,.55) 45%, rgba(22,12,5,0) 70%); }
  #tm .tm-hero-in { align-items: flex-start; padding-top: 24px; }
  #tm .tm-hero-box { gap: 18px; }
  #tm .mong { font-size: 18px; padding-right: 14px; }
  #tm .hero-copy p { font-size: 16px; }
  #tm .tm-btn-lg { font-size: 15px; padding: 16px 20px; }
  #tm .tm-logo img { height: 40px; }
  #tm .tm-logo span { font-size: 20px; letter-spacing: 2px; }
  #tm .tm-nav nav { gap: 18px; font-size: 14px; }
  #tm .dust, #tm .smoke, #tm .sticker { display: none; }
  #tm .tm-scroll > .pc { flex-basis: 78%; }
  #tm .rv { flex-basis: 78vw; max-width: 300px; }
  #tm figure.rv-t { padding: 22px 20px !important; }
  #tm .rv-t blockquote { font-size: 15.5px; }
}

/* text colours stay ours even when the theme or page builder sets heading/text colours */
#tm .tm-dark, #tm .tm-dark h1, #tm .tm-dark h2, #tm .tm-dark h3, #tm .tm-hero h1, #tm .pc, #tm .pc h3, #tm .pc-price,
#tm .tm-foot, #tm .tm-foot h2, #tm .tm-foot-row > span, #tm .tm-logo span { color: #F1E6D2 !important; }
#tm .tm-light, #tm .tm-light h1, #tm .tm-light h2, #tm .tm-light h3, #tm .tm-paper h2, #tm .herb-title { color: #1E140C !important; }
#tm .tm-row-head span, #tm .pc-price s, #tm .pc p { color: #B9A68C !important; }
#tm .pc-course p { color: #D6E2D9 !important; }
#tm .pc-buy, #tm .tm-btn { color: #17100A !important; }

/* theme-ийн img / figure загвар (цагаан хүрээ, padding) манай зургуудад нөлөөлөхгүй */
#tm figure, #tm .rv { margin: 0 !important; padding: 0 !important; }
#tm .rv img, #tm .pc-img img, #tm .herb img, #tm .gal img, #tm .sticker img, .tm-lb img {
  padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important;
  box-shadow: none !important; max-width: none !important; outline: 0 !important;
}
#tm .rv img, #tm .pc-img img { width: 100% !important; height: 100% !important; object-fit: cover !important; border-radius: 0 !important; }
.tm-lb img { max-width: min(92vw, 760px) !important; border-radius: 14px !important; box-shadow: 0 30px 80px rgba(0,0,0,.5) !important; }

/* blog list + single post */
#tm .tm-blog-page { padding-top: 72px; }
#tm .tm-blog-page h1 { color: #1E140C !important; }
#tm .tm-pages { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
#tm .tm-pages a, #tm .tm-pages span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; text-decoration: none; font-weight: 600; color: #1E140C; box-shadow: inset 0 0 0 1px #C9B28A; }
#tm .tm-pages .current { background: #1E140C; color: #F6F0E6; box-shadow: none; }
#tm .tm-article { padding: 56px 0 72px; }
#tm .tm-article-in { max-width: 780px; }
#tm .tm-article h1 { color: #1E140C !important; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; }
#tm .tm-article .crumb a { color: #8A5A32; }
#tm .tm-meta { margin-top: 14px !important; font-size: 14px; color: #6B5646; }
#tm .tm-cover { margin: 34px 0 0 !important; border-radius: 18px; overflow: hidden; box-shadow: 0 18px 34px rgba(60,30,10,.16); }
#tm .tm-cover img { display: block; width: 100% !important; height: auto; padding: 0 !important; border: 0 !important; background: none !important; }
#tm .tm-prose { margin-top: 40px; font-size: 18px; line-height: 1.8; color: #3A2618; }
#tm .tm-prose > * + * { margin-top: 1.1em; }
#tm .tm-prose h2, #tm .tm-prose h3, #tm .tm-prose h4 { color: #1E140C !important; margin-top: 1.6em; }
#tm .tm-prose h2 { font-size: 34px; } #tm .tm-prose h3 { font-size: 27px; }
#tm .tm-prose a { color: #8A5A32; text-decoration: underline; text-underline-offset: 3px; }
#tm .tm-prose ul, #tm .tm-prose ol { padding-left: 1.3em; }
#tm .tm-prose li + li { margin-top: .4em; }
#tm .tm-prose blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 3px solid #C9A35A; font-family: 'Forum', serif; font-size: 24px; line-height: 1.4; color: #1E140C; }
#tm .tm-prose img { border-radius: 14px; height: auto; }
#tm .tm-prose figure { margin-left: 0 !important; margin-right: 0 !important; }
#tm .tm-more-posts { padding-top: 40px; }
#tm .tm-more-posts .eyebrow { margin-bottom: 40px; }
@media (max-width: 720px) { #tm .tm-prose { font-size: 16.5px; } }

/* outline button (footer) */
#tm .tm-btn-line { background: transparent !important; color: #D9B26A !important; box-shadow: inset 0 0 0 2px #C9A35A; }
#tm .tm-btn-line:hover { background: #C9A35A !important; color: #17100A !important; }

/* phone fixes */
@media (max-width: 720px) {
  #tm .tm-hero-box { max-width: 100%; }
  #tm .hero-copy { min-width: 0; }
  #tm .tm-hero h1 { font-size: 38px !important; line-height: 1.08; overflow-wrap: break-word; }
  #tm h2 { font-size: 32px; }
  #tm .tm-foot-cta h2 { font-size: 34px; }
  #tm .tm-herbs { gap: 26px; }
  #tm .herb { rotate: 0deg !important; max-width: 100%; flex-basis: 100%; }
  #tm .herb::before, #tm .herb::after { width: 54px; }
  #tm .herb::before { left: -6px; } #tm .herb::after { right: -6px; }
  #tm .tm-blog-head { margin-bottom: 36px; }
  #tm .tm-foot-cta .tm-btn { width: 100%; }
}

/* Mongolian script as an image: looks the same on every phone and computer */
#tm .mong { writing-mode: horizontal-tb; display: flex; align-items: flex-start; }
#tm .mong img { width: auto !important; height: 460px !important; max-width: none !important; display: block; }

/* hero button on phones: left-aligned text, not a stretched centred block */
@media (max-width: 720px) {
  #tm .mong img { height: 300px !important; }
  #tm .hero-copy .tm-btn { justify-content: flex-start; text-align: left; font-size: 15px; padding: 15px 20px; line-height: 1.35; }
}
