/* Scoped sharing layouts and brand CTA. The site shell and typography use moji/base.html. */
.share-main .share-card {
    border: 1px solid #eee;
    border-radius: 3px;
    padding: 30px;
    overflow-wrap: anywhere;
}
.share-main h1 { font-size: clamp(26px, 4vw, 36px); line-height: 1.5; margin: 14px 0 24px; }
.share-main .eyebrow { font-weight: 600; }
.share-main .share-body { margin: 28px 0; line-height: 1.95; overflow-wrap: anywhere; }
.share-main .share-body h2 { border-bottom: 2px solid #50c2c5; padding-bottom: 10px; }
.share-main .share-body pre { overflow: auto; background: #f7f7f7; padding: 16px; }
.share-main .share-body blockquote { border-left: 3px solid #ddd; margin-left: 0; padding-left: 20px; }

.share-main .thumbnail { display: block; width: 100%; height: auto; border-radius: 3px; margin: 20px 0; }
.share-main .share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.share-main .share-grid .share-card { padding: 24px; }
.share-main .share-grid h2 { font-size: 22px; }
.share-main .manage-card { margin-bottom: 20px; }
.share-main .pagination { display: flex; justify-content: center; gap: 20px; margin: 32px; }
.share-main .title-row { display: flex; align-items: center; gap: 15px; }
.share-main .title-row h2 { flex: 1; }
.share-main label { display: block; font-weight: 600; margin-top: 20px; }
.share-main input, .share-main textarea, .share-main select {
    width: 100%; font: inherit; padding: 10px; border: 1px solid #ccc;
    border-radius: 3px; margin: 8px 0 14px;
}
.share-main textarea { resize: vertical; }
.share-main .editor-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.share-main #share-error { color: #a52323; }
.share-main #published-links { border-top: 1px solid #eee; margin-top: 24px; padding-top: 16px; }
.share-main [hidden] { display: none !important; }
@media (max-width: 600px) {
    .share-main .share-card { padding: 24px 18px; }
    .share-main .share-grid { grid-template-columns: 1fr; }
    .share-main .editor-actions button { flex: 1; }
    .share-main .title-row h2 { font-size: 22px; }
}

.share-main .share-copy { border-top: 1px solid #eee; padding-top: 24px; margin-top: 32px; }
.share-main .share-copy button { white-space: normal; }
.share-main .share-cta { margin-top: 40px; padding: 44px 36px; border: 1px solid #d3e8e5; border-top: 4px solid #74b8af; background: #f3faf9; border-radius: 4px; }
.share-main .share-cta-intro { text-align: center; }
.share-main .share-cta-brand { color: #377d74; font-weight: 700; letter-spacing: .12em; }
.share-main .share-cta h2 { font-size: clamp(25px, 3vw, 34px); line-height: 1.65; font-weight: 600; margin: 12px 0 18px; }
.share-main .share-cta-lead { font-size: 16px; line-height: 1.9; }
.share-main .share-cta-features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 30px 0; }
.share-main .share-cta-features li { padding: 24px; background: #fff; border: 1px solid #e0eeeb; border-radius: 4px; }
.share-main .share-cta-icon { display: inline-block; color: #377d74; font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.share-main .share-cta h3 { font-size: 17px; font-weight: 600; line-height: 1.6; }
.share-main .share-cta-features p { line-height: 1.8; margin-bottom: 0; }
.share-main .share-cta-action { text-align: center; }
.share-main .share-cta-button { padding: 16px 30px; font-size: 18px; white-space: normal; font-weight: 600; }
.share-main .share-cta-action p { font-size: 13px; margin: 14px 0 0; line-height: 1.8; }
@media (max-width: 600px) {
    .share-main .share-cta { padding: 30px 18px; }
    .share-main .share-cta-features { grid-template-columns: 1fr; gap: 12px; }
    .share-main .share-cta-features li { padding: 20px; }
    .share-main .share-cta-button { width: 100%; padding: 16px 12px; font-size: 17px; }
}

.share-main .share-cta-button { background-color: #377d74; border-color: #377d74; }
.share-main .share-cta-button:hover, .share-main .share-cta-button:focus { background-color: #286359; border-color: #286359; }

@media (max-width: 600px) { .share-main .share-cta h2 { font-size: 22px; } }
