/* Dejtify 297. Isolated story/reference document; both desktop and mobile. */
#dejtify-editorial-document{--dj-ink:#392f31;--dj-muted:#6b5b5c;--dj-rose:#cf6475;--dj-paper:#fff9f6;--dj-border:#eadbd6;box-sizing:border-box;min-height:55vh;overflow:clip;background:linear-gradient(180deg,#fffaf8 0%,#fff 65%);color:var(--dj-ink);font:16px/1.65 system-ui,-apple-system,"Segoe UI",sans-serif}
#dejtify-editorial-document *,#dejtify-editorial-document *::before,#dejtify-editorial-document *::after{box-sizing:border-box}
#dejtify-editorial-document .dj-editorial-inner{width:min(1200px,100%);margin-inline:auto;padding-inline:clamp(18px,3vw,38px)}
#dejtify-editorial-document .dj-editorial-hero{padding:clamp(42px,6vw,95px) 0;background:#796158;color:#fff7f1;text-align:center}
#dejtify-editorial-document .dj-editorial-eyebrow{display:block;font-size:12px;font-weight:750;letter-spacing:.18em;text-transform:uppercase;color:#ffe8eb;margin-bottom:14px}
#dejtify-editorial-document .dj-editorial-hero h1{max-width:1050px;margin:0 auto;color:inherit;font:500 clamp(36px,5vw,66px)/1.13 Georgia,serif;letter-spacing:-.025em;overflow-wrap:anywhere;text-wrap:balance}
#dejtify-editorial-document .dj-editorial-hero p{max-width:670px;margin:20px auto 0;color:#fff1ea;font:400 clamp(15px,1.4vw,19px)/1.6 system-ui,sans-serif}
#dejtify-editorial-document .dj-editorial-main{padding-block:clamp(26px,4vw,65px) clamp(50px,6vw,100px)}
#dejtify-editorial-document .dj-editorial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(16px,2.2vw,28px);align-items:stretch}
#dejtify-editorial-document .dj-editorial-card{margin:0;min-width:0;border:1px solid var(--dj-border);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 10px 28px rgba(58,35,39,.055);display:flex;flex-direction:column}
#dejtify-editorial-document .dj-editorial-cover{display:block;width:100%;aspect-ratio:16/10;background:#efe1dc;overflow:hidden;text-decoration:none}
#dejtify-editorial-document .dj-editorial-cover img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;border:0!important;border-radius:0!important;max-width:none}
#dejtify-editorial-document .dj-editorial-photo-fallback{display:grid;width:100%;height:100%;place-items:center;font:500 34px/1.2 Georgia,serif;color:#805b5f}
#dejtify-editorial-document .dj-editorial-card-body{min-width:0;padding:clamp(18px,2.4vw,27px);display:flex;flex-direction:column;flex:1;gap:14px}
#dejtify-editorial-document .dj-editorial-card h2{margin:0;font:600 clamp(21px,2vw,27px)/1.28 Georgia,serif;overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-card h2 a{color:var(--dj-ink);text-decoration:none}
#dejtify-editorial-document .dj-editorial-card p{margin:0;color:var(--dj-muted);font-size:15px;line-height:1.72;overflow-wrap:anywhere;flex:1}
#dejtify-editorial-document .dj-editorial-read{display:inline-flex;align-items:center;justify-content:center;gap:8px;align-self:flex-start;min-height:44px;padding:10px 17px;border-radius:11px;background:#f8e9eb;color:#853d4d!important;font-size:14px;font-weight:700;text-decoration:none!important}
#dejtify-editorial-document a:focus-visible{outline:3px solid #a53759!important;outline-offset:3px}
#dejtify-editorial-document .dj-editorial-pagination ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:0;margin:35px 0 0}
#dejtify-editorial-document .dj-editorial-pagination a,#dejtify-editorial-document .dj-editorial-pagination .current{display:inline-flex;min-width:40px;min-height:40px;align-items:center;justify-content:center;border-radius:10px;padding:8px 14px;text-decoration:none;background:#f9ecee;color:#683843}
#dejtify-editorial-document .dj-editorial-pagination .current{color:#fff;background:#a94a60}
#dejtify-editorial-document .dj-editorial-article{max-width:850px;margin-inline:auto;background:#fff;border:1px solid var(--dj-border);border-radius:22px;overflow:hidden}
#dejtify-editorial-document .dj-editorial-featured{margin:0}
#dejtify-editorial-document .dj-editorial-featured img{display:block;width:100%;max-height:570px;object-fit:cover;height:auto;border-radius:0}
#dejtify-editorial-document .dj-editorial-article-body{padding:clamp(20px,4vw,50px);color:var(--dj-ink);font-size:clamp(16px,1.25vw,18px);line-height:1.82;overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-article-body :is(img,figure,iframe,video){max-width:100%;height:auto}
#dejtify-editorial-document .dj-editorial-article-body :is(h2,h3){color:var(--dj-ink);line-height:1.22;overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-article>p{margin:0;padding:0 clamp(20px,4vw,50px) clamp(22px,4vw,45px)}
/* The reference text/widgets remain the originals. A first-party page frame
   plus Elementor, WP Dating and common testimonial variants share card design. */
