/* ==========================================================================
   오늘메뉴 테마 — 디자인 토큰 · 컴포넌트 · 반응형 · 인쇄
   ========================================================================== */

/* 1. 토큰 ----------------------------------------------------------------- */
:root {
	--tm-bg: #F7F3EA;
	--tm-paper: #FFFDFA;
	--tm-primary: #3F4A36;
	--tm-primary-ink: #FFFDFA;
	--tm-text: #252A24;
	--tm-muted: #6B6F66;
	--tm-accent: #AD553C;
	--tm-border: #DAD6CC;
	--tm-border-soft: #E9E5DB;
	--tm-shadow: 0 1px 2px rgba(37, 42, 36, .06);
	--tm-radius: 12px;
	--tm-radius-sm: 8px;
	--tm-sans: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Nanum Gothic', system-ui, sans-serif;
	--tm-serif: 'Noto Serif KR', 'Apple SD Gothic Neo', 'Nanum Myeongjo', 'Batang', serif;
	--tm-max: 1280px;
	--tm-gutter: 32px;
	--tm-header-h: 72px;
	--tm-body: 18px;
	--tm-focal: 50% 50%;
	--tm-tap: 44px;
}
@media (max-width: 767px) {
	:root { --tm-gutter: 16px; --tm-header-h: 60px; --tm-body: 17px; }
}

/* 2. 리셋 · 기본 ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--tm-header-h) + 12px); }
body {
	margin: 0;
	background: var(--tm-bg);
	color: var(--tm-text);
	font-family: var(--tm-sans);
	font-size: var(--tm-body);
	line-height: 1.7;
	word-break: keep-all;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--tm-border); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--tm-serif); font-weight: 600; line-height: 1.3; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--tm-accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: rgba(173, 85, 60, .22); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.tm-skip { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--tm-primary); color: var(--tm-primary-ink); padding: 10px 16px; border-radius: var(--tm-radius-sm); }
.tm-skip:focus { top: 8px; }
.tm-container { max-width: var(--tm-max); margin: 0 auto; padding-left: var(--tm-gutter); padding-right: var(--tm-gutter); }
.tm-container--narrow { max-width: 820px; }
.tm-main { min-height: 60vh; padding-bottom: 56px; }
.tm-eyebrow { font-size: 14px; color: var(--tm-accent); letter-spacing: .02em; margin: 0 0 8px; }
.tm-eyebrow a { text-decoration: none; }
.tm-link { background: none; border: 0; padding: 0; color: var(--tm-muted); text-decoration: underline; text-underline-offset: .18em; min-height: var(--tm-tap); }

/* 2-1. 사이트 전역 스니펫(h2 밑줄·h3 파란 막대) 위에 테마 제목 톤을 덮어쓴다. 원본 스니펫은 건드리지 않음 */
body h1, body h2, body h3, body h4 { border: 0; padding: 0; color: var(--tm-primary); font-family: var(--tm-serif); font-weight: 600; letter-spacing: -.01em; }
body .tm-cover__name { color: var(--tm-text); font-family: var(--tm-sans); font-weight: 500; font-size: 15px; margin: 0; }
body .tm-prose h2 { padding-bottom: 0; margin: 1.6em 0 .5em; }
body .tm-prose h3 { margin: 1.4em 0 .4em; }
body .tm-prose h2::after { content: ""; display: block; width: 32px; height: 2px; background: var(--tm-accent); margin-top: 10px; border-radius: 1px; }

/* 3. 버튼 ------------------------------------------------------------------ */
.tm-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: var(--tm-tap); padding: 0 18px; border-radius: var(--tm-radius-sm);
	border: 1px solid var(--tm-border); background: var(--tm-paper); color: var(--tm-text);
	text-decoration: none; font-weight: 500; font-size: 16px; line-height: 1.2; white-space: nowrap;
}
.tm-btn:hover { border-color: var(--tm-primary); }
.tm-btn--primary { background: var(--tm-primary); border-color: var(--tm-primary); color: var(--tm-primary-ink); }
.tm-btn--primary:hover { background: #333d2c; }
.tm-btn--ghost { background: transparent; }
.tm-btn[aria-pressed="true"], .tm-btn.is-on { border-color: var(--tm-accent); color: var(--tm-accent); }
.tm-iconbtn {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	width: var(--tm-tap); height: var(--tm-tap); border: 0; background: transparent; border-radius: 50%; color: var(--tm-primary); text-decoration: none;
}
.tm-iconbtn:hover { background: rgba(63, 74, 54, .08); }
.tm-iconbtn__count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--tm-accent); color: #fff; font-size: 11px; line-height: 18px; text-align: center; }

/* 4. 헤더 ------------------------------------------------------------------ */
.tm-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 243, 234, .96); backdrop-filter: saturate(1.1) blur(6px); border-bottom: 1px solid var(--tm-border-soft); }
.tm-header__inner { display: flex; align-items: center; gap: 24px; height: var(--tm-header-h); }
.tm-header__brand { flex: 0 0 auto; display: flex; align-items: center; }
.tm-logo { font-family: var(--tm-serif); font-weight: 600; font-size: 26px; color: var(--tm-primary); text-decoration: none; letter-spacing: -.02em; }
.tm-logo--sm { font-size: 22px; }
.custom-logo-link img { max-height: 40px; width: auto; }
.tm-nav { flex: 1 1 auto; }
.tm-nav__list { display: flex; gap: 4px; list-style: none; }
.tm-nav__list li a { display: inline-flex; align-items: center; min-height: var(--tm-tap); padding: 0 12px; border-radius: var(--tm-radius-sm); text-decoration: none; font-size: 15px; color: var(--tm-text); }
.tm-nav__list li a:hover, .tm-nav__list .current-menu-item > a { color: var(--tm-primary); background: rgba(63, 74, 54, .07); }
.tm-nav__list--vertical { flex-direction: column; gap: 0; padding: 8px 0 16px; }
.tm-nav__list--vertical li a { font-size: 18px; min-height: 52px; }
.tm-header__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.tm-iconbtn--menu { display: none; }
.tm-search-panel, .tm-mobile-menu { border-top: 1px solid var(--tm-border-soft); background: var(--tm-bg); }
.tm-search-panel .tm-container { padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 1023px) {
	.tm-nav { display: none; }
	.tm-iconbtn--menu { display: inline-flex; }
}

