/* Esorion — additions for the single-tool pages.
   portal.css supplies everything the tool markup itself needs; this file
   only styles the wrapper around it. Generated by seo/build-tool-pages.js. */

.tool-page { padding-bottom: 40px; position: relative; z-index: 1; }

.crumbs { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 18px; }
.crumbs a { color: var(--accent-gold); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.tool-header { text-align: center; margin-bottom: 26px; position: static; z-index: auto; }
.tool-header h1 {
    color: var(--accent-gold); font-size: 2.1rem; margin: 0;
    border-bottom: 1px solid var(--border-color); padding-bottom: 16px;
}

.prose-block { text-align: left; }
.prose-block h2 {
    color: var(--accent-gold); font-size: 1.25rem; margin: 26px 0 10px;
    border-bottom: 1px solid var(--border-color); padding-bottom: 8px;
}
.prose-block h2:first-child { margin-top: 0; }
.prose-block p { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.75; margin: 0 0 12px; }
.prose-block strong { color: var(--text-primary); }
.prose-block a { color: var(--accent-gold); }
.prose-block a:hover { color: var(--accent-gold-hover); }

.tool-intro p:last-child { margin-bottom: 0; }

.howto-steps { color: var(--text-secondary); font-size: 0.96rem; line-height: 1.75; padding-left: 20px; margin: 0; }
.howto-steps li { margin-bottom: 11px; scroll-margin-top: 90px; }
.howto-steps strong { color: var(--text-primary); }

.related-topics { margin: 34px auto 0; }
.related-topics h2 {
    color: var(--accent-gold); font-size: 1.25rem; margin: 0 0 6px;
    border-bottom: 1px solid var(--border-color); padding-bottom: 9px;
}
.related-topics-intro { color: var(--text-secondary); font-size: 0.88rem; margin: 0 0 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-card {
    display: block; background-color: #161616; border: 1px solid var(--border-color);
    border-radius: 9px; padding: 15px 17px; text-decoration: none;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.related-card:hover { border-color: rgba(201,179,126,0.6); transform: translateY(-2px); }
.related-card strong { display: block; color: var(--accent-gold); font-size: 1rem; margin-bottom: 5px; }
.related-card span { color: var(--text-secondary); font-size: 0.87rem; line-height: 1.55; }

@media (max-width: 620px) { .related-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tool-header h1 { font-size: 1.6rem; } }
