/* Guide only: no selectors affect the existing catalog, menus or ad slots. */
body.etp-guide-page { background: #0b0c0d; color: #f5f2ee; }
body.etp-guide-page .catalog { max-width: 980px; padding-block: 38px 72px; color: #f5f2ee; }
body.etp-guide-page .catalog > h1 { max-width: 24em; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.65; letter-spacing: .03em; border-bottom: 1px solid #6e5940; padding-bottom: 22px; }
body.etp-guide-page .prose { max-width: none; font-size: 16px; line-height: 1.95; }
.etp-guide { --guide-gold: #e3c38e; --guide-muted: #c7c0b7; }
.etp-guide p { margin-block: 1em; }
.etp-guide-page .etp-guide h2 { margin: 2.8em 0 1.1em; padding: .2em 0 .2em .7em; border-left: 3px solid var(--guide-gold); font-family: 'Yu Mincho', 'Hiragino Mincho ProN', serif; font-size: clamp(22px, 2.5vw, 28px); line-height: 1.6; }
.etp-guide h3 { font-size: 22px; line-height: 1.65; margin: 0 0 .8em; color: var(--guide-gold); }
.etp-guide h4 { font-size: 18px; margin: 1.8em 0 .6em; line-height: 1.7; }
.etp-guide [id] { scroll-margin-top: 110px; }
.etp-guide .etp-guide-lead { font-size: 17px; color: #f6eee1; }
.etp-guide .etp-guide-date, .etp-guide .etp-guide-source { font-size: 13px; line-height: 1.8; color: var(--guide-muted); overflow-wrap: anywhere; }
.etp-guide .etp-guide-source { padding-top: .7em; border-top: 1px dotted #51463b; margin-bottom: 1.6em; }
.etp-guide .etp-guide-source span { word-break: break-all; }
.etp-guide .etp-guide-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-block: 22px; padding: 0; list-style: none; }
.etp-guide .etp-guide-toc li { margin: 0; }
.etp-guide .etp-guide-toc a { display: flex; align-items: center; min-height: 52px; height: 100%; padding: 12px 14px; background: #211c18; border: 1px solid #63503b; border-radius: 5px; text-decoration: none; font-weight: 700; line-height: 1.65; }
.etp-guide a { color: #efd3a4; text-underline-offset: .2em; }
.etp-guide .etp-guide-note, .etp-guide .etp-guide-warning { padding: 16px 18px; border-left: 3px solid #d8b880; background: #282019; border-radius: 0 6px 6px 0; }
.etp-guide .etp-guide-warning { border-color: #f0b4bd; background: #2c1b21; color: #fff0f0; }
.etp-guide .etp-guide-service { margin: 32px 0; padding: 26px; border: 1px solid #5b4b3b; border-top: 3px solid var(--guide-gold); border-radius: 8px; background: #151412; }
.etp-guide .etp-guide-service > :first-child { margin-top: 0; }
.etp-guide .etp-guide-service > :last-child { margin-bottom: 0; }
.etp-guide .etp-guide-faq { margin: 10px 0; border: 1px solid #5f5145; border-radius: 6px; background: #191715; }
.etp-guide .etp-guide-faq > summary { padding: 17px 18px; min-height: 56px; cursor: pointer; font-size: 16px; font-weight: 700; line-height: 1.7; color: #f8efdf; }
.etp-guide .etp-guide-faq > summary::marker { color: var(--guide-gold); }
.etp-guide .etp-guide-faq[open] > summary { border-bottom: 1px solid #5f5145; }
.etp-guide .etp-guide-faq > :not(summary) { margin-left: 18px; margin-right: 18px; }
.etp-guide summary:focus-visible, .etp-guide a:focus-visible { outline: 3px solid #ffcc73; outline-offset: 3px; }
.etp-guide .wp-block-table { margin: 20px 0; overflow-x: auto; }
.etp-guide table { width: 100%; table-layout: fixed; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.etp-guide th, .etp-guide td { padding: 12px; border: 1px solid #655541; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.etp-guide th { background: #30271d; color: #f7e4c7; font-weight: 700; }
.etp-guide td { background: #191714; }
.etp-guide .etp-guide-checklist { padding-left: 1.4em; }
.etp-guide .etp-guide-checklist li { margin-block: .6em; }
@media (max-width: 600px) {
    body.etp-guide-page .catalog { width: calc(100% - 32px); padding-top: 26px; }
    body.etp-guide-page .prose { font-size: 16px; }
    .etp-guide .etp-guide-toc { grid-template-columns: 1fr; }
    .etp-guide .etp-guide-service { padding: 18px 14px; }
    .etp-guide h3 { font-size: 21px; }
    .etp-guide th, .etp-guide td { padding: 9px 7px; }
    .etp-guide table { font-size: 14px; }
    .etp-guide .etp-guide-note, .etp-guide .etp-guide-warning { padding: 14px; }
}
@media print {
    .etp-guide .etp-guide-toc { display: none; }
    .etp-guide, .etp-guide h3, .etp-guide .etp-guide-source { color: #111; }
    .etp-guide .etp-guide-service, .etp-guide th, .etp-guide td, .etp-guide .etp-guide-warning, .etp-guide .etp-guide-note { background: #fff; color: #111; }
}