/* 검색 폼 */
.tm-search { position: relative; display: flex; align-items: center; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: 999px; padding: 4px 4px 4px 18px; min-height: 52px; }
.tm-search:focus-within { border-color: var(--tm-primary); }
.tm-search input { flex: 1; border: 0; background: transparent; min-width: 0; font-size: 16px; outline: none; padding: 8px 0; }
.tm-search input::placeholder { color: #9a9d95; }
.tm-search__icon { color: var(--tm-muted); margin-right: 10px; flex: 0 0 auto; }
.tm-search__btn { flex: 0 0 auto; width: var(--tm-tap); height: var(--tm-tap); border-radius: 50%; border: 0; background: var(--tm-primary); color: var(--tm-primary-ink); display: inline-flex; align-items: center; justify-content: center; }
.tm-search--inline { max-width: 560px; }

/* 5. 첫 화면 소개 ------------------------------------------------------------ */
.tm-intro { background: linear-gradient(180deg, #F3EEE3 0%, var(--tm-bg) 100%); border-bottom: 1px solid var(--tm-border-soft); }
.tm-intro__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 32px; min-height: 240px; padding-top: 28px; padding-bottom: 28px; }
.tm-intro__title { font-size: clamp(30px, 3.6vw, 48px); color: var(--tm-primary); line-height: 1.2; margin-bottom: 10px; }
.tm-intro__title::first-line { color: var(--tm-text); }
.tm-intro__sub { color: var(--tm-muted); margin: 0; font-size: 16px; }
.tm-search--hero { min-height: 56px; }
@media (max-width: 767px) {
	.tm-intro__inner { grid-template-columns: 1fr; gap: 14px; min-height: 150px; padding-top: 20px; padding-bottom: 18px; }
	.tm-intro__title { font-size: 28px; }
}

/* 6. 필터 칩 ------------------------------------------------------------------ */
.tm-filters { margin: 20px 0 16px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tm-filters::-webkit-scrollbar { display: none; }
.tm-filters__list { display: flex; gap: 8px; list-style: none; width: max-content; min-width: 100%; }
.tm-filters__item {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px;
	border: 1px solid var(--tm-border); background: transparent; color: var(--tm-text); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.tm-filters__item:hover { border-color: var(--tm-primary); }
.tm-filters__item.is-active { background: var(--tm-primary); border-color: var(--tm-primary); color: var(--tm-primary-ink); }

/* 7. 카드 그리드 + 표지 ---------------------------------------------------------- */
.tm-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin: 8px 0 32px; }
.tm-grid[data-tm-featured] { padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px dashed var(--tm-border); }
.tm-grid--results { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1199px) { .tm-grid, .tm-grid--results { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 20px; } }
@media (max-width: 767px) { .tm-grid, .tm-grid--results { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; } }
@media (max-width: 359px) { .tm-grid, .tm-grid--results { grid-template-columns: 1fr; } }

.tm-cover { display: flex; flex-direction: column; min-width: 0; }
.tm-cover__link { display: block; text-decoration: none; color: inherit; border-radius: var(--tm-radius); }
.tm-cover__link:focus-visible { outline-offset: 4px; }
.tm-cover__frame {
	position: relative; aspect-ratio: 4 / 5; border-radius: var(--tm-radius); overflow: hidden;
	background: var(--tm-paper); border: 1px solid var(--tm-border-soft); box-shadow: var(--tm-shadow);
	display: flex; flex-direction: column; justify-content: flex-end;
}
.tm-cover__media { position: absolute; inset: 0; }
.tm-cover__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tm-focal); transition: transform .4s ease; }
.tm-cover__link:hover .tm-cover__img { transform: scale(1.02); }
.tm-cover__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; line-height: 1; z-index: 2; }
.tm-cover__type, .tm-cover__count { display: inline-flex; align-items: center; gap: 4px; padding: 6px 9px; border-radius: 999px; background: rgba(255, 253, 250, .9); color: var(--tm-primary); font-weight: 500; }
.tm-cover__text { position: relative; z-index: 2; padding: 16px 16px 18px; }
.tm-cover__title {
	font-family: var(--tm-serif); font-weight: 600; font-size: clamp(18px, 1.9vw, 28px); line-height: 1.28; margin: 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: keep-all;
}
.tm-cover__sub { font-size: 13px; margin: 6px 0 0; opacity: .85; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* A. 사진형: 사진 + 하단 어두운 오버레이 (가독성용 허용) */
.tm-cover--photo .tm-cover__text { color: #fff; padding-top: 72px; background: linear-gradient(180deg, rgba(20, 24, 18, 0) 0%, rgba(20, 24, 18, .62) 100%); }
.tm-cover--photo .tm-cover__title { text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
/* B. 문구형: 아이보리 바탕, 문구 위, 재료 사진 아래 */
.tm-cover--editorial .tm-cover__frame { background: var(--tm-paper); justify-content: flex-start; }
.tm-cover--editorial .tm-cover__text { order: 1; padding-top: 52px; color: var(--tm-text); }
.tm-cover--editorial .tm-cover__title { color: var(--tm-primary); }
.tm-cover--editorial .tm-cover__title::first-line { color: var(--tm-text); }
.tm-cover--editorial .tm-cover__media { position: relative; order: 2; flex: 1 1 auto; margin: 4px 12px 12px; border-radius: var(--tm-radius-sm); overflow: hidden; min-height: 0; }
.tm-cover--editorial .tm-cover__badges { position: absolute; }
/* C. 한 상: 올리브 바탕 */
.tm-cover--table .tm-cover__frame { background: var(--tm-primary); color: var(--tm-primary-ink); justify-content: flex-start; }
.tm-cover--table .tm-cover__text { order: 1; padding-top: 52px; }
.tm-cover--table .tm-cover__sub { opacity: .8; }
.tm-cover--table .tm-cover__media { position: relative; order: 2; flex: 1 1 auto; margin: 4px 12px 12px; border-radius: var(--tm-radius-sm); overflow: hidden; }
.tm-cover--table .tm-cover__type, .tm-cover--table .tm-cover__count { background: rgba(255, 253, 250, .16); color: var(--tm-primary-ink); }
/* D. 원문 보존(공공데이터): 사진을 자르거나 글자를 얹지 않는다 */
.tm-cover--source .tm-cover__frame { background: var(--tm-paper); justify-content: flex-start; }
.tm-cover--source .tm-cover__badges { position: static; order: 0; padding: 12px 12px 8px; }
.tm-cover--source .tm-cover__media { position: relative; order: 1; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; margin: 0 12px 12px; min-height: 0; }
.tm-cover--source .tm-cover__img--whole { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform: none !important; }
.tm-cover--source .tm-cover__type, .tm-cover--source .tm-cover__count { background: var(--tm-bg); }
.tm-cover--source.tm-cover--noimg .tm-cover__text { order: 1; color: var(--tm-primary); }
/* 사진 없음 대체 */
.tm-cover--noimg .tm-cover__frame { justify-content: center; }
.tm-cover--noimg .tm-cover__text { padding-top: 16px; }
.tm-cover--noimg.tm-cover--editorial .tm-cover__frame::after { content: ""; order: 3; display: block; height: 3px; width: 36px; background: var(--tm-accent); margin: 0 16px 20px; border-radius: 2px; }
.tm-cover__foot { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-top: 10px; }
.tm-cover__name { font-family: var(--tm-sans); font-weight: 500; font-size: 15px; line-height: 1.45; margin: 0; flex: 1 1 auto; min-width: 0; }
.tm-cover__name a { text-decoration: none; }
.tm-cover__name a:hover { text-decoration: underline; }
.tm-cover__meta { font-size: 13px; color: var(--tm-muted); margin: 4px 0 0; }
.tm-save { display: inline-flex; align-items: center; gap: 4px; min-width: var(--tm-tap); min-height: var(--tm-tap); padding: 0 6px; border: 0; background: transparent; color: var(--tm-muted); border-radius: var(--tm-radius-sm); flex: 0 0 auto; }
.tm-save:hover { color: var(--tm-primary); background: rgba(63, 74, 54, .07); }
.tm-save.is-on { color: var(--tm-accent); }
.tm-save.is-on svg path { fill: currentColor; }
.tm-cover__save .tm-save__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tm-save.tm-btn { color: var(--tm-text); border: 1px solid var(--tm-border); padding: 0 16px; }
.tm-save.tm-btn.is-on { color: var(--tm-accent); border-color: var(--tm-accent); }

/* 8. 더 보기 · 페이지 · 빈 상태 -------------------------------------------------- */
.tm-more { text-align: center; margin: 8px 0 24px; }
.tm-more__btn { min-width: 200px; }
.tm-more__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.tm-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 16px; font-size: 15px; }
.tm-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: var(--tm-radius-sm); text-decoration: none; color: var(--tm-muted); }
.tm-pagination .page-numbers.current { background: var(--tm-primary); color: var(--tm-primary-ink); }
.tm-pagination a.page-numbers:hover { background: rgba(63, 74, 54, .08); color: var(--tm-text); }
.js .tm-more .tm-pagination { font-size: 13px; opacity: .75; }
.tm-empty { text-align: center; padding: 48px 20px; background: var(--tm-paper); border: 1px dashed var(--tm-border); border-radius: var(--tm-radius); margin: 16px 0 32px; }
.tm-empty__title { font-family: var(--tm-serif); font-size: 22px; color: var(--tm-primary); margin-bottom: 8px; }
.tm-empty__hint { color: var(--tm-muted); font-size: 15px; max-width: 480px; margin: 0 auto 16px; }
.tm-empty--page { padding: 72px 20px; }
.tm-empty--page .tm-search { max-width: 480px; margin: 0 auto 20px; }
.tm-empty-inline { color: var(--tm-muted); font-size: 15px; list-style: none; }

/* 9. 페이지 머리 · 섹션 ------------------------------------------------------------ */
.tm-pagehead { padding: 36px 0 8px; max-width: 820px; }
.tm-pagehead__title { font-size: clamp(30px, 4vw, 46px); color: var(--tm-primary); margin-bottom: 10px; }
.tm-pagehead__desc { color: var(--tm-muted); font-size: 16px; max-width: 640px; }
.tm-pagehead__meta { font-size: 15px; color: var(--tm-muted); margin: 4px 0; }
.tm-section { margin: 32px 0; }
.tm-section__title { font-size: clamp(22px, 2.4vw, 30px); color: var(--tm-primary); margin: 0 0 6px; }
.tm-section__title small { font-family: var(--tm-sans); font-weight: 400; font-size: 14px; color: var(--tm-muted); }
.tm-section__sub { color: var(--tm-muted); font-size: 15px; margin: 0 0 18px; }

/* 10. 레시피 상세 -------------------------------------------------------------- */
.tm-recipe__head { padding: 36px 0 20px; max-width: 860px; }
.tm-recipe__title { font-size: clamp(30px, 4vw, 52px); color: var(--tm-primary); margin-bottom: 12px; }
.tm-recipe__intro { font-size: 18px; color: var(--tm-text); max-width: 640px; margin-bottom: 8px; }
.tm-recipe__status { font-size: 14px; color: var(--tm-muted); margin-bottom: 14px; }
.tm-facts { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0 0 18px; }
.tm-facts li { display: flex; gap: 8px; align-items: baseline; }
.tm-facts__k { font-size: 13px; color: var(--tm-muted); }
.tm-facts__v { font-weight: 500; }
.tm-recipe__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-recipe__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); gap: 32px; align-items: start; margin: 8px 0 40px; }
@media (max-width: 1023px) { .tm-recipe__layout { grid-template-columns: 1fr; gap: 24px; } }

