/* Prism Showcase — extras not covered by Tailwind utilities. */

/* Article / page prose */
.prism-prose { color: #44403c; font-size: 1rem; line-height: 2; }
.prism-prose > :first-child { margin-top: 0; }
.prism-prose h1, .prism-prose h2, .prism-prose h3, .prism-prose h4 { color: #26272b; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.prism-prose h2 { font-size: 1.5rem; margin: 2.2rem 0 1rem; }
.prism-prose h3 { font-size: 1.25rem; margin: 1.8rem 0 .8rem; }
.prism-prose h4 { font-size: 1.1rem; margin: 1.4rem 0 .6rem; }
.prism-prose p { margin: 0 0 1.1rem; }
.prism-prose a { color: #a92e24; text-decoration: underline; text-underline-offset: 3px; }
.prism-prose ul, .prism-prose ol { margin: 0 0 1.2rem 1.4rem; }
.prism-prose ul { list-style: disc; } .prism-prose ol { list-style: decimal; }
.prism-prose li { margin: .3rem 0; }
.prism-prose img, .prism-prose video, .prism-prose iframe { max-width: 100%; height: auto; border-radius: .5rem; }
.prism-prose figure { margin: 1.5rem 0; }
.prism-prose figcaption { font-size: .875rem; color: #78716c; margin-top: .5rem; }
.prism-prose blockquote { margin: 1.5rem 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid #e74434; color: #57534e; font-style: italic; }
.prism-prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: .9rem; display: block; overflow-x: auto; }
.prism-prose th, .prism-prose td { border: 1px solid #e7e5e4; padding: .6rem .8rem; text-align: left; }
.prism-prose th { background: #f9f8f6; }
.prism-prose pre { background: #25292b; color: #f5f5f4; padding: 1rem; border-radius: .5rem; overflow-x: auto; font-size: .85rem; line-height: 1.6; }
.prism-prose code { font-size: .9em; }
.prism-prose hr { border: 0; border-top: 1px solid #e7e5e4; margin: 2rem 0; }
.prism-prose .alignleft { float: left; margin: 0 1.5rem 1rem 0; } .prism-prose .alignright { float: right; margin: 0 0 1rem 1.5rem; }
.prism-prose .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.prism-prose .wp-block-image img, .prism-prose .wp-caption img { height: auto; }
.prism-callout { border: 1px solid #e7e5e4; border-radius: .5rem; padding: 1rem; font-size: .9rem; line-height: 1.6; }

/* Pagination */
.prism-pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.prism-pagination a, .prism-pagination span { display: inline-flex; min-height: 2.75rem; min-width: 2.75rem; align-items: center; justify-content: center; padding: 0 1rem; border: 1px solid #d6d3d1; border-radius: .375rem; font-size: .875rem; font-weight: 500; }
.prism-pagination .current { background: #e74434; border-color: #e74434; color: #fff; }

/* ============ Divi compatibility (inc/divi.php) ============ */
.etc-section { padding: 3.5rem 1.5rem; }
.etc-section.etc-fullwidth { padding-left: 0; padding-right: 0; }
.etc-row { display: flex; flex-wrap: wrap; gap: 2rem; max-width: 1180px; margin: 0 auto 2rem; }
.etc-row:last-child { margin-bottom: 0; }
.etc-col { flex: 1 1 100%; min-width: 0; }
.etc-col > * + * { margin-top: 1.25rem; }
@media (max-width: 799px) { .etc-col { flex: 1 1 100% !important; } }
.etc-text img, .etc-image img { max-width: 100%; height: auto; }
.etc-image { margin: 0; } .etc-align-center { text-align: center; } .etc-align-right { text-align: right; }
.etc-button-wrap { margin: 0; }
.etc-blurb { display: flex; gap: 1rem; align-items: flex-start; }
.etc-blurb-img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.etc-blurb h3, .etc-cta h2, .etc-slide h3, .etc-team h3, .etc-price-card h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
.etc-cta { background: #25292b; color: #fff; padding: 2.5rem; border-radius: .75rem; text-align: center; }
.etc-cta p { color: #d6d3d1; }
.etc-divider { border: 0; border-top: 1px solid #e7e5e4; margin: 1.5rem 0; }
.etc-testimonial { margin: 0; padding: 1.5rem; border-left: 4px solid #e74434; background: #faf4ed; }
.etc-testimonial cite { display: block; margin-top: .75rem; font-size: .9rem; font-weight: 600; font-style: normal; }
.etc-toggle { border-bottom: 1px solid #e7e5e4; padding: .25rem 0; }
.etc-toggle summary { cursor: pointer; min-height: 2.75rem; display: flex; align-items: center; font-weight: 600; }
.etc-tab { border-bottom: 1px solid #e7e5e4; padding: 1rem 0; }
.etc-gallery { display: grid; gap: 1rem; grid-template-columns: repeat(var(--etc-cols, 4), minmax(0, 1fr)); }
.etc-gallery img { width: 100%; height: auto; border-radius: .5rem; }
@media (max-width: 799px) { .etc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.etc-slider { display: grid; gap: 1.5rem; }
.etc-slide { display: grid; gap: 1rem; } .etc-slide img { max-width: 100%; height: auto; border-radius: .5rem; }
.etc-counter { text-align: center; } .etc-counter strong { display: block; font-size: 2.5rem; font-weight: 600; } .etc-counter span { color: #78716c; }
.etc-bar { display: grid; grid-template-columns: 1fr 3fr auto; gap: .75rem; align-items: center; margin: .5rem 0; font-size: .9rem; }
.etc-bar-track { background: #e7e5e4; height: .6rem; border-radius: 99px; overflow: hidden; } .etc-bar-track i { display: block; height: 100%; background: #e74434; }
.etc-team { text-align: center; } .etc-team img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; }
.etc-role { color: #78716c; font-size: .9rem; }
.etc-pricing { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.etc-price-card { border: 1px solid #e7e5e4; border-radius: .75rem; padding: 1.5rem; text-align: center; } .etc-price { font-size: 2rem; font-weight: 600; margin: .5rem 0 1rem; }
.etc-social { display: flex; gap: 1rem; list-style: none; padding: 0; } .etc-social a { text-decoration: underline; }
.etc-header { text-align: center; padding: 3rem 1rem; } .etc-header h1 { font-size: 2.5rem; font-weight: 600; } .etc-subhead { font-size: 1.1rem; color: #57534e; }
.etc-video iframe, .etc-video video { width: 100%; aspect-ratio: 16/9; border-radius: .5rem; }
.etc-code iframe { max-width: 100%; }

/* Print */
@media print { header, footer, nav, .no-print { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
