/*
Theme Name: MDAUC Marketplace
Theme URI: https://auction.corivapartners.com/
Description: 医療機器BtoB中古オークション専用テーマ（場所貸しモデル）。全幅のマーケットプレイス外枠を提供し、プラグイン mdauc と連携します。
Version: 0.1.0
Author: Central Medience
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: mdauctheme
*/

:root {
	--mt-primary: #0f766e;
	--mt-primary-d: #0b5a54;
	--mt-accent: #1d4ed8;
	--mt-ink: #1f2937;
	--mt-muted: #6b7280;
	--mt-line: #e5e7eb;
	--mt-bg: #f4f6f8;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
	color: var(--mt-ink);
	background: var(--mt-bg);
	line-height: 1.6;
}
a { color: var(--mt-accent); }
img { max-width: 100%; height: auto; }

/* ===== ヘッダー ===== */
.mt-header { background: #fff; border-bottom: 1px solid var(--mt-line); position: sticky; top: 0; z-index: 100; box-shadow: 0 1px 3px rgba(16,24,40,.04); }
.mt-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 64px; display: flex; align-items: center; gap: 24px; }
.mt-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--mt-ink); font-weight: 800; font-size: 20px; white-space: nowrap; }
.mt-logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.mt-logo-img { object-fit: contain; border-radius: 9px; }
.mt-logo-text { display: flex; flex-direction: column; line-height: 1.12; letter-spacing: .01em; }
.mt-logo-text .sub { font-size: 11px; color: var(--mt-muted); font-weight: 600; margin-top: 2px; letter-spacing: 0; }
.mt-nav { display: flex; gap: 4px; margin-left: 8px; }
.mt-nav ul, .mt-nav li { display: contents; list-style: none; margin: 0; padding: 0; }
.mt-nav a { text-decoration: none; color: var(--mt-ink); font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 8px; }
.mt-nav a:hover { background: var(--mt-bg); color: var(--mt-primary); }
.mt-header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.mt-lang { display: flex; border: 1px solid var(--mt-line); border-radius: 8px; overflow: hidden; }
.mt-lang a { padding: 6px 9px; font-size: 12px; font-weight: 700; text-decoration: none; color: var(--mt-muted); border-right: 1px solid var(--mt-line); }
.mt-lang a:last-child { border-right: 0; }
.mt-lang a.is-active { background: var(--mt-primary); color: #fff; }
.mt-btn { display: inline-flex; align-items: center; text-decoration: none; font-weight: 700; font-size: 13px; padding: 9px 16px; border-radius: 8px; }
.mt-btn-primary { background: var(--mt-primary); color: #fff; }
.mt-btn-primary:hover { background: var(--mt-primary-d); }
.mt-btn-ghost { color: var(--mt-ink); border: 1px solid var(--mt-line); }
.mt-btn-ghost:hover { border-color: var(--mt-primary); color: var(--mt-primary); }

/* ===== コンテンツ ===== */
.mt-main { max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; }
.mt-page-head { margin: 0 0 22px; }
.mt-page-head h1 { font-size: 24px; margin: 0; font-weight: 800; }

/* ===== 子ページ共通ヘッダー ===== */
.mt-page-head { position: relative; overflow: hidden; margin: 0 0 28px; padding: 34px 38px; border: 1px solid #d4e0dc; border-radius: 18px; background: linear-gradient(115deg,#f7fbf9 0%,#edf5f2 70%,#e8f1ee 100%); }
.mt-page-head::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -110px; border-radius: 50%; border: 40px solid rgba(15,118,110,.07); }
.mt-page-eyebrow { position: relative; z-index: 1; margin: 0 0 7px; color: var(--mt-primary); font-size: 12px; font-weight: 800; letter-spacing: .13em; }
.mt-page-head h1 { position: relative; z-index: 1; font-size: clamp(25px,3vw,36px); line-height: 1.35; letter-spacing: .02em; }
.mt-page-intro { position: relative; z-index: 1; max-width: 720px; margin: 10px 0 0; color: var(--mt-muted); font-size: 15px; line-height: 1.8; }
.mt-page-shell { min-width: 0; }
@media (max-width: 600px) { .mt-page-head { padding: 25px 21px; border-radius: 14px; } .mt-page-intro { font-size: 14px; } }

/* ===== ヒーロー（トップ） ===== */
.mt-hero { background: linear-gradient(120deg, #0f766e 0%, #115e59 50%, #1d4ed8 130%); color: #fff; border-radius: 16px; padding: 40px 36px; margin-bottom: 30px; }
.mt-hero h1 { font-size: 28px; margin: 0 0 10px; font-weight: 800; line-height: 1.35; }
.mt-hero p { margin: 0 0 20px; opacity: .92; font-size: 15px; }
.mt-hero .mt-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-hero .mt-btn-primary { background: #fff; color: var(--mt-primary); }
.mt-hero .mt-btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.mt-trust { display: flex; gap: 22px; margin-top: 24px; flex-wrap: wrap; font-size: 13px; opacity: .95; }
.mt-trust span::before { content: "✓ "; font-weight: 800; }

/* ===== フッター ===== */
.mt-footer { background: #0f172a; color: #cbd5e1; margin-top: 40px; }
.mt-footer-inner { max-width: 1200px; margin: 0 auto; padding: 32px 20px; font-size: 13px; }
.mt-footer a { color: #cbd5e1; text-decoration: none; margin-right: 16px; }
.mt-footer a:hover { color: #fff; }
.mt-footer-company { margin-bottom: 4px; }
.mt-footer-co-name { font-weight: 700; color: #e2e8f0; margin: 0 0 4px; font-size: 14px; }
.mt-footer-co-info { margin: 0; line-height: 1.7; opacity: .85; }
.mt-footer-links { display: flex; flex-wrap: wrap; row-gap: 6px; margin: 16px 0; padding: 16px 0; border-top: 1px solid #1e293b; border-bottom: 1px solid #1e293b; }
.mt-footer .mt-copy { opacity: .7; margin-top: 16px; line-height: 1.7; }

@media (max-width: 720px) {
	.mt-nav { display: none; }
	.mt-hero { padding: 28px 22px; }
	.mt-hero h1 { font-size: 22px; }
}

/* ===== 新トップ ===== */
.mt-hero2 { position: relative; background: radial-gradient(1200px 400px at 80% -10%, #1d4ed8 0%, transparent 60%), linear-gradient(120deg, #0f766e 0%, #115e59 55%, #0b3b6b 130%); color: #fff; border-radius: 20px; padding: 48px 44px 0; margin-bottom: 32px; overflow: hidden; }
.mt-hero2-text { max-width: 560px; position: relative; z-index: 2; padding-bottom: 40px; }
.mt-hero2-eyebrow { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; margin-bottom: 16px; }
.mt-hero2 h1 { font-size: 36px; line-height: 1.28; margin: 0 0 14px; font-weight: 900; letter-spacing: .01em; }
.mt-hero2 p { font-size: 15px; opacity: .94; margin: 0 0 24px; max-width: 500px; }
.mt-hero2-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.mt-btn-lg { padding: 14px 26px; font-size: 15px; border-radius: 10px; }
.mt-hero2 .mt-btn-primary { background: #fff; color: var(--mt-primary); }
.mt-hero2 .mt-btn-primary:hover { background: #eafaf7; }
.mt-hero2 .mt-btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.mt-hero2 .mt-btn-ghost:hover { background: rgba(255,255,255,.1); }
.mt-hero2-art { position: absolute; right: 18px; top: 14px; width: 340px; max-width: 42%; z-index: 1; opacity: .92; }
.mt-hero2.has-photo { background-size: cover; background-position: center; }
.mt-hero2.has-photo .mt-hero2-art { display: none; }
@media (max-width: 860px) { .mt-hero2-art { display: none; } .mt-hero2 h1 { font-size: 28px; } .mt-hero2 { padding: 36px 24px 0; } }
.mt-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(255,255,255,.18); border-radius: 14px 14px 0 0; overflow: hidden; }
.mt-stat { background: rgba(255,255,255,.08); backdrop-filter: blur(4px); padding: 18px 16px; text-align: center; }
.mt-stat .n { display: block; font-size: 26px; font-weight: 900; }
.mt-stat .l { display: block; font-size: 12px; opacity: .85; margin-top: 2px; }
@media (max-width: 620px) { .mt-stats { grid-template-columns: repeat(2,1fr); } }

.mt-section { margin: 40px 0; }
.mt-h2 { font-size: 22px; font-weight: 800; margin: 0 0 18px; position: relative; padding-left: 14px; }
.mt-h2::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 5px; border-radius: 3px; background: linear-gradient(var(--mt-primary), var(--mt-accent)); }
.mt-section-head { display: flex; align-items: baseline; justify-content: space-between; }
.mt-more { font-size: 13px; font-weight: 700; text-decoration: none; color: var(--mt-primary); }

.mt-cats { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 720px) { .mt-cats { grid-template-columns: repeat(2,1fr); } }
.mt-cat { display: flex; flex-direction: column; gap: 2px; background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; padding: 18px; text-decoration: none; color: var(--mt-ink); transition: .15s; }
.mt-cat:hover { border-color: var(--mt-primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16,24,40,.08); }
.mt-depts { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-dept { display: inline-block; background: #fff; border: 1px solid var(--mt-line); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--mt-ink); font-size: 14px; font-weight: 600; transition: .15s; }
.mt-dept:hover { border-color: var(--mt-primary); color: var(--mt-primary); background: #f0fdfa; }

/* TOP：左サイドバー＋本文の2カラム */
.mt-toplayout { display: grid; grid-template-columns: 224px 1fr; gap: 28px; align-items: start; margin-top: 28px; }
.mt-side { position: sticky; top: 14px; }
.mt-side-block { background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; margin-bottom: 16px; overflow: hidden; }
.mt-side-h { font-size: 14px; font-weight: 800; margin: 0; padding: 11px 16px; color: #fff; background: linear-gradient(135deg, var(--mt-primary), #0e7490); }
.mt-side-list { list-style: none; margin: 0; padding: 0; }
.mt-side-list li { border-top: 1px solid #f1f5f9; }
.mt-side-list a { display: block; padding: 9px 14px 9px 28px; text-decoration: none; color: var(--mt-ink); font-size: 13px; position: relative; line-height: 1.4; }
.mt-side-list a::before { content: "›"; position: absolute; left: 14px; top: 8px; color: var(--mt-accent); font-weight: 700; }
.mt-side-list a:hover { background: #f0fdfa; color: var(--mt-primary); }
.mt-mainarea { min-width: 0; }
.mt-mainarea .mt-section:first-child { margin-top: 0; }
@media (max-width: 860px) {
	.mt-toplayout { grid-template-columns: 1fr; gap: 16px; }
	.mt-side { position: static; }
	.mt-side-list { display: flex; flex-wrap: wrap; }
	.mt-side-list li { border-top: 0; }
	.mt-side-list a { padding: 7px 12px 7px 22px; }
}
.mt-cat-ico { font-size: 26px; }
.mt-cat-name { font-weight: 800; font-size: 15px; margin-top: 6px; }
.mt-cat-sub { font-size: 12px; color: var(--mt-muted); }

.mt-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 720px) { .mt-steps { grid-template-columns: 1fr; } }
.mt-step { background: #fff; border: 1px solid var(--mt-line); border-radius: 12px; padding: 22px; }
.mt-step-n { display: inline-flex; width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--mt-primary), var(--mt-accent)); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 10px; }
.mt-step h3 { margin: 0 0 6px; font-size: 16px; }
.mt-step p { margin: 0; font-size: 13px; color: var(--mt-muted); }

/* ===== WP既定要素の最小整形 ===== */
.mt-content h2 { font-size: 20px; }
.mt-content { background: transparent; }

/* Purpose-led marketplace: shared layout and accessible navigation. */
:root { --mt-ink: #18312f; --mt-muted: #526663; --mt-line: #d9e3df; --mt-bg: #f5f7f4; }
body { line-height: 1.75; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid #1d4ed8; outline-offset: 4px; }
.mt-skip { position: fixed; left: 16px; top: -100px; z-index: 1000; background: #fff; padding: 12px 20px; }
.mt-skip:focus { top: 12px; }
#main-content, #usage-guide { scroll-margin-top: 150px; }
.mt-header-inner { height: auto; min-height: 80px; flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; }
.mt-nav { order: 3; width: 100%; margin: 0; border-top: 1px solid var(--mt-line); padding-top: 8px; flex-wrap: wrap; }
.mt-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.mt-btn { min-height: 44px; justify-content: center; }
.mt-main { padding-top: 32px; }
.mt-hero2 { background: #123f38; border-radius: 20px; padding: 48px 44px 0; }
.mt-hero2 h1 { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.4; letter-spacing: .025em; }
.mt-hero2 p { line-height: 1.9; }
.mt-hero2.has-photo { background-blend-mode: normal; }
.mt-stats { background: transparent; border-top: 1px solid #ffffff40; border-radius: 0; }
.mt-stat { background: transparent; padding: 16px; }
.mt-stat .n { font-variant-numeric: tabular-nums; }
.mt-h2 { padding-left: 0; font-size: 23px; letter-spacing: .02em; }
.mt-h2::before { content: none; }
.mt-section-head { gap: 12px; flex-wrap: wrap; }
.mt-more { min-height: 44px; display: inline-flex; align-items: center; }
.mt-intents { margin: 36px 0 44px; }
.mt-intent-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mt-intent { display: flex; flex-direction: column; padding: 24px 20px; border: 1px solid var(--mt-line); border-radius: 14px; color: var(--mt-ink); background: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.mt-intent:hover { border-color: var(--mt-primary); box-shadow: 0 8px 24px #173e3410; }
.mt-intent-number { font-size: 11px; font-weight: 700; letter-spacing: .12em; color: var(--mt-primary); }
.mt-intent h3 { font-size: 17px; margin: 18px 0 8px; }
.mt-intent h3 span { color: var(--mt-primary); }
.mt-intent p { font-size: 14px; margin: 0 0 24px; color: var(--mt-muted); }
.mt-intent-link { color: var(--mt-primary); font-size: 14px; font-weight: 700; margin-top: auto; }
.mt-side { position: static; }
.mt-side-h { background: #e7eee9; color: var(--mt-ink); }
.mt-side-list a { min-height: 44px; display: flex; align-items: center; font-size: 14px; }
.mt-step-n { background: var(--mt-primary); }
.mt-step p { font-size: 14px; }
@media (max-width: 1000px) { .mt-intent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
 .mt-header { position: static; }
 .mt-header-inner { padding: 12px 16px 0; gap: 12px; }
 .mt-header-right { flex-wrap: wrap; gap: 8px; }
 .mt-logo { font-size: 18px; }
 .mt-lang a { min-width: 36px; min-height: 44px; display: grid; place-items: center; }
 .mt-nav { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 8px; }
 .mt-nav a { white-space: nowrap; padding: 8px 12px; }
 .mt-nav li { display: block; flex: 0 0 auto; }
 .mt-main { padding: 20px 16px 40px; }
 .mt-hero2 { padding: 28px 22px 0; }
 .mt-hero2-text { padding-bottom: 28px; }
 .mt-hero2-actions .mt-btn { flex: 1 1 auto; padding-inline: 16px; }
 .mt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
 .mt-stat { padding: 14px 4px; }
 .mt-stat .n { font-size: 22px; }
 .mt-section { margin: 28px 0; }
 .mt-intent { padding: 18px 16px; }
 .mt-intent h3 { font-size: 16px; }
}
@media (max-width: 400px) { .mt-intent-grid { grid-template-columns: 1fr; } .mt-header-right { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Auction-first homepage. */
.mt-auction-hero { padding-top: 38px; }
.mt-auction-hero .mt-hero2-text { max-width: 700px; }
.mt-auction-hero h1 { margin-bottom: 8px; }
.mt-auction-search { display: grid; grid-template-columns: minmax(0, 1fr) auto; max-width: 690px; margin-top: 24px; padding: 6px; border-radius: 12px; background: #fff; box-shadow: 0 12px 32px rgba(4, 30, 26, .2); }
.mt-auction-search input { min-width: 0; min-height: 50px; padding: 11px 14px; border: 0; color: var(--mt-ink); font: inherit; font-size: 16px; background: transparent; }
.mt-auction-search input:focus { outline: 0; }
.mt-auction-search button { min-height: 50px; padding: 10px 24px; border: 0; border-radius: 8px; background: #d08a18; color: #fff; font: inherit; font-weight: 800; cursor: pointer; }
.mt-auction-search button:hover { background: #b86f08; }
.mt-quick-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 15px; }
.mt-quick-links a { min-height: 36px; display: inline-flex; align-items: center; color: #fff; font-size: 13px; font-weight: 700; text-underline-offset: 4px; }
.mt-section-kicker { display: block; color: var(--mt-primary); font-size: 11px; line-height: 1.2; font-weight: 900; letter-spacing: .16em; margin-bottom: 7px; }
.mt-section-note { margin: 5px 0 0; color: var(--mt-muted); font-size: 13px; }
.mt-section-head .mt-h2 { margin-bottom: 0; }
.mt-closing-soon { margin-top: 46px; }
.mt-closing-soon .mdauc-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-categories { border-top: 1px solid var(--mt-line); padding-top: 38px; }
.mt-cats { margin-top: 20px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mt-cat { min-height: 142px; padding: 20px; }
.mt-cat { position: relative; justify-content: center; }
.mt-cat-arrow { position: absolute; right: 16px; bottom: 14px; color: var(--mt-primary); font-weight: 800; }
.mt-intent-grid-compact .mt-intent h3 { margin-top: 0; }
.mt-intent-grid-compact { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.mt-guide-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mt-guide-actions .mt-btn { min-width: 180px; }
@media (max-width: 1000px) {
	.mt-closing-soon .mdauc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mt-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.mt-auction-hero { padding-top: 26px; }
	.mt-auction-search { grid-template-columns: 1fr; padding: 5px; }
	.mt-auction-search button { width: 100%; }
	.mt-quick-links { gap: 4px 16px; }
	.mt-closing-soon { margin-top: 30px; }
	.mt-closing-soon .mdauc-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding: 3px 3px 14px; margin-inline: -3px; }
	.mt-closing-soon .mdauc-card { flex: 0 0 82%; scroll-snap-align: start; }
	.mt-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mt-cat { min-height: 126px; padding: 16px; }
	.mt-intent-grid-compact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
 .mt-nav { flex-wrap: wrap; overflow: visible; gap: 2px; }
 .mt-nav a { font-size: 13px; padding-inline: 10px; }
 .mt-hero2 h1 { font-size: clamp(24px, 6.5vw, 32px); }
}

/* A lighter marketplace shell and a purpose-led footer. */
:root { --mt-bg: #fbfcfa; --mt-primary: #176b5d; --mt-primary-d: #105347; }
body { background: var(--mt-bg); }
.mt-hero2.mt-auction-hero { background-color: #eaf2eb; color: #173b35; border: 1px solid #dce8de; box-shadow: 0 14px 40px rgba(31, 67, 53, .08); }
.mt-auction-hero .mt-hero2-eyebrow { color: #235f51; background: #fff; border-color: #cbded2; }
.mt-auction-hero p { color: #2e5148; opacity: 1; }
.mt-auction-hero .mt-quick-links a { color: #175e50; }
.mt-auction-hero .mt-stats { border-color: #a7bfb4; }
.mt-auction-hero .mt-stat { color: #234b41; }
.mt-auction-hero .mt-stat .l { opacity: 1; }
.mt-footer { margin-top: 56px; background: #f0f5f0; color: #294a40; border-top: 1px solid #d8e5dc; }
.mt-footer-inner { max-width: 1200px; padding: 50px 20px 22px; font-size: 14px; }
.mt-footer a { color: #244c40; margin: 0; }
.mt-footer a:hover { color: #0e6a56; text-decoration: underline; text-underline-offset: 3px; }
.mt-footer-top { display: grid; grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(145px, 1fr)); gap: 36px; }
.mt-footer-logo { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; text-decoration: none; }
.mt-footer-logo img { border-radius: 9px; }
.mt-footer-brand p { max-width: 240px; margin: 12px 0 0; line-height: 1.7; color: #52685d; }
.mt-footer-group { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.mt-footer-group h2 { margin: 0 0 7px; color: #1a3d33; font-size: 14px; font-weight: 800; }
.mt-footer-group a { display: inline-flex; align-items: center; min-height: 32px; line-height: 1.4; }
.mt-footer-bottom { margin-top: 34px; padding-top: 20px; border-top: 1px solid #d3e1d5; font-size: 12px; color: #586b60; }
.mt-footer-description { max-width: 820px; margin: 0 0 9px; line-height: 1.8; }
.mt-footer-company { margin: 9px 0; }
.mt-footer-company summary { display: inline-flex; align-items: center; min-height: 36px; cursor: pointer; color: #315c4e; font-weight: 700; }
.mt-footer-company p { margin: 3px 0 12px; line-height: 1.8; }
.mt-footer-copyright { margin: 12px 0 0; }
@media (max-width: 800px) { .mt-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
@media (max-width: 520px) {
 .mt-hero2.mt-auction-hero.has-photo { background-position: 62% center; }
 .mt-footer-inner { padding: 36px 18px 22px; }
 .mt-footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 14px; }
 .mt-footer-brand { grid-column: 1 / -1; }
 .mt-footer-group:last-child { grid-column: 1 / -1; }
 .mt-footer-group a { min-height: 40px; }
}

/* Editorial guides. */
.mt-column-feature-grid, .mt-column-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mt-column-feature-grid { margin-top: 22px; }
.mt-column-feature-grid a { display: block; overflow: hidden; border-radius: 14px; background: #fff; color: #163d34; box-shadow: 0 5px 20px rgba(25, 60, 45, .08); text-decoration: none; font-weight: 800; }
.mt-column-feature-grid img { display: block; width: 100%; height: 175px; object-fit: cover; }
.mt-column-feature-grid span { display: block; padding: 17px; }
.mt-column-index { max-width: 1200px; margin: auto; }
.mt-column-topics { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 28px; }
.mt-column-topics a { padding: 9px 17px; border: 1px solid #c9ddd3; border-radius: 30px; background: white; color: #205747; text-decoration: none; font-weight: 700; }
.mt-column-topics a.is-active, .mt-column-topics a:hover { background: #176b5d; color: white; }
.mt-column-card { display: flex; flex-direction: column; min-height: 235px; padding: 24px; border: 1px solid #d9e7dc; border-radius: 15px; background: white; color: #183c33; text-decoration: none; }
.mt-column-card:hover { border-color: #176b5d; box-shadow: 0 8px 24px rgba(25, 60, 45, .09); }
.mt-column-category { color: #176b5d; font-size: 12px; font-weight: 800; }
.mt-column-card h2 { margin: 10px 0; font-size: 19px; line-height: 1.45; }
.mt-column-card p { margin: 0 0 12px; color: #526b61; font-size: 14px; line-height: 1.8; }
.mt-column-read { margin-top: auto; color: #176b5d; font-weight: 800; }
.mt-column-pages { display: flex; gap: 12px; justify-content: center; margin: 35px 0; }
.mt-column-article { max-width: 820px; margin: 10px auto 50px; padding: 0 18px; }
.mt-column-breadcrumb { margin-bottom: 26px; color: #65786c; font-size: 13px; }
.mt-column-breadcrumb a, .mt-column-return a { color: #176b5d; }
.mt-column-article h1 { font-size: clamp(26px, 4vw, 38px); line-height: 1.4; }
.mt-column-body { color: #203b32; font-size: 16px; line-height: 2; }
.mt-column-body h2 { margin: 36px 0 8px; font-size: 22px; line-height: 1.5; }
.mt-column-figure { margin: 30px 0 26px; }
.mt-column-figure img { display: block; width: 100%; max-height: 470px; object-fit: cover; border-radius: 14px; }
.mt-column-figure figcaption { margin-top: 7px; color: #64776c; font-size: 12px; }
.mt-column-lead { font-size: 18px; font-weight: 600; }
.mt-column-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 18px 0 28px; padding: 0; list-style: none; counter-reset: colstep; }
.mt-column-flow li { position: relative; padding: 18px 10px; border-radius: 9px; background: #eaf4ed; text-align: center; font-size: 13px; font-weight: 800; line-height: 1.5; counter-increment: colstep; }
.mt-column-flow li::before { display: block; content: counter(colstep, decimal-leading-zero); color: #176b5d; font-size: 22px; }
.mt-column-next { margin: 38px 0; padding: 22px 26px; border-radius: 12px; background: #eaf4ed; }
.mt-column-next h2 { margin-top: 0; }
.mt-column-next a { display: inline-block; padding: 2px 0; color: #176b5d; font-weight: 800; }
.mt-column-note { padding-top: 20px; border-top: 1px solid #dae5dc; color: #5b7167; font-size: 13px; }
.mt-column-return { margin-top: 32px; }
.mt-column-example { margin: 34px 0; padding: 4px 23px 15px; border-left: 4px solid #176b5d; background: #f5f9f5; }
.mt-column-action { margin: 36px 0; padding: 25px; border-radius: 14px; background: #176b5d; color: #fff; }
.mt-column-action p { margin: 0 0 10px; font-size: 13px; }
.mt-column-action a { display: inline-flex; gap: 16px; align-items: center; color: #fff; font-size: 20px; font-weight: 800; text-decoration: underline; text-underline-offset: 5px; }
.mt-column-related { margin: 42px 0 20px; }
.mt-column-related h2 { font-size: 21px; }
.mt-column-related div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mt-column-related a { display: block; padding: 18px; border: 1px solid #d9e7dc; border-radius: 10px; background: white; color: #176b5d; font-weight: 700; text-decoration: none; }
.mt-column-related a:hover { border-color: #176b5d; }
@media (max-width: 850px) { .mt-column-grid, .mt-column-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mt-column-grid, .mt-column-feature-grid, .mt-column-related div { grid-template-columns: 1fr; } .mt-column-card { min-height: auto; } .mt-column-feature-grid img { height: 200px; } .mt-column-flow { grid-template-columns: repeat(2, 1fr); } }