/* 카드 읽기 (reader) */
.tm-reader { position: relative; min-width: 0; }
.no-js .tm-reader, .no-js .tm-stepper, .no-js [data-tm-print], .no-js [data-tm-checklist-reset], .no-js .tm-save { display: none; } /* JS 없으면 전체 조리법만 */
.tm-reader__track { display: flex; overflow: hidden; border-radius: var(--tm-radius); background: var(--tm-paper); border: 1px solid var(--tm-border-soft); box-shadow: var(--tm-shadow); }
.tm-rcard { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; transition: transform .35s ease; }
.tm-rcard__media { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: #ECE7DB; }
.tm-rcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tm-focal); }
.tm-recipe--locked .tm-rcard__media { background: var(--tm-paper); display: flex; align-items: center; justify-content: center; }
.tm-recipe--locked .tm-rcard__media img, .tm-recipe--locked .tm-step__media img { object-fit: contain; }
/* 원본 단계 사진은 작다(약 196×130). 늘려서 흐리게 만들지 않고 원래 크기 이하로만 표시 */
.tm-recipe--locked .tm-rcard__media img, .tm-recipe--locked .tm-step__media img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.tm-recipe--locked .tm-step__media { display: flex; align-items: center; justify-content: center; }
.tm-recipe--locked .tm-step__media { background: var(--tm-paper); }
.tm-rcard__source { margin: 14px 0 0; font-size: 12px; color: var(--tm-muted); }
.tm-attribution { display: flex; gap: 10px; align-items: flex-start; background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-left: 3px solid var(--tm-accent); border-radius: var(--tm-radius-sm); padding: 12px 14px; font-size: 14px; color: var(--tm-text); margin: 0 0 18px; max-width: 860px; }
.tm-attribution p { margin: 0; }
.tm-attribution a { color: var(--tm-accent); }
.tm-original { white-space: pre-line; background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius-sm); padding: 14px 16px; font-size: 16px; margin: 0 0 20px; }
.tm-rcard__original { white-space: pre-line; font-size: 16px; margin: 0; }
.tm-steps--source .tm-step__body { padding-left: 0; }
.tm-steps--source .tm-step__body::before { display: none; }
.tm-own { font-size: 14px; color: var(--tm-muted); }
.tm-own strong { color: var(--tm-text); font-weight: 500; }
.tm-rcard__body { padding: 22px 26px 28px; flex: 1 1 auto; }
.tm-rcard__kicker { font-size: 13px; color: var(--tm-accent); letter-spacing: .02em; margin-bottom: 10px; display: flex; justify-content: space-between; }
.tm-rcard__no { color: var(--tm-muted); }
.tm-rcard__title { font-family: var(--tm-serif); font-weight: 600; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.3; color: var(--tm-primary); margin-bottom: 10px; }
.tm-rcard__text { font-size: 18px; margin: 0; }
.tm-rcard__text--lead { font-family: var(--tm-serif); font-weight: 600; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.4; color: var(--tm-primary); }
.tm-rcard__meta { margin: 12px 0 0; font-size: 14px; color: var(--tm-muted); }
.tm-rcard__list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; font-size: 17px; }
.tm-rcard__list li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--tm-border-soft); }
.tm-rcard__list small { color: var(--tm-muted); }
.tm-rcard--cover .tm-rcard__body, .tm-rcard--notes .tm-rcard__body { min-height: 180px; }
.tm-rcard--ingredients .tm-rcard__body, .tm-rcard--step:not(:has(.tm-rcard__media)) .tm-rcard__body { min-height: 320px; }
.tm-reader__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; }
.tm-reader__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--tm-border); background: var(--tm-paper); color: var(--tm-primary); display: inline-flex; align-items: center; justify-content: center; }
.tm-reader__btn:hover { border-color: var(--tm-primary); }
.tm-reader__btn:disabled { opacity: .35; cursor: default; }
.tm-reader__pos { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; color: var(--tm-muted); }
.tm-reader__dots { display: flex; gap: 5px; }
.tm-reader__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tm-border); }
.tm-reader__dots i.is-active { background: var(--tm-accent); }
.tm-reader__hint { font-size: 13px; color: var(--tm-muted); text-align: center; margin: 8px 0 0; }
@media (max-width: 767px) {
	.tm-rcard__body { padding: 18px 18px 22px; }
	.tm-rcard__list { grid-template-columns: 1fr; font-size: 16px; }
	.tm-reader__hint { display: none; }
}

