/* The foreign public pages (layouts/localized, ADR-0012): a light reading layout of their own. The colours follow
   public/css/ui.css; the article bodies keep WordPress's markup, styled by wp-core.css and the rules below. */
:root {
    --l10n-ink: #222;
    --l10n-muted: #666;
    --l10n-line: #e6e1e3;
    --l10n-surface: #fff;
    --l10n-soft: #fbf6f8;
    --l10n-accent: #b7354b;
    --l10n-accent-hover: #9c2b3f;
    --l10n-width: 760px;
    --l10n-wide: 1080px;
}

*, *::before, *::after { box-sizing: border-box; }

body.tkl-l10n {
    margin: 0;
    background: var(--l10n-surface);
    color: var(--l10n-ink);
    font: 16px/1.75 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    -webkit-text-size-adjust: 100%;
}
html:lang(ko) body.tkl-l10n { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Segoe UI", Roboto, sans-serif; word-break: keep-all; }
html:lang(zh-Hans) body.tkl-l10n { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Segoe UI", Roboto, sans-serif; }
[lang="ja"] { font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif; }

.tkl-l10n a { color: var(--l10n-accent); }
.tkl-l10n a:focus-visible { outline: 2px solid var(--l10n-accent); outline-offset: 2px; border-radius: 4px; }
.tkl-l10n a:hover { color: var(--l10n-accent-hover); }
.tkl-l10n img { max-width: 100%; height: auto; }

.tkl-l10n-visually-hidden {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Header: the logo, the two entrances and the languages. */
.tkl-l10n-header { border-bottom: 1px solid var(--l10n-line); background: var(--l10n-surface); }
.tkl-l10n-header__inner {
    max-width: var(--l10n-wide); margin: 0 auto; padding: 10px 16px;
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
}
.tkl-l10n-header__logo { display: block; line-height: 0; }
.tkl-l10n-header__logo img { width: 96px; height: auto; }
.tkl-l10n-header__nav { display: flex; gap: 8px; margin-right: auto; font-weight: 600; }
/* Touch targets of 44px (E2E 2026-10-19: the header links were 28px, the languages 32px). */
.tkl-l10n-header__nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; color: var(--l10n-ink); text-decoration: none; }
.tkl-l10n-header__nav a:hover { color: var(--l10n-accent); }

.tkl-l10n-languages ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tkl-l10n-languages a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border: 1px solid var(--l10n-line); border-radius: 999px;
    color: var(--l10n-ink); font-size: 14px; line-height: 20px; text-decoration: none;
}
.tkl-l10n-languages a[aria-current="page"] { border-color: var(--l10n-accent); background: var(--l10n-soft); color: var(--l10n-accent); font-weight: 600; }

/* Main column. */
.tkl-l10n-main { max-width: var(--l10n-width); margin: 0 auto; padding: 24px 16px 48px; }
.tkl-l10n-main h1 { margin: 8px 0 12px; font-size: 26px; line-height: 1.4; }
.tkl-l10n-main h2 { margin: 0 0 12px; font-size: 20px; line-height: 1.45; }
.tkl-l10n-intro p { margin: 0 0 24px; color: var(--l10n-muted); }
.tkl-l10n-section { margin-top: 40px; }
.tkl-l10n-note {
    margin: 0 0 16px; padding: 10px 14px; border-radius: 8px; background: var(--l10n-soft);
    color: var(--l10n-muted); font-size: 14px; line-height: 1.6;
}
.tkl-l10n-muted { color: var(--l10n-muted); font-size: 14px; }
.tkl-l10n-text { margin: 16px 0; }

/* Article lists. */
.tkl-l10n-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--l10n-line); }
.tkl-l10n-item { border-bottom: 1px solid var(--l10n-line); }
.tkl-l10n-item__link { display: flex; gap: 14px; padding: 14px 0; color: inherit; text-decoration: none; }
.tkl-l10n-item__link:hover .tkl-l10n-item__title { color: var(--l10n-accent); }
/* img.… outweighs `.tkl-l10n img { height: auto }`, which let the 4:5 know-how images stretch the rows (E2E 2026-10-19). */
.tkl-l10n img.tkl-l10n-item__image, .tkl-l10n-item__image { flex: 0 0 112px; width: 112px; height: 84px; object-fit: cover; border-radius: 6px; background: var(--l10n-soft); }
.tkl-l10n-item__image--none { display: block; }
.tkl-l10n-item__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tkl-l10n-item__title { font-weight: 600; line-height: 1.5; color: var(--l10n-ink); }
.tkl-l10n-item__date { color: var(--l10n-muted); font-size: 13px; }
.tkl-l10n-item__excerpt { color: var(--l10n-muted); font-size: 14px; line-height: 1.6; }
.tkl-l10n-pager { display: flex; justify-content: space-between; gap: 16px; margin-top: 20px; }
.tkl-l10n-pager { align-items: center; }
.tkl-l10n-pager a { display: inline-flex; align-items: center; min-height: 44px; }
.tkl-l10n-pager a[rel="next"] { margin-left: auto; }
.tkl-l10n-more { margin: 12px 0 0; text-align: right; }
.tkl-l10n-more a { display: inline-flex; align-items: center; min-height: 44px; }

