/* ==========================================================================
   Decor Living — WordPress additions for content pages
   (only what style.css / pages.css don't already cover)
   ========================================================================== */

/* Generic page content (page.php): readable column, same typography as .rich-text */
.dl-prose { max-width: 820px; font-size: 1.02rem; line-height: 1.8; }
.dl-prose h2 { font-size: 1.55rem; margin: 2rem 0 .8rem; }
.dl-prose h3 { font-size: 1.2rem; margin: 1.5rem 0 .6rem; }
.dl-prose > :first-child { margin-top: 0; }
.dl-prose ul, .dl-prose ol { padding-left: 1.3rem; }
.dl-prose li { margin-bottom: .35rem; }
.dl-prose a { color: var(--gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.dl-prose blockquote { border-left: 4px solid var(--gold); background: var(--sand); padding: 1rem 1.4rem; border-radius: 0 12px 12px 0; }
.dl-prose table { width: 100%; margin: 1rem 0 1.5rem; border-collapse: collapse; font-size: .95rem; }
.dl-prose th, .dl-prose td { border: 1px solid var(--beige); padding: .6rem .8rem; text-align: left; }
.dl-prose th { background: var(--sand); }

/* Block editor output inside content */
.rich-text img, .dl-prose img, .legal-content img { max-width: 100%; height: auto; border-radius: 12px; }
.wp-block-image, .wp-caption { margin: 1.5rem 0; }
.wp-block-image figcaption, .wp-caption-text { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .4rem; }
.wp-block-table table { margin: 0; }
.legal-content .wp-block-list, .legal-content .table-responsive { margin-bottom: 1rem; }
.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignwide, .alignfull { margin-left: 0; margin-right: 0; }
@media (max-width: 575.98px) { .alignleft, .alignright { float: none; margin: 1rem 0; } }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Form notices */
.dl-notice { display: flex; gap: .5rem; align-items: flex-start; border-radius: 10px; }
.newsletter .dl-notice { padding: .6rem 1rem; font-size: .92rem; }
#contact-form { scroll-margin-top: 140px; }
#newsletter { scroll-margin-top: 100px; }

/* Blog / search pagination */
.dl-pagination { margin-top: 3rem; }
.dl-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.dl-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 .8rem; border: 1px solid var(--beige); border-radius: 50px; background: #fff; color: inherit; text-decoration: none; }
.dl-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold); }
.dl-pagination .page-numbers.current { background: var(--brown); border-color: var(--brown); color: #fff; }