/* 재료 패널 */
.tm-panel { background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius); padding: 20px 20px 16px; position: sticky; top: calc(var(--tm-header-h) + 16px); }
@media (max-width: 1023px) { .tm-panel { position: static; } }
.tm-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.tm-panel__title { font-size: 22px; color: var(--tm-primary); }
.tm-stepper { display: inline-flex; align-items: center; border: 1px solid var(--tm-border); border-radius: 999px; overflow: hidden; }
.tm-stepper button { width: var(--tm-tap); height: 40px; border: 0; background: transparent; font-size: 20px; }
.tm-stepper button:hover { background: rgba(63, 74, 54, .07); }
.tm-stepper output { min-width: 64px; text-align: center; font-size: 15px; font-weight: 500; }
.tm-ings { list-style: none; }
.tm-ing { border-bottom: 1px solid var(--tm-border-soft); }
.tm-ing__label { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 0; cursor: pointer; }
.tm-ing__check { width: 22px; height: 22px; margin: 0; accent-color: var(--tm-primary); flex: 0 0 auto; }
.tm-ing__name { flex: 1 1 auto; font-weight: 500; }
.tm-ing__name a { text-decoration: none; }
.tm-ing__name small { font-weight: 400; color: var(--tm-muted); margin-left: 4px; }
.tm-ing__qty { color: var(--tm-text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tm-ing__note { margin: -4px 0 10px 34px; font-size: 14px; color: var(--tm-muted); }
.tm-ing.is-checked .tm-ing__name { color: var(--tm-muted); text-decoration: line-through; text-decoration-color: var(--tm-border); }
.tm-ing--optional .tm-ing__name { font-weight: 400; }
.tm-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 8px 0 0; font-size: 14px; }
.tm-panel__note { color: var(--tm-muted); font-size: 13px; line-height: 1.5; margin: 8px 0 0; }
.tm-panel__empty { color: var(--tm-muted); }
.tm-qty.is-scaled { color: var(--tm-accent); }

/* 전체 조리법 */
.tm-method { max-width: 860px; margin: 0 0 40px; }
.tm-steps { list-style: none; counter-reset: step; }
.tm-step { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--tm-border); counter-increment: step; }
.tm-step:last-child { border-bottom: 1px solid var(--tm-border); }
.tm-step__media { margin: 0; border-radius: var(--tm-radius-sm); overflow: hidden; aspect-ratio: 4 / 3; background: #ECE7DB; }
.tm-step__media img { width: 100%; height: 100%; object-fit: cover; }
.tm-step__body { position: relative; padding-left: 44px; }
.tm-step__body::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 30px; height: 30px; border-radius: 50%; background: var(--tm-accent); color: #fff; font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; }
.tm-step__title { font-size: 20px; margin-bottom: 4px; }
.tm-step__text { margin: 0; }
.tm-step__meta { margin: 6px 0 0; font-size: 14px; color: var(--tm-muted); }
.tm-step:not(:has(.tm-step__media)) { grid-template-columns: 1fr; }
@media (max-width: 767px) { .tm-step { grid-template-columns: 1fr; gap: 12px; } .tm-step__media { max-width: 320px; } }
.tm-print-only { display: none; }
.tm-notes { max-width: 860px; margin-bottom: 32px; }
.tm-nutrition { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 8px; }
.tm-nutrition div { background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius-sm); padding: 10px 14px; min-width: 110px; }
.tm-nutrition dt { font-size: 13px; color: var(--tm-muted); }
.tm-nutrition dd { margin: 0; font-weight: 500; }
.tm-recipe__foot { border-top: 1px solid var(--tm-border); padding-top: 20px; max-width: 860px; }
.tm-source { display: grid; grid-template-columns: 96px 1fr; gap: 6px 16px; font-size: 15px; margin: 0; }
.tm-source div { display: contents; }
.tm-source dt { color: var(--tm-muted); }
.tm-source dd { margin: 0; }

/* 11. 키친노트(글) · 본문 ----------------------------------------------------------- */
.tm-note__head { padding: 36px 0 16px; }
.tm-note__title { font-size: clamp(30px, 4vw, 46px); color: var(--tm-primary); margin-bottom: 10px; }
.tm-note__meta { font-size: 14px; color: var(--tm-muted); margin-bottom: 14px; }
.tm-note__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.tm-note__hero { margin: 8px 0 28px; border-radius: var(--tm-radius); overflow: hidden; aspect-ratio: 16 / 10; background: #ECE7DB; }
.tm-note__hero img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tm-focal); }
.tm-table__hero { margin: 0 0 24px; border-radius: var(--tm-radius); overflow: hidden; aspect-ratio: 16 / 8; }
.tm-table__hero img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tm-focal); }
.tm-prose { font-size: var(--tm-body); line-height: 1.75; }
.tm-prose > * { max-width: 100%; }
.tm-prose h2 { font-size: clamp(22px, 2.6vw, 30px); color: var(--tm-primary); margin: 1.6em 0 .5em; }
.tm-prose h3 { font-size: clamp(19px, 2vw, 24px); margin: 1.4em 0 .4em; }
.tm-prose h4 { font-size: 18px; margin: 1.2em 0 .3em; }
.tm-prose p, .tm-prose ul, .tm-prose ol { margin: 0 0 1.1em; }
.tm-prose ul, .tm-prose ol { padding-left: 1.4em; }
.tm-prose li { margin-bottom: .3em; }
.tm-prose img { border-radius: var(--tm-radius-sm); height: auto; }
.tm-prose figure { margin: 1.4em 0; }
.tm-prose figcaption { font-size: 14px; color: var(--tm-muted); margin-top: 6px; }
.tm-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--tm-accent); color: var(--tm-muted); }
.tm-prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1.2em 0; display: block; overflow-x: auto; }
.tm-prose th, .tm-prose td { border: 1px solid var(--tm-border); padding: 8px 10px; text-align: left; vertical-align: top; }
.tm-prose th { background: #EFEBE1; font-weight: 500; }
.tm-prose a { color: var(--tm-accent); }
.tm-prose hr { border: 0; border-top: 1px solid var(--tm-border); margin: 2em 0; }
.tm-prose .wp-block-image img, .tm-prose .wp-block-embed { max-width: 100%; }
.tm-embed { position: relative; aspect-ratio: 16 / 9; }
.tm-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.tm-tags { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.tm-tags a { text-decoration: none; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: 999px; padding: 4px 12px; color: var(--tm-muted); }
.tm-note__foot { margin: 32px 0; }
.tm-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; font-size: 15px; }
.tm-postnav__next { text-align: right; }
.tm-postnav a { text-decoration: none; color: var(--tm-primary); }
.tm-comments { margin-top: 32px; }
.tm-commentlist { list-style: none; }
.tm-commentlist .comment-body { padding: 14px 0; border-top: 1px solid var(--tm-border-soft); font-size: 15px; }
.tm-commentlist .children { list-style: none; padding-left: 24px; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-sm); padding: 10px 12px; background: var(--tm-paper); }

