/* Compiled from assets/scss/universal-post.scss */
.up-page { padding: 30px 24px 64px; background: #f8fafc; color: #0f172a; }
.up-page *, .up-page *::before, .up-page *::after { box-sizing: border-box; }
.up-article { max-width: 860px; margin: 0 auto; }
.up-breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; color: #64748b; font-size: 13px; line-height: 1.5; margin-bottom: 24px; }
.up-breadcrumb a { color: #64748b; text-decoration: none; }
.up-header { margin-bottom: 26px; }
.up-header h1 { margin: 0; font-size: clamp(28px,3.5vw,44px); font-weight: 800; line-height: 1.2; letter-spacing: -.6px; overflow-wrap: anywhere; }
.up-meta { margin-top: 14px; font-size: 13px; color: #64748b; }
.up-intro { margin: 16px 0 0; font-size: 19px; line-height: 1.6; color: #475569; }
.up-cover { margin: 0 0 28px; }
.up-cover img { display: block; width: 100%; height: auto; max-height: 540px; object-fit: cover; border-radius: 16px; }
.up-cover figcaption { margin-top: 10px; color: #64748b; font-size: 13px; line-height: 1.5; }
.up-content { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px; font-size: 17px; line-height: 1.8; color: #334155; overflow-wrap: anywhere; }
.up-content:empty { display: none; }
.up-content > :first-child { margin-top: 0; }
.up-content > :last-child { margin-bottom: 0; }
.up-content p { margin: 0 0 20px; }
.up-content h2 { font-size: 28px; line-height: 1.35; margin: 32px 0 16px; color: #0f172a; }
.up-content h3 { font-size: 23px; line-height: 1.4; margin: 28px 0 14px; color: #0f172a; }
.up-content a, .up-comments a { color: #06007c; text-decoration: underline; }
.up-content img, .up-content video, .up-content iframe { max-width: 100%; }
.up-content img { height: auto; }
.up-content figure { max-width: 100%; margin-left: 0; margin-right: 0; }
.up-content pre { overflow-x: auto; padding: 16px; background: #f8fafc; border-radius: 8px; }
.up-content blockquote { margin: 24px 0; padding: 16px 24px; background: #eef2ff; border-left: 3px solid #06007c; }
.up-content table { max-width: 100%; border-collapse: collapse; }
.up-content .wp-block-table { overflow-x: auto; }
.up-content td, .up-content th { border: 1px solid #e2e8f0; padding: 10px; }
.up-content .alignwide, .up-content .alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.up-content ul, .up-content ol { padding-left: 24px; }
.up-pagination { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.up-comments { margin-top: 28px; padding: 28px; border: 1px solid #e2e8f0; background: #fff; border-radius: 16px; }
.up-comments input:not([type=checkbox]), .up-comments textarea { max-width: 100%; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px; font: inherit; }
.up-comments textarea { width: 100%; }
.up-related { max-width: 1200px; margin: 44px auto 0; }
.up-related > h2 { font-size: 26px; margin: 0 0 22px; }
.up-related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.up-card { border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; overflow: hidden; }
.up-card-image img { width: 100%; height: 190px; object-fit: cover; display: block; }
.up-card-body { padding: 22px; }
.up-card h3 { font-size: 20px; line-height: 1.4; margin: 0; }
.up-card h3 a { color: #0f172a; text-decoration: none; }
.up-card p { margin: 12px 0; font-size: 14px; line-height: 1.6; color: #64748b; }
.up-card-link { display: inline-block; margin-top: 16px; color: #06007c; text-decoration: none; font-size: 14px; font-weight: 600; }
.up-page :focus-visible { outline: 3px solid #818cf8; outline-offset: 3px; }
@media(max-width:760px) {
  .up-page { padding: 20px 16px 40px; }
  .up-content { padding: 22px; font-size: 16px; }
  .up-intro { font-size: 17px; }
  .up-related-grid { grid-template-columns: 1fr; }
  .up-content h2 { font-size: 24px; }
  .up-content h3 { font-size: 21px; }
  .up-comments { padding: 20px; }
}

.up-fields { margin-top: 22px; padding: 28px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; }
.up-fields h2 { font-size: 24px; margin: 0 0 18px; }
.up-fields dl { margin: 0; }
.up-fields dl > div { display: grid; grid-template-columns: 40% 60%; border-bottom: 1px solid #e2e8f0; }
.up-fields dl > div:last-child { border: 0; }
.up-fields dt, .up-fields dd { margin: 0; padding: 12px 10px; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
.up-fields dt { color: #64748b; }
.up-fields a { color: #06007c; }
.up-fields ul { padding-left: 22px; margin: 0; line-height: 1.8; }
.up-field-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.up-field-links a { display: inline-flex; padding: 12px 20px; background: #06007c; border-radius: 8px; color: #fff; text-decoration: none; }
@media(max-width:600px) {
 .up-fields { padding: 20px; }
 .up-fields dl > div { grid-template-columns: 1fr; padding: 8px 0; }
 .up-fields dt, .up-fields dd { padding: 3px 0; }
}
