/* One Connected Family · WordPress extras
   Blog posts, plain pages and WordPress classes, in the same brand styles. */

.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { clip: auto !important; clip-path: none; height: auto; width: auto; display: block; padding: 12px 20px; background: #FFFFFF; color: #1F1347; z-index: 100000; left: 8px; top: 8px; border-radius: 999px; }

/* Blog post content and plain pages */
.ocf-post { max-width: 760px; margin: 0 auto; font-size: 18px; line-height: 1.75; color: #4B4566; }
.ocf-post > *:first-child { margin-top: 0; }
.ocf-post h2 { font-size: 32px; line-height: 1.2; color: #1F1347; margin: 48px 0 12px; font-weight: 700; }
.ocf-post h3 { font-size: 24px; line-height: 1.3; color: #1F1347; margin: 32px 0 8px; font-weight: 700; }
.ocf-post h4 { font-size: 20px; color: #1F1347; margin: 28px 0 6px; }
.ocf-post p { margin: 0 0 20px; }
.ocf-post ul, .ocf-post ol { padding-left: 24px; margin: 0 0 20px; }
.ocf-post li { margin: 6px 0; }
.ocf-post a { color: #C62F57; font-weight: 600; }
.ocf-post strong, .ocf-post b { color: #1F1347; }
.ocf-post img { height: auto; border-radius: 24px; }
.ocf-post figure { margin: 32px 0; }
.ocf-post figcaption, .ocf-post .wp-element-caption { font-size: 14px; color: #6B6585; text-align: center; margin-top: 10px; }
.ocf-post blockquote { margin: 32px 0; padding: 28px 32px; background: #F4DDE2; border-radius: 24px 24px 24px 4px; color: #1F1347; font-size: 19px; }
.ocf-post blockquote p:last-child { margin-bottom: 0; }
.ocf-post blockquote cite { display: block; margin-top: 10px; font-size: 15px; font-style: normal; color: #6B6585; }
.ocf-post hr { border: 0; border-top: 1px solid #E6DED4; margin: 40px 0; }
.ocf-post table { border-collapse: collapse; width: 100%; font-size: 16px; }
.ocf-post th { background: #F7F2EC; color: #1F1347; text-align: left; padding: 12px 16px; }
.ocf-post td { padding: 12px 16px; border-top: 1px solid #EFE8E0; }
.ocf-post iframe, .ocf-post video { max-width: 100%; border-radius: 24px; }
.ocf-post .wp-block-embed__wrapper iframe { width: 100%; }
.ocf-post .wp-block-button__link, .ocf-post .wp-element-button { background: #E8456F; color: #FFFFFF; border-radius: 999px; padding: 14px 26px; font-weight: 700; text-decoration: none; }
.ocf-post .alignwide { max-width: 1000px; margin-left: auto; margin-right: auto; }
.ocf-post .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.ocf-post .alignleft { float: left; margin: 6px 24px 16px 0; }
.ocf-post .alignright { float: right; margin: 6px 0 16px 24px; }
.ocf-post::after { content: ""; display: table; clear: both; }

/* Legal pages: WordPress list blocks and tables keep the design look */
.legal ul.wp-block-list { padding-left: 22px; }
.legal figure.wp-block-table { margin: 14px 0; }

/* Pagination pills */
.ocf-pages { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ocf-pages .page-numbers { display: inline-block; min-width: 46px; text-align: center; background: #FFFFFF; color: #1F1347; text-decoration: none; padding: 12px 18px; border-radius: 999px; font-weight: 700; font-size: 15px; box-shadow: 0 6px 18px rgba(31,19,71,0.06); }
.ocf-pages .page-numbers.current { background: #E8456F; color: #FFFFFF; }
.ocf-pages .page-numbers.dots { background: none; box-shadow: none; }

/* Comments */
.ocf-comments { max-width: 760px; margin: 0 auto; font-size: 16px; color: #4B4566; }
.ocf-comments h2 { font-size: 28px; color: #1F1347; }
.ocf-comments ol { list-style: none; padding: 0; }
.ocf-comments .children { padding-left: 24px; }
.ocf-comments .comment-body { background: #FFFFFF; border-radius: 24px 24px 24px 4px; padding: 22px 26px; margin: 0 0 16px; box-shadow: 0 10px 30px rgba(31,19,71,0.05); }
.ocf-comments .comment-meta { font-size: 14px; color: #6B6585; }
.ocf-comments .comment-author { color: #1F1347; font-weight: 700; }
.ocf-comments .avatar { border-radius: 999px; vertical-align: middle; margin-right: 8px; }
.ocf-comments a { color: #C62F57; }
.ocf-comments input[type="text"], .ocf-comments input[type="email"], .ocf-comments input[type="url"], .ocf-comments textarea { width: 100%; border: 2px solid #EFE8E0; border-radius: 14px; padding: 14px 18px; font-family: Lexend, Arial, sans-serif; font-size: 16px; color: #1F1347; background: #FFFFFF; }
.ocf-comments label { display: block; font-weight: 600; font-size: 15px; color: #1F1347; margin-bottom: 6px; }
.ocf-comments .submit { border: 0; border-radius: 999px; padding: 14px 26px; background: #E8456F; color: #FFFFFF; font-family: Lexend, Arial, sans-serif; font-weight: 700; font-size: 16px; cursor: pointer; }

@media (max-width: 700px) {
  .ocf-post { font-size: 17px; }
  .ocf-post h2 { font-size: 26px; }
  .ocf-post .alignleft, .ocf-post .alignright { float: none; margin: 16px 0; }
}

/* Hidden parts stay hidden even when they have their own display style */
[hidden] { display: none !important; }