/* 12. 요약 카드 블록 (tm/card-deck) ---------------------------------------------- */
.tm-deck { margin: 2em 0; }
.tm-deck__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tm-deck__title { font-size: 22px; color: var(--tm-primary); margin: 0; }
.tm-deck__count { font-size: 14px; color: var(--tm-muted); }
.tm-deck__track { display: grid; gap: 14px; }
.js .tm-deck__track { display: flex; overflow: hidden; border-radius: var(--tm-radius); }
.js .tm-deck .tm-card { flex: 0 0 100%; transition: transform .35s ease; }
.tm-card { background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius); overflow: hidden; display: flex; flex-direction: column; }
.tm-card__media { margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #ECE7DB; }
.tm-card__media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.tm-card__text { padding: 20px 24px 24px; }
.tm-card__heading { font-size: clamp(20px, 2.2vw, 26px); color: var(--tm-primary); margin-bottom: 8px; }
.tm-card__body p { margin: 0 0 .6em; }
.tm-card__body p:last-child { margin: 0; }
.tm-deck__nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.tm-deck__btn { width: var(--tm-tap); height: var(--tm-tap); border-radius: 50%; border: 1px solid var(--tm-border); background: var(--tm-paper); color: var(--tm-primary); font-size: 22px; line-height: 1; }
.tm-deck__btn:disabled { opacity: .35; }

/* 13. 재료로 찾기 ------------------------------------------------------------------ */
.tm-pantry { background: var(--tm-paper); border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius); padding: 20px; margin: 16px 0 20px; display: grid; gap: 16px; }
.tm-pantry__label { display: block; font-weight: 500; margin-bottom: 6px; }
.tm-pantry__combo { position: relative; }
.tm-pantry__combo input { width: 100%; min-height: 52px; border: 1px solid var(--tm-border); border-radius: var(--tm-radius-sm); padding: 10px 14px; background: var(--tm-bg); font-size: 17px; }
.tm-pantry__combo input:focus { outline: 2px solid var(--tm-primary); outline-offset: 0; }
.tm-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 20; list-style: none; background: var(--tm-paper); border: 1px solid var(--tm-border); border-radius: var(--tm-radius-sm); box-shadow: 0 8px 24px rgba(37, 42, 36, .12); max-height: 320px; overflow: auto; }
.tm-suggest li button { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 12px 14px; min-height: var(--tm-tap); }
.tm-suggest li.is-active button, .tm-suggest li button:hover { background: rgba(63, 74, 54, .08); }
.tm-suggest small { color: var(--tm-muted); margin-left: 6px; }
.tm-suggest__none { padding: 12px 14px; color: var(--tm-muted); font-size: 15px; }
.tm-haves { list-style: none; display: grid; gap: 8px; }
.tm-have { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 8px 12px; border: 1px solid var(--tm-border-soft); border-radius: var(--tm-radius-sm); background: var(--tm-bg); }
.tm-have__name { font-weight: 500; flex: 1 1 120px; }
.tm-have__qty input { width: 88px; min-height: 40px; border: 1px solid var(--tm-border); border-radius: 6px; padding: 4px 8px; background: var(--tm-paper); }
.tm-have__unit input { width: 84px; min-height: 40px; border: 1px solid var(--tm-border); border-radius: 6px; padding: 4px 8px; background: var(--tm-paper); }
.tm-have__must { font-size: 14px; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.tm-have__del { width: 40px; height: 40px; border: 0; background: transparent; color: var(--tm-muted); font-size: 20px; border-radius: 50%; }
.tm-have__del:hover { background: rgba(173, 85, 60, .12); color: var(--tm-accent); }
.tm-pantry__staples { border: 0; padding: 0; margin: 0; }
.tm-pantry__staples legend { font-weight: 500; margin-bottom: 8px; }
.tm-pantry__staples small { font-weight: 400; color: var(--tm-muted); }
.tm-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--tm-border); background: var(--tm-bg); font-size: 15px; cursor: pointer; }
.tm-chip input { accent-color: var(--tm-primary); margin: 0; width: 18px; height: 18px; }
.tm-chip:has(input:checked) { background: var(--tm-primary); border-color: var(--tm-primary); color: var(--tm-primary-ink); }
.tm-pantry__opts { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: 15px; }
.tm-pantry__opts select { min-height: 40px; border: 1px solid var(--tm-border); border-radius: 6px; padding: 4px 8px; background: var(--tm-paper); margin-left: 6px; }
.tm-check { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; }
.tm-check input { width: 18px; height: 18px; accent-color: var(--tm-primary); }
.tm-check small { color: var(--tm-muted); }
.tm-pantry__status { color: var(--tm-muted); font-size: 15px; min-height: 1.5em; }
.tm-result { display: flex; flex-direction: column; min-width: 0; }
.tm-result__why { margin-top: 8px; font-size: 14px; }
.tm-result__ok { color: #2E5A2A; font-weight: 500; }
.tm-result__missing { color: var(--tm-accent); }
.tm-result__notes { list-style: none; margin-top: 6px; display: grid; gap: 2px; color: var(--tm-muted); }
.tm-result__notes li::before { content: "·"; margin-right: 6px; }
.tm-result__notes .is-short { color: var(--tm-accent); }
.tm-result__notes .is-ok { color: #2E5A2A; }

/* 14. 푸터 · 모바일 하단 내비 ------------------------------------------------------ */
.tm-footer { border-top: 1px solid var(--tm-border); background: #F1ECE1; }
.tm-footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; color: var(--tm-muted); }
.tm-footer__desc { margin: 6px 0 0; }
.tm-footer__list { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.tm-footer__list a { text-decoration: none; min-height: var(--tm-tap); display: inline-flex; align-items: center; }
.tm-footer__copy { grid-column: 1 / -1; margin: 0; font-size: 13px; }
@media (max-width: 767px) { .tm-footer__inner { grid-template-columns: 1fr; padding-bottom: 32px; } }
.tm-bottomnav { display: none; }
@media (max-width: 767px) {
	.tm-bottomnav {
		display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		background: rgba(255, 253, 250, .97); border-top: 1px solid var(--tm-border); padding-bottom: env(safe-area-inset-bottom);
	}
	.tm-bottomnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; font-size: 11px; color: var(--tm-muted); text-decoration: none; }
	.tm-bottomnav a[aria-current="page"] { color: var(--tm-primary); }
	.tm-bottomnav a[aria-current="page"] span::after { content: ""; display: block; width: 18px; height: 2px; margin: 2px auto 0; background: var(--tm-accent); border-radius: 1px; }
	.tm-main { padding-bottom: 24px; }
	body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

/* 15. 광고 슬롯 (기본 비활성) · 토스트 ----------------------------------------------- */
.tm-ad { margin: 24px 0; text-align: center; min-height: 0; }
.tm-ad:empty { display: none; }
.tm-toast { position: fixed; left: 50%; bottom: calc(76px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 100; background: var(--tm-text); color: #fff; padding: 10px 16px; border-radius: var(--tm-radius-sm); font-size: 14px; max-width: calc(100% - 32px); }

/* 16. 줄임 모션 ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* 17. 인쇄 ------------------------------------------------------------------------ */
@media print {
	:root { --tm-body: 12pt; }
	body { background: #fff; color: #000; padding: 0; }
	.tm-header, .tm-footer, .tm-bottomnav, .tm-reader, .tm-panel, .tm-recipe__actions, .tm-ad, .tm-save, .tm-filters, .tm-more, .tm-postnav, .tm-comments, .tm-toast, .tm-note__actions { display: none !important; }
	.tm-print-only { display: block; }
	.tm-recipe__layout { display: block; }
	.tm-step { break-inside: avoid; grid-template-columns: 120px 1fr; }
	.tm-step__media { max-width: 120px; }
	.tm-recipe__title, .tm-section__title { color: #000; }
	a { text-decoration: none; color: inherit; }
	.tm-container { padding: 0; max-width: none; }
}

/* ==========================================================================
   v0.5 에디토리얼 스킨 — 매거진형 타이포그래피·여백·헤어라인
   ========================================================================== */
:root {
	--tm-ink: #1F241E;
	--tm-line: #D9D3C6;
	--tm-line-soft: #E7E1D5;
	--tm-panel: #EFE9DC;
	--tm-radius: 3px;
	--tm-radius-sm: 2px;
	--tm-shadow: none;
}
body { color: var(--tm-ink); }
.tm-main { padding-bottom: 0; }

/* 상단 띠 */
.tm-topbar { background: var(--tm-primary); color: rgba(255, 253, 250, .82); font-size: 12px; letter-spacing: .04em; }
.tm-topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 34px; }
.tm-topbar__link { color: inherit; text-decoration: none; }
.tm-topbar__link:hover { color: #fff; }
@media (max-width: 767px) { .tm-topbar__line, .tm-topbar__link { display: none; } }

/* 마스트헤드 */
.tm-header { position: sticky; top: 0; background: rgba(247, 243, 234, .97); border-bottom: 1px solid var(--tm-line); backdrop-filter: none; }
.tm-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; height: 76px; gap: 12px; }
.tm-header__side { display: flex; align-items: center; gap: 2px; }
.tm-header__side--right { justify-content: flex-end; }
.tm-header__brand { justify-content: center; }
.tm-logo { font-size: 34px; font-weight: 600; letter-spacing: -.03em; color: var(--tm-ink); }
.tm-iconbtn { color: var(--tm-ink); border-radius: 0; }
.tm-iconbtn:hover { background: transparent; color: var(--tm-accent); }
.tm-iconbtn--menu { display: inline-flex; }
.tm-nav { border-top: 1px solid var(--tm-line-soft); }
.tm-nav .tm-nav__list { justify-content: center; gap: 8px; }
.tm-nav .tm-nav__list li a { min-height: 46px; padding: 0 18px; font-size: 14px; letter-spacing: .06em; color: var(--tm-ink); border-radius: 0; background: none; position: relative; }
.tm-nav .tm-nav__list li a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 10px; height: 1px; background: var(--tm-accent); transform: scaleX(0); transition: transform .25s ease; }
.tm-nav .tm-nav__list li a:hover::after, .tm-nav .tm-nav__list .current-menu-item > a::after { transform: scaleX(1); }
@media (min-width: 1024px) { .tm-iconbtn--menu { visibility: hidden; } }
@media (max-width: 1023px) {
	.tm-nav { display: none; }
	.tm-header__inner { height: 60px; }
	.tm-logo { font-size: 26px; }
}
.tm-mobile-menu .tm-nav__list--vertical li a { font-family: var(--tm-serif); font-size: 22px; border-bottom: 1px solid var(--tm-line-soft); border-radius: 0; }

/* 검색 (밑줄형) */
.tm-search { border-radius: 0; border: 0; border-bottom: 1px solid var(--tm-ink); background: transparent; padding: 0; min-height: 52px; }
.tm-search:focus-within { border-bottom-color: var(--tm-accent); }
.tm-search input { font-size: 17px; padding: 12px 0; }
.tm-search__btn { width: auto; height: auto; border-radius: 0; background: transparent; color: var(--tm-ink); font-size: 14px; letter-spacing: .06em; padding: 8px 0 8px 16px; min-height: var(--tm-tap); }
.tm-search__btn:hover { color: var(--tm-accent); }
.tm-search-panel .tm-search { max-width: 720px; margin: 0 auto; }

/* 공통 눈썹 문구 */
.tm-kicker { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--tm-accent); margin: 0 0 18px; }

/* 첫 화면 */
.tm-hero { background: transparent; border-bottom: 1px solid var(--tm-line); }
.tm-hero__inner { display: grid; grid-template-columns: 1fr; gap: 48px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
.tm-hero--split .tm-hero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.tm-hero:not(.tm-hero--split) .tm-hero__text { max-width: 720px; margin: 0 auto; text-align: center; }
.tm-hero:not(.tm-hero--split) .tm-search { margin: 0 auto; }
.tm-hero__title { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.16; letter-spacing: -.03em; color: var(--tm-ink); margin: 0 0 18px; word-break: keep-all; }
.tm-hero__sub { font-size: 17px; color: var(--tm-muted); margin: 0 0 32px; }
.tm-hero .tm-search { max-width: 520px; }
.tm-hero__links { margin: 18px 0 0; font-size: 14px; color: var(--tm-muted); display: flex; gap: 10px; flex-wrap: wrap; }
.tm-hero:not(.tm-hero--split) .tm-hero__links { justify-content: center; }
.tm-hero__links a { color: var(--tm-ink); text-decoration: underline; text-decoration-color: var(--tm-line); text-underline-offset: .3em; }
.tm-hero__links a:hover { text-decoration-color: var(--tm-accent); }
.tm-hero__feature { display: block; text-decoration: none; color: inherit; }
.tm-hero__figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tm-paper); }
.tm-hero__figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.tm-hero__figure.is-whole { display: flex; align-items: center; justify-content: center; }
.tm-hero__figure.is-whole img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tm-hero__feature:hover .tm-hero__figure:not(.is-whole) img { transform: scale(1.02); }
.tm-hero__caption { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--tm-ink); margin-top: 14px; }
.tm-hero__label { font-size: 12px; letter-spacing: .12em; color: var(--tm-accent); }
.tm-hero__name { font-family: var(--tm-serif); font-size: 24px; font-weight: 600; color: var(--tm-ink); }
.tm-hero__source { font-size: 12px; color: var(--tm-muted); }
.tm-hero--compact .tm-hero__inner { padding-top: 32px; padding-bottom: 32px; }
.tm-hero--compact .tm-hero__title { font-size: clamp(26px, 3vw, 36px); }
@media (max-width: 1023px) {
	.tm-hero--split .tm-hero__inner { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
	.tm-hero__feature { order: 2; }
}
@media (max-width: 767px) {
	/* 모바일: 소개 영역을 짧게 유지해 카드가 밀리지 않게(지침 3항) */
	.tm-hero__feature { display: none; }
	.tm-hero--split .tm-hero__inner { padding-top: 28px; padding-bottom: 28px; }
	.tm-hero__title { font-size: 30px; margin-bottom: 10px; }
	.tm-hero__sub { margin-bottom: 18px; font-size: 15px; }
	.tm-kicker { margin-bottom: 12px; }
}
.tm-hero__title, .tm-sechead__title, .tm-card2__title, .tm-card2__paneltitle, .tm-notelist__title { text-wrap: balance; }

/* 섹션 머리 */
.tm-section { margin: 0; padding: 72px 0 24px; }
.tm-section + .tm-section { border-top: 1px solid var(--tm-line); }
.tm-sechead { display: flex; align-items: baseline; gap: 18px; padding-bottom: 18px; margin-bottom: 32px; border-bottom: 1px solid var(--tm-ink); }
.tm-sechead__no { font-family: var(--tm-serif); font-size: 15px; color: var(--tm-accent); font-variant-numeric: tabular-nums; }
body .tm-sechead__title { font-size: clamp(26px, 3vw, 38px); color: var(--tm-ink); margin: 0; letter-spacing: -.02em; }
.tm-sechead__more { margin-left: auto; font-size: 14px; letter-spacing: .04em; color: var(--tm-ink); text-decoration: none; white-space: nowrap; }
.tm-sechead__more:hover { color: var(--tm-accent); }
@media (max-width: 767px) { .tm-section { padding: 48px 0 16px; } .tm-sechead { margin-bottom: 22px; } }

/* 필터: 텍스트 탭 */
.tm-filters { margin: -8px 0 28px; }
.tm-filters__list { gap: 4px 26px; }
.tm-filters__item { border: 0; border-radius: 0; padding: 0; min-height: 40px; font-size: 15px; color: var(--tm-muted); position: relative; background: none; }
.tm-filters__item:hover { color: var(--tm-ink); }
.tm-filters__item.is-active { background: none; color: var(--tm-ink); font-weight: 600; }
.tm-filters__item.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--tm-accent); }

/* 카드 그리드 */
.tm-grid { gap: 48px 28px; margin: 0 0 40px; }
.tm-grid[data-tm-featured] { border-bottom: 0; }
@media (max-width: 1199px) { .tm-grid { gap: 40px 22px; } }
@media (max-width: 767px) { .tm-grid { gap: 32px 14px; } }

/* 에디토리얼 카드 */
.tm-card2 { display: flex; flex-direction: column; min-width: 0; }
.tm-card2__link { display: block; color: inherit; text-decoration: none; }
.tm-card2__media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--tm-paper); }
.tm-card2__img { width: 100%; height: 100%; object-fit: cover; object-position: var(--tm-focal); transition: transform .6s ease, opacity .3s; }
.tm-card2__link:hover .tm-card2__img:not(.tm-card2__img--whole) { transform: scale(1.03); }
.tm-card2--source .tm-card2__media { display: flex; align-items: center; justify-content: center; }
.tm-card2__img--whole { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
.tm-card2__link:hover .tm-card2__img--whole { opacity: .9; }
.tm-card2__panel { position: absolute; inset: 0; background: var(--tm-panel); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 12% 11%; gap: 14px; }
.tm-card2__panel::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(31, 36, 30, .14); pointer-events: none; }
.tm-card2__kicker { font-size: 12px; letter-spacing: .06em; color: var(--tm-accent); }
.tm-card2__paneltitle { font-family: var(--tm-serif); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.35; color: var(--tm-ink); letter-spacing: -.02em; word-break: keep-all; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card2__rule { width: 28px; height: 1px; background: var(--tm-ink); }
.tm-card2__count { font-size: 12px; color: var(--tm-muted); }
.tm-card2__link:hover .tm-card2__panel { background: #E9E2D3; }
.tm-card2__body { padding-top: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.tm-card2__eyebrow { font-size: 12px; letter-spacing: .08em; color: var(--tm-accent); margin: 0; }
body .tm-card2__title { font-family: var(--tm-serif); font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--tm-ink); margin: 0; letter-spacing: -.01em; word-break: keep-all; }
.tm-card2__title a { text-decoration: none; }
.tm-card2__title a:hover { text-decoration: underline; text-decoration-color: var(--tm-accent); text-underline-offset: .2em; }
.tm-card2__excerpt { font-size: 14px; line-height: 1.6; color: var(--tm-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tm-card2__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tm-card2__meta { margin: 0; font-size: 12px; color: var(--tm-muted); letter-spacing: .02em; }
.tm-card2__save { color: var(--tm-muted); min-width: 36px; min-height: 36px; padding: 0; justify-content: flex-end; }
.tm-card2__save .tm-save__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tm-card2__save:hover { background: none; color: var(--tm-accent); }
@media (max-width: 767px) {
	body .tm-card2__title { font-size: 16px; }
	.tm-card2__panel { padding: 14% 12%; gap: 10px; }
	.tm-card2__paneltitle { font-size: 16px; -webkit-line-clamp: 4; }
	.tm-card2__excerpt { display: none; }
}

/* 키친노트 목록 */
.tm-notelist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; margin: 0 0 40px; counter-reset: none; }
.tm-notelist__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 8px; padding: 28px 0; border-bottom: 1px solid var(--tm-line); }
.tm-notelist__no { font-family: var(--tm-serif); font-size: 28px; color: var(--tm-accent); line-height: 1.1; }
.tm-notelist__cat { font-size: 12px; letter-spacing: .08em; color: var(--tm-muted); margin: 0 0 6px; }
body .tm-notelist__title { font-family: var(--tm-serif); font-size: 21px; line-height: 1.4; color: var(--tm-ink); margin: 0 0 8px; letter-spacing: -.01em; }
.tm-notelist__title a { text-decoration: none; }
.tm-notelist__title a:hover { color: var(--tm-accent); }
.tm-notelist__excerpt { font-size: 15px; color: var(--tm-muted); margin: 0 0 8px; line-height: 1.6; }
.tm-notelist__date { font-size: 12px; color: var(--tm-muted); margin: 0; }
@media (max-width: 899px) { .tm-notelist { grid-template-columns: 1fr; } .tm-notelist__item { grid-template-columns: 44px minmax(0, 1fr); padding: 22px 0; } .tm-notelist__no { font-size: 22px; } body .tm-notelist__title { font-size: 18px; } }

/* 더 보기 */
.tm-btn { border-radius: 0; letter-spacing: .04em; }
.tm-btn--primary { background: var(--tm-ink); border-color: var(--tm-ink); }
.tm-btn--primary:hover { background: var(--tm-primary); }
.tm-more { padding-bottom: 32px; }
.tm-more__btn { min-width: 240px; min-height: 52px; background: transparent; color: var(--tm-ink); border: 1px solid var(--tm-ink); }
.tm-more__btn:hover { background: var(--tm-ink); color: var(--tm-paper); }
.tm-pagination .page-numbers { border-radius: 0; }
.tm-empty { border-radius: 0; border-style: solid; border-color: var(--tm-line); }

/* 푸터 */
.tm-footer { background: var(--tm-ink); color: rgba(255, 253, 250, .72); border-top: 0; margin-top: 72px; }
.tm-footer__top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding: 64px 0 48px; }
.tm-logo--footer { font-size: 40px; color: #FFFDFA; display: block; margin-bottom: 14px; }
.tm-footer__desc { font-size: 15px; line-height: 1.7; margin: 0; }
.tm-footer__label { font-size: 12px; letter-spacing: .16em; color: rgba(255, 253, 250, .5); margin: 0 0 12px; }
.tm-footer .tm-footer__list { display: grid; gap: 2px; list-style: none; }
.tm-footer__list a { color: #FFFDFA; text-decoration: none; font-size: 15px; min-height: 38px; }
.tm-footer__list a:hover { color: #E8B9A6; }
.tm-footer__bottom { border-top: 1px solid rgba(255, 253, 250, .14); padding: 22px 0 32px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; }
.tm-footer__bottom p { margin: 0; }
@media (max-width: 767px) { .tm-footer__top { grid-template-columns: 1fr 1fr; padding: 44px 0 32px; } .tm-footer__brand { grid-column: 1 / -1; } .tm-logo--footer { font-size: 32px; } }
.tm-bottomnav { background: rgba(247, 243, 234, .98); }

/* 페이지 머리·상세 정돈 */
.tm-pagehead { padding: 56px 0 24px; border-bottom: 1px solid var(--tm-ink); margin-bottom: 36px; max-width: none; }
body .tm-pagehead__title { color: var(--tm-ink); letter-spacing: -.03em; }
.tm-recipe__head { padding: 56px 0 28px; }
body .tm-recipe__title { color: var(--tm-ink); letter-spacing: -.03em; font-size: clamp(32px, 4.2vw, 56px); }
.tm-facts { border-top: 1px solid var(--tm-line); border-bottom: 1px solid var(--tm-line); padding: 12px 0; gap: 8px 36px; }
.tm-reader__track, .tm-panel, .tm-attribution, .tm-original, .tm-pantry, .tm-card { border-radius: 0; box-shadow: none; }
.tm-panel { background: transparent; border: 0; border-top: 1px solid var(--tm-ink); padding: 18px 0 0; }
body .tm-panel__title, body .tm-section__title { color: var(--tm-ink); }
.tm-reader__btn, .tm-deck__btn { border-radius: 0; border-color: var(--tm-ink); background: transparent; color: var(--tm-ink); }
.tm-step { border-top-color: var(--tm-line); }
.tm-step__body::before { background: transparent; color: var(--tm-accent); border: 1px solid var(--tm-accent); font-family: var(--tm-serif); }
.tm-attribution { border-left-width: 2px; background: transparent; border-color: var(--tm-line); border-left-color: var(--tm-accent); }
.tm-note__head { border-bottom: 1px solid var(--tm-ink); margin-bottom: 32px; padding-bottom: 24px; }
body .tm-note__title { color: var(--tm-ink); letter-spacing: -.03em; font-size: clamp(30px, 4vw, 50px); }

/* 원본 보존 사진: 자르지도 늘리지도 않는다(작은 원본은 원래 크기로) */
/* 원본 보존 사진: 자르지 않고(contain) 액자 안을 가득 채운다. 흰 여백 대신 배경과 같은 색. */
.tm-recipe--locked .tm-rcard__media img, .tm-recipe--locked .tm-step__media img,
.tm-card2__img--whole, .tm-hero__figure.is-whole img {
	width: 100% !important; height: 100% !important; max-width: none; max-height: none; object-fit: contain !important;
}
.tm-card2--source .tm-card2__media, .tm-hero__figure.is-whole, .tm-recipe--locked .tm-step__media { background: transparent; }
.tm-recipe--locked .tm-rcard__media { aspect-ratio: auto; height: clamp(260px, 34vw, 420px); padding: 0; background: transparent; }
.tm-recipe--locked .tm-rcard--cover .tm-rcard__body, .tm-recipe--locked .tm-rcard--notes .tm-rcard__body { min-height: 0; }
.tm-reader__track { background: var(--tm-paper); border-color: var(--tm-line); }

/* v0.5.3 대표 사진 액자: 얇은 선 + 바깥 여백 선(매거진 패스파르투) */
.tm-hero__figure { position: relative; overflow: visible; box-shadow: 0 1px 2px rgba(31, 36, 24, .06), 0 18px 40px -24px rgba(31, 36, 24, .35); }
.tm-hero__figure img { display: block; }
.tm-hero__figure::after { content: ""; position: absolute; inset: -10px; border: 1px solid rgba(31, 36, 24, .22); pointer-events: none; }
.tm-hero__feature:hover .tm-hero__figure::after { border-color: var(--tm-accent); transition: border-color .3s ease; }
.tm-hero__feature { padding: 10px; }
.tm-hero__feature .tm-hero__caption { margin-top: 24px; }

/* =========================================================
   v0.6 카드뉴스 (원본 보존 레시피)
   사진은 손대지 않고 액자에만 넣고, 글은 원문 그대로 사진 아래 패널에.
   ========================================================= */
.tm-reader--news { max-width: 560px; margin-inline: auto; width: 100%; }
.tm-reader--news .tm-reader__track { background: transparent; border: 0; }
.tm-reader--news .tm-rcard {
	position: relative; display: flex; flex-direction: column; aspect-ratio: 4 / 5; padding: 22px 26px 22px;
	background: var(--tm-paper); border: 1px solid var(--tm-line);
}
.tm-reader--news .tm-rcard::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(31,36,24,.12); pointer-events: none; }
.tm-cn__top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; margin-bottom: 18px; border-bottom: 1px solid var(--tm-ink); font-size: 12px; letter-spacing: .08em; color: var(--tm-ink); }
.tm-cn__brand { font-family: 'Noto Serif KR', serif; font-weight: 600; font-size: 15px; letter-spacing: -.01em; }
.tm-cn__no { font-variant-numeric: tabular-nums; }
.tm-cn__no i { font-style: normal; color: var(--tm-muted); margin: 0 3px; }

/* 사진: 액자가 사진을 감싼다(사진 바깥 여백 없음) */
.tm-reader--news .tm-rcard > .tm-rcard__media {
	position: relative; flex: 0 0 auto; align-self: center; width: fit-content; max-width: 100%; height: auto !important; aspect-ratio: auto !important;
	margin: 8px auto 26px; padding: 0 !important; background: transparent !important; overflow: visible; display: block;
	box-shadow: 0 0 0 1px rgba(31,36,24,.18), 0 14px 28px -18px rgba(31,36,24,.45);
}
.tm-reader--news .tm-rcard > .tm-rcard__media::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(31,36,24,.2); pointer-events: none; }
.tm-reader--news .tm-rcard > .tm-rcard__media img {
	display: block; width: auto !important; height: auto !important; max-width: 100% !important; max-height: 300px !important; object-fit: contain !important;
}
.tm-reader--news .tm-rcard--cover > .tm-rcard__media img { max-height: 340px !important; min-width: min(320px, 100%); }
.tm-reader--news .tm-rcard--step > .tm-rcard__media img { min-width: min(300px, 100%); }

/* 글 패널 */
.tm-reader--news .tm-rcard__body { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0 !important; padding: 0 !important; }
.tm-reader--news .tm-rcard__kicker { margin: 0 0 10px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--tm-accent); }
.tm-cn__step b { font-family: 'Noto Serif KR', serif; font-size: 22px; letter-spacing: 0; color: var(--tm-ink); margin-left: 4px; vertical-align: -2px; }
.tm-reader--news .tm-rcard__title { font-family: 'Noto Serif KR', serif; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; letter-spacing: -.03em; margin: 0 0 10px; color: var(--tm-ink); }
.tm-reader--news .tm-rcard__text, .tm-reader--news .tm-rcard__original { font-size: 17px; line-height: 1.75; color: var(--tm-ink); margin: 0; word-break: keep-all; }
.tm-reader--news .tm-rcard__text--lead { font-family: 'Noto Serif KR', serif; font-size: 19px; line-height: 1.7; }
.tm-reader--news .tm-rcard__source { margin: auto 0 0; padding-top: 14px; border-top: 1px solid var(--tm-line); font-size: 11.5px; color: var(--tm-muted); letter-spacing: .01em; }

