/* The approved upright collection layout, scoped to supporting pages only. */
#page-legacy main.fc-upright-layout{max-width:none;padding:0;margin:0;background:var(--ivory);color:var(--ink)}
#page-legacy .fc-upright-layout .cat-hero{padding:56px 56px 88px}
#page-legacy .fc-upright-layout .cat-hero h1{font:400 58px/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.025em;max-width:15ch;margin:0 0 28px;color:var(--ink)}
#page-legacy .fc-upright-layout .cat-intro{font:19px/1.65 Georgia,serif;margin:0 0 40px;color:var(--charcoal)}
#page-legacy .fc-upright-layout .cat-media{border-radius:18px;overflow:hidden;aspect-ratio:4/3}
#page-legacy .fc-upright-layout .cat-media img{width:100%;height:100%;object-fit:cover;border-radius:18px;clip-path:inset(0 round 18px)}
#page-legacy .fc-upright-layout .cat-btn{display:inline-flex;align-items:center;gap:14px;background:var(--ink);color:var(--ivory);padding:16px 18px 16px 28px;font:15px/1.4 Arial,sans-serif;text-decoration:none;border:0;border-radius:12px!important}
#page-legacy .fc-upright-layout .cat-link{font:15px/1.4 Arial,sans-serif;color:var(--ink);border:0;border-bottom:1px solid var(--gold);padding:0 0 3px;text-decoration:none}
#page-legacy .fc-upright-layout .cat-facts{margin-top:72px;grid-template-columns:repeat(var(--fact-count,4),minmax(0,1fr))}
#page-legacy .fc-upright-layout .gd-section{padding:72px 56px}
#page-legacy .fc-upright-layout .fc-upright-section-inner{max-width:1180px;margin:auto}
#page-legacy .fc-upright-layout .gd-title{font:400 38px/1.15 Georgia,serif;text-align:left;margin:0 0 32px}
#page-legacy .fc-upright-layout .fc-upright-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#page-legacy .fc-upright-layout :is(.fc-guide-topic,.fc-yamaha-topic){border:1px solid var(--hairline-dark);border-radius:16px;overflow:hidden;background:#FAF8F4}
#page-legacy .fc-upright-layout :is(.fc-guide-topic,.fc-yamaha-topic) summary{min-height:100px;padding:26px 24px;box-sizing:border-box}
#page-legacy .fc-upright-layout :is(.fc-guide-topic-title,.fc-yamaha-topic-title){font:400 21px/1.2 Georgia,serif}
#page-legacy .fc-upright-layout :is(.fc-guide-topic-content,.fc-yamaha-topic-content){padding:0 24px 24px}
#page-legacy .fc-upright-layout :is(.fc-guide-topic-content,.fc-yamaha-topic-content) p{font:16px/1.65 Georgia,serif;margin:16px 0}
#page-legacy .fc-upright-layout .fc-upright-reading{max-width:720px;font:18px/1.7 Georgia,serif}
#page-legacy .fc-upright-layout .fc-support-cardset{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
#page-legacy .fc-upright-layout .fc-support-card{background:#FAF8F4;border-radius:16px;padding:26px 24px;border:0}
#page-legacy .fc-upright-layout .fc-support-card h3{font:400 21px/1.2 Georgia,serif}
#page-legacy .fc-upright-layout .fc-support-card p{font:15px/1.6 Georgia,serif}
#page-legacy .fc-upright-layout :is(.fc-support-link,.fc-guide-topic-link,.fc-yamaha-topic-link){display:inline-flex;border:1.5px solid var(--ink);border-radius:12px;padding:9px 16px;font:14px/1.4 Arial,sans-serif;text-decoration:none;color:var(--ink)}
#page-legacy .fc-upright-layout .fc-upright-close{background:var(--ink);color:var(--ivory)}
#page-legacy .fc-upright-layout .fc-upright-close h2{color:inherit}
#page-legacy .fc-upright-layout .fc-upright-close .fc-brand-button{border-radius:12px;background:var(--ivory);color:var(--ink)}
#page-legacy .fc-upright-layout .fc-upright-close .fc-brand-call{color:var(--ivory)}
#page-legacy .fc-upright-layout .fc-brand-related{max-width:1180px;margin:24px auto;padding:0 56px}
@media(hover:hover){#page-legacy .fc-upright-layout .cat-btn:hover{background:#000}#page-legacy .fc-upright-layout :is(.fc-support-link,.fc-guide-topic-link,.fc-yamaha-topic-link):hover{background:var(--ink);color:var(--ivory)}}
@media(max-width:1080px){#page-legacy .fc-upright-layout .cat-hero h1{font-size:46px}}
@media(max-width:860px){#page-legacy .fc-upright-layout .cat-hero{padding:32px 24px 56px}#page-legacy .fc-upright-layout .cat-hero h1{font-size:38px}#page-legacy .fc-upright-layout .cat-media{aspect-ratio:16/9}#page-legacy .fc-upright-layout .cat-intro{font-size:17px;margin-bottom:28px}#page-legacy .fc-upright-layout .cat-facts{margin-top:40px;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 0}#page-legacy .fc-upright-layout .gd-section{padding:48px 24px}#page-legacy .fc-upright-layout .gd-title{font-size:29px}#page-legacy .fc-upright-layout .fc-support-cardset{grid-template-columns:1fr}#page-legacy .fc-upright-layout .fc-brand-related{padding:0 24px}}
@media(max-width:600px){#page-legacy .fc-upright-layout .fc-upright-topic-grid{grid-template-columns:1fr;gap:12px}#page-legacy .fc-upright-layout .cat-fact{padding:4px 16px}#page-legacy .fc-upright-layout .cat-actions{gap:18px}#page-legacy .fc-upright-layout .cat-btn{font-size:14px;padding:14px 16px 14px 20px}}

/* Clean related-page navigation: no legacy divider above the links. */
#page-legacy .fc-upright-layout .fc-brand-related{border-top:0;padding-top:12px;padding-bottom:16px;box-sizing:border-box}
#page-legacy .fc-upright-layout .fc-brand-related a{font-family:Arial,sans-serif;font-size:13px;line-height:1.6}

/* Remove every legacy line treatment from related-page navigation. */
#page-legacy main.fc-upright-layout nav.fc-brand-related{border:0!important;box-shadow:none!important;background-image:none!important}
#page-legacy main.fc-upright-layout nav.fc-brand-related a{border:0!important;text-decoration:none!important;box-shadow:none!important}
#page-legacy main.fc-upright-layout nav.fc-brand-related::before,#page-legacy main.fc-upright-layout nav.fc-brand-related::after,#page-legacy main.fc-upright-layout nav.fc-brand-related a::before,#page-legacy main.fc-upright-layout nav.fc-brand-related a::after{content:none!important}
