/* MilesPress term links: "Learn more about <term>" on a dictionary term page
   (approved mockup "Term page: Learn more block", 1 Dec). Built on the theme's
   own tokens so it looks like the theme; the theme can switch this file off
   (filter mpx/glossary/link_styles) and style .mpx-tl itself. */

.mpx-tl { margin: 40px 0 8px; padding-top: 28px; border-top: 1px solid var(--tt-line, #E4E1DA); display: flex; flex-direction: column; gap: 18px; font-family: var(--tt-sans, Inter, system-ui, sans-serif); }
.mpx-tl-h { margin: 0; font-family: var(--tt-serif, Newsreader, Georgia, serif); font-size: 30px; font-weight: 600; line-height: 1.2; color: var(--tt-ink, #1C1B1A); }
.mpx-tl-h3 { margin: 10px 0 0; font-family: var(--tt-serif, Newsreader, Georgia, serif); font-size: 22px; font-weight: 600; color: var(--tt-ink, #1C1B1A); }
.mpx-tl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mpx-tl-item { margin: 0; padding: 0; min-width: 0; }
.mpx-tl-card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--tt-line, #E4E1DA); border-radius: 12px; overflow: hidden; background: var(--tt-paper, #FFFFFF); color: var(--tt-ink, #1C1B1A); text-decoration: none !important; }
.mpx-tl-card:hover { border-color: var(--tt-wine, #7A1F2B); }
.mpx-tl-card:focus-visible { outline: 2px solid var(--tt-wine, #7A1F2B); outline-offset: 2px; }
.mpx-tl-pic { position: relative; display: block; aspect-ratio: 16 / 9; background: #3B2F2A; overflow: hidden; }
.mpx-tl-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpx-tl-card.is-locked .mpx-tl-pic img { filter: brightness(0.62); }
.mpx-tl-tile { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 12px; color: #FFFFFF; font-size: 14px; font-weight: 600; text-align: center; }
.mpx-tl-lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #FFFFFF; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; }
.mpx-tl-lock .mpx-tl-lockicon { width: 34px; height: 34px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: rgba(122, 31, 43, 0.9); }
.mpx-tl-play { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; background: rgba(28, 27, 26, 0.6); color: #FFFFFF; display: flex; align-items: center; justify-content: center; }
.mpx-tl-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.mpx-tl-label { font-size: 12px; font-weight: 600; color: var(--tt-wine, #7A1F2B); text-transform: uppercase; letter-spacing: 0.05em; }
.mpx-tl-title { font-size: 16px; font-weight: 600; line-height: 1.35; }
.mpx-tl-desc { font-size: 14px; line-height: 1.5; color: var(--tt-muted, #5E5A54); }
.mpx-tl-more { margin: 0; font-size: 15px; }
.mpx-tl-more a { color: var(--tt-wine, #7A1F2B); }
.mpx-tl-card.is-product { flex-direction: row; }
.mpx-tl-ppic { flex: 0 0 110px; background: #E9E4DC; }
.mpx-tl-ppic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mpx-tl-price { font-size: 15px; font-variant-numeric: tabular-nums; }
.mpx-tl-price s { color: var(--tt-muted, #5E5A54); margin-left: 4px; }
.mpx-tl-go { font-size: 14px; font-weight: 600; color: var(--tt-wine, #7A1F2B); }
.mpx-tl .mpx-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 900px) { .mpx-tl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mpx-tl-grid, .mpx-tl-grid.is-shop { grid-template-columns: minmax(0, 1fr); } .mpx-tl-h { font-size: 24px; } }