/* 사진 없는 카드(재료·사진 없는 단계): 큰 타이포 카드 */
.tm-reader--news .tm-rcard--ingredients .tm-rcard__body, .tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__body { padding-top: 18px !important; }
.tm-reader--news .tm-rcard--ingredients .tm-rcard__kicker::after { content: " · 원문"; color: var(--tm-muted); letter-spacing: .08em; }
.tm-reader--news .tm-rcard--ingredients .tm-rcard__original { font-family: 'Noto Serif KR', serif; font-size: 19px; line-height: 1.85; }
.tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__text { font-family: 'Noto Serif KR', serif; font-size: 22px; line-height: 1.7; }
.tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-cn__step b { font-size: 56px; display: block; margin: 8px 0 6px; line-height: 1; }

.tm-reader--news .tm-reader__nav { margin-top: 18px; }
@media (max-width: 767px) {
	.tm-reader--news .tm-rcard { padding: 18px 18px 16px; aspect-ratio: auto; min-height: 120vw; }
	.tm-reader--news .tm-rcard > .tm-rcard__media img { max-height: 62vw !important; }
	.tm-reader--news .tm-rcard__text, .tm-reader--news .tm-rcard__original { font-size: 16px; }
}
@media print { .tm-cn__top { display: none; } }
.tm-cn__facts { list-style: none; margin: 6px 0 0; padding: 0; display: flex; gap: 0; }
.tm-cn__facts li { flex: 1; padding: 0 14px; border-left: 1px solid var(--tm-line); font-family: 'Noto Serif KR', serif; font-size: 17px; color: var(--tm-ink); }
.tm-cn__facts li:first-child { padding-left: 0; border-left: 0; }
.tm-cn__facts span { display: block; font-family: inherit; font-size: 11px; letter-spacing: .14em; color: var(--tm-muted); margin-bottom: 4px; font-family: 'Noto Sans KR', sans-serif; }
.tm-reader--news .tm-rcard__kicker { display: block; }
.tm-reader--news .tm-rcard--ingredients .tm-rcard__body, .tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__body { justify-content: center; padding-top: 0 !important; }
.tm-reader--news .tm-rcard--ingredients .tm-rcard__source, .tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__source { margin-top: 0; position: absolute; left: 26px; right: 26px; bottom: 22px; }
.tm-reader--news .tm-rcard--ingredients .tm-rcard__original { border-top: 1px solid var(--tm-line); border-bottom: 1px solid var(--tm-line); padding: 18px 0; margin-top: 6px; }
.tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__text { position: relative; padding-left: 18px; border-left: 2px solid var(--tm-accent); }
@media (max-width: 767px) { .tm-reader--news .tm-rcard--ingredients .tm-rcard__source, .tm-reader--news .tm-rcard--step:not(:has(> .tm-rcard__media)) .tm-rcard__source { left: 18px; right: 18px; bottom: 16px; } }