/* The brand list by initial. */
.tkl-l10n-initials ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; padding: 0; list-style: none; }
.tkl-l10n-initials a {
    display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--l10n-line);
    border-radius: 8px; color: var(--l10n-ink); font-weight: 600; text-decoration: none;
}
.tkl-l10n-initials a:hover { border-color: var(--l10n-accent); color: var(--l10n-accent); }
.tkl-l10n-brand-group h2 { margin: 28px 0 10px; font-size: 18px; scroll-margin-top: 12px; }

/* An article. */
.tkl-l10n-article__hero { margin: 0 0 16px; }
.tkl-l10n-article__hero img { display: block; width: 100%; border-radius: 8px; }
.tkl-l10n-article__hero figcaption { margin-top: 4px; color: var(--l10n-muted); font-size: 12px; }
.tkl-l10n-article__dates { margin: 0 0 24px; color: var(--l10n-muted); font-size: 14px; }
.tkl-l10n-article__body { overflow-wrap: anywhere; }
.tkl-l10n-article__body h2 { margin: 36px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--l10n-accent); font-size: 21px; }
.tkl-l10n-article__body h3 { margin: 28px 0 10px; font-size: 18px; }
.tkl-l10n-article__body p { margin: 0 0 1.2em; }
.tkl-l10n-article__body img { display: block; margin: 0 auto; border-radius: 4px; }
.tkl-l10n-article__body figure { margin: 1.5em 0; }
.tkl-l10n-article__body figcaption, .tkl-l10n-article__body .wp-caption-text { color: var(--l10n-muted); font-size: 13px; text-align: center; }
.tkl-l10n-article__body table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tkl-l10n-article__body th, .tkl-l10n-article__body td { padding: 8px; border: 1px solid var(--l10n-line); text-align: left; vertical-align: top; }
.tkl-l10n-article__body .table-scroll, .tkl-l10n-article__body .wp-block-table { overflow-x: auto; }
.tkl-l10n-article__body iframe { max-width: 100%; }

.tkl-l10n-chips, .tkl-l10n-brands { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tkl-l10n-chips a, .tkl-l10n-brands a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--l10n-line); border-radius: 999px;
    color: var(--l10n-ink); line-height: 22px; text-decoration: none;
}
.tkl-l10n-chips a:hover, .tkl-l10n-brands a:hover { border-color: var(--l10n-accent); color: var(--l10n-accent); }

/* Product cards. */
.tkl-l10n-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.tkl-l10n-card a { display: flex; flex-direction: column; gap: 4px; color: inherit; text-decoration: none; }
.tkl-l10n-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: var(--l10n-soft); }
.tkl-l10n-card__picture { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 8px; background: var(--l10n-soft); }
.tkl-l10n-card__picture img { width: 50%; aspect-ratio: 1; background: none; }
.tkl-l10n-card__kicker { color: var(--l10n-muted); font-size: 13px; line-height: 1.4; }
.tkl-l10n-card__name { font-weight: 600; line-height: 1.45; }
.tkl-l10n-card a:hover .tkl-l10n-card__name { color: var(--l10n-accent); }

/* Facts of a brand or product. */
.tkl-l10n-facts { display: grid; gap: 0; margin: 16px 0; border-top: 1px solid var(--l10n-line); }
.tkl-l10n-facts > div { display: grid; grid-template-columns: minmax(96px, 30%) 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--l10n-line); }
.tkl-l10n-facts dt { color: var(--l10n-muted); font-size: 14px; }
.tkl-l10n-facts dd { margin: 0; overflow-wrap: anywhere; }
.tkl-l10n-product__brand { margin: 0; color: var(--l10n-muted); font-size: 14px; }
.tkl-l10n-product__top { display: grid; gap: 16px; }
.tkl-l10n-product__image { display: block; width: 100%; max-width: 360px; border-radius: 8px; }
.tkl-l10n-variants { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--l10n-line); }
.tkl-l10n-variants li { display: flex; flex-wrap: wrap; gap: 4px 12px; padding: 8px 0; border-bottom: 1px solid var(--l10n-line); }
.tkl-l10n-variants__name { font-weight: 600; }
.tkl-l10n-badge { display: inline-block; padding: 0 8px; border-radius: 999px; background: var(--l10n-soft); color: var(--l10n-accent); font-size: 12px; line-height: 22px; }
.tkl-l10n-label { margin: 0 0 20px; }
.tkl-l10n-label__for, .tkl-l10n-label__heading { margin: 0 0 4px; font-weight: 600; }
.tkl-l10n-label__text { margin: 0 0 8px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }

/* Footer. */
.tkl-l10n-footer { border-top: 1px solid var(--l10n-line); background: var(--l10n-soft); }
.tkl-l10n-footer__inner { max-width: var(--l10n-width); margin: 0 auto; padding: 28px 16px; text-align: center; font-size: 14px; }
.tkl-l10n-footer__inner p { margin: 8px 0; }
.tkl-l10n-footer__note { color: var(--l10n-muted); }
.tkl-l10n-footer__copyright { color: var(--l10n-muted); }
.tkl-l10n-footer__logo { display: inline-block; line-height: 0; }

@media (min-width: 720px) {
    .tkl-l10n-main h1 { font-size: 30px; }
    .tkl-l10n img.tkl-l10n-item__image, .tkl-l10n-item__image { flex-basis: 160px; width: 160px; height: 106px; }
    .tkl-l10n-product__top--image { grid-template-columns: minmax(0, 300px) 1fr; align-items: start; }
    .tkl-l10n-product__top .tkl-l10n-facts { margin-top: 0; }
}