#dejtify-editorial-document .dj-editorial-references-content{max-width:100%;min-width:0}
#dejtify-editorial-document .dj-editorial-references-content :is(.elementor-container,.e-con,.elementor-widget-wrap){max-width:100%;min-width:0}
#dejtify-editorial-document .dj-editorial-references-content :is(.elementor-testimonial,.elementor-testimonial-wrapper,.elementor-widget-testimonial,.testimonial,.testimonial-item,.review-card,.reference-card,.dspdp-bordered-item,.dsp-bordered-item){min-width:0;max-width:100%;border-radius:18px;background:#fffaf8;border:1px solid var(--dj-border);padding:clamp(18px,2.3vw,29px);box-shadow:0 7px 24px rgba(58,35,39,.055);overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-references-content :is(.elementor-testimonial__text,.elementor-testimonial-content,.testimonial-content,.review-text,.reference-text){font-size:clamp(15px,1.3vw,17px);line-height:1.74;color:var(--dj-ink)}
#dejtify-editorial-document .dj-editorial-references-content :is(.elementor-testimonial__image img,.testimonial img,.review-card img,.reference-card img){max-width:100%;height:auto;border-radius:50%}
#dejtify-editorial-document .dj-editorial-references-content :is(.swiper,.swiper-container,.slick-list,.owl-stage-outer){max-width:100%;overflow:hidden}
#dejtify-editorial-document .dj-editorial-references-content :is(h1,h2,.page-title,.entry-title){display:none!important}
#dejtify-editorial-document .dj-editorial-references-content :is(.elementor,.entry-content){width:100%;max-width:100%}
/* Home-page reference block: selected by section heading, never all site cards. */
.dejtify-references-v297{box-sizing:border-box;max-width:100%;overflow:clip;padding-block:clamp(26px,5vw,64px)!important;background:#fff9f6!important;color:#3e3434}
.dejtify-references-v297 :is(h2,h3,.elementor-heading-title){line-height:1.16;overflow-wrap:anywhere;text-wrap:balance}
.dejtify-references-v297 :is(.elementor-testimonial,.elementor-testimonial-wrapper,.testimonial,.testimonial-item,.review-card,.reference-card){border-radius:18px!important;background:#fff!important;border:1px solid #ebdcda!important;padding:clamp(17px,2vw,27px)!important;box-shadow:0 7px 24px rgba(55,32,36,.06)!important}
.dejtify-references-v297 :is(.swiper,.swiper-container,.slick-list,.owl-stage-outer){max-width:100%;overflow:hidden}
@media(max-width:1000px){#dejtify-editorial-document .dj-editorial-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){#dejtify-editorial-document .dj-editorial-grid{grid-template-columns:minmax(0,1fr)}#dejtify-editorial-document .dj-editorial-hero{padding-block:45px}#dejtify-editorial-document .dj-editorial-main{padding-block:22px 55px}#dejtify-editorial-document .dj-editorial-card-body{padding:21px}#dejtify-editorial-document .dj-editorial-hero h1{font-size:clamp(34px,9vw,44px)}#dejtify-editorial-document .dj-editorial-article-body{padding:22px}}
@media(prefers-reduced-motion:reduce){#dejtify-editorial-document *, .dejtify-references-v297 *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Published WP Dating testimonial posts: a real grid on desktop, not the legacy carousel. */
#dejtify-editorial-document .dj-editorial-reviews{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:clamp(16px,2.2vw,26px)}
#dejtify-editorial-document .dj-editorial-review{display:flex;flex-direction:column;gap:15px;min-width:0;margin:0;padding:clamp(22px,3.2vw,39px);background:#fff;border:1px solid var(--dj-border);border-radius:21px;box-shadow:0 8px 28px rgba(58,35,39,.055)}
#dejtify-editorial-document .dj-editorial-review-mark{color:#c76877;font:500 52px/.85 Georgia,serif}
#dejtify-editorial-document .dj-editorial-review h2{margin:0;color:var(--dj-ink);font:600 clamp(22px,2.1vw,29px)/1.25 Georgia,serif;overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-review-text{flex:1;color:var(--dj-muted);font-size:clamp(15px,1.3vw,17px);line-height:1.8;overflow-wrap:anywhere}
#dejtify-editorial-document .dj-editorial-review-text p{margin:0 0 13px}
#dejtify-editorial-document .dj-editorial-review-person{display:flex;align-items:center;gap:13px;border-top:1px solid var(--dj-border);padding-top:17px;font-size:15px}
#dejtify-editorial-document .dj-editorial-review-person img{display:block;width:48px;height:48px;object-fit:cover;border-radius:50%;flex-shrink:0}
/* Exact WP Dating Elementor testimonial markup on the homepage. */
.dejtify-references-v297 .wpee-testimonials-wrap{box-sizing:border-box;width:min(1200px,100%);margin-inline:auto;padding-inline:clamp(14px,3vw,32px)}
.dejtify-references-v297 .testimonials_section .testimonials-wrap{box-sizing:border-box;margin:8px 10px 20px!important;padding:clamp(22px,2.7vw,34px)!important;background:#fff!important;border:1px solid #eadbd6!important;border-radius:20px!important;box-shadow:0 8px 27px rgba(58,35,39,.06)!important;color:#3c3232;min-width:0}
.dejtify-references-v297 .testimonials_section .testimonials-wrap .title{font:600 clamp(20px,2.1vw,26px)/1.25 Georgia,serif;color:#3c3232;overflow-wrap:anywhere}
.dejtify-references-v297 .testimonials_section .testimonials-wrap .desc-wrap{font-size:clamp(15px,1.35vw,17px);line-height:1.7;color:#67585a;overflow-wrap:anywhere}
.dejtify-references-v297 .testimonials_section .testimonials-wrap .user-detail-wrap{display:flex;align-items:center;gap:12px;min-width:0}
.dejtify-references-v297 .testimonials_section .testimonials-wrap figure{margin:0;flex-shrink:0}
.dejtify-references-v297 .testimonials_section .testimonials-wrap figure img{display:block;width:48px;height:48px;object-fit:cover;border-radius:50%}
@media(max-width:650px){#dejtify-editorial-document .dj-editorial-reviews{grid-template-columns:minmax(0,1fr)}#dejtify-editorial-document .dj-editorial-review{padding:24px}}