/* 17. 애드센스 수동 광고 ---------------------------------------------------------- */
.tm-ad { clear: both; margin: 28px auto; text-align: center; }
.tm-ad__label { display: block; margin: 0 0 6px; font-size: 11px; letter-spacing: .08em; color: var(--tm-muted); }
.tm-ad--square { min-height: 300px; }
.tm-ad--article { min-height: 220px; }
.tm-ad--wide { min-height: 110px; }
.tm-ad--multiplex { min-height: 320px; }
@media (min-width: 768px) {
	.tm-ad--square { min-height: 280px; }
	.tm-ad--wide { min-height: 120px; }
}
.tm-ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.tm-wstep-ad { display: block; list-style: none; margin: 28px 0; padding: 0; border: 0; }
.tm-doclist tr.tm-doclist__ad td { padding: 12px 0; background: none; border-left: 0; border-right: 0; }
.tm-doclist tr.tm-doclist__ad .tm-ad { margin: 0 auto; }
/* PC 오른쪽 따라다니는 광고: 본문 바깥 여백이 300px 넘게 남는 넓은 화면에서만 */
.tm-ad--rail, .tm-ad--siderail { display: none; min-height: 0; }
.tm-ad--rail.is-on { display: block; position: fixed; top: 120px; left: calc(50% + 560px); width: 300px; height: 600px; margin: 0; z-index: 5; }
.tm-ad--rail.is-off { visibility: hidden; }
.tm-ad--siderail.is-on { display: block; position: sticky; top: 96px; width: 300px; min-height: 600px; margin: 20px auto 0; }
@media print { .tm-ad, .tm-wstep-ad, .tm-doclist__ad { display: none !important; } }

/* 정보상자(오른쪽 띄움) 옆에 붙는 광고는 아래로 밀리지 않고 남은 폭을 쓴다 */
.tm-wiki .tm-ad.tm-ad--recipe-top { clear: none; display: flow-root; margin: 0 0 28px; }
/* 광고 폭이 칸보다 좁을 때(예: 728×90) 가운데 정렬 */
.tm-ad ins.adsbygoogle > div, .tm-ad ins.adsbygoogle > iframe { margin-left: auto !important; margin-right: auto !important; }
.tm-doclist tr.tm-doclist__ad td { padding: 16px 0; }
.tm-doclist tr.tm-doclist__ad .tm-ad { max-width: 728px; }
