/*
Theme Name: RXSE FIT — Celia
Theme URI: https://rxse.art
Author: RXSE FIT
Description: Faithful, editable WordPress block theme based on Celia's four Canva designs. Includes starter pages on activation.
Version: 1.4.0
Requires at least: 6.5
Text Domain: rxse-fit
*/
:root{--rxse-bg:#faf9f7;--rxse-warm:#eae7e1;--rxse-brown:#614a3b;--rxse-ink:#080808}*{box-sizing:border-box}body{margin:0;background:var(--rxse-bg);color:var(--rxse-ink);font-family:Georgia,'Times New Roman',serif}a{color:inherit}.wp-site-blocks{min-height:100vh}.rxse-frame{width:min(100%,1480px);margin:0 auto}.rxse-header{display:flex;align-items:center;justify-content:space-between;padding:58px 6.2% 24px;gap:30px}.rxse-logo{font-family:Georgia,serif;letter-spacing:.24em;font-weight:700;font-size:24px;text-decoration:none;white-space:nowrap}.rxse-nav{display:flex;align-items:center;gap:clamp(20px,4.7vw,84px);flex-wrap:wrap}.rxse-nav a{font-family:Georgia,serif;font-size:19px;letter-spacing:.23em;text-decoration:none}.rxse-nav a:hover{text-decoration:underline;text-underline-offset:7px}.rxse-nav a[aria-current=page]{font-weight:bold}.rxse-page{min-height:calc(100vh - 140px)}.rxse-home{display:grid;grid-template-columns:49% 51%;align-items:center;min-height:730px;padding:45px 4% 85px}.rxse-home-photo{position:relative;min-height:610px;display:flex;align-items:center;justify-content:center}.rxse-home-photo:before{content:'';position:absolute;background:var(--rxse-brown);width:76%;height:88%;left:-7%;top:11%}.rxse-home-photo img{position:relative;z-index:1;width:75%;height:568px;object-fit:cover;object-position:center}.rxse-home-copy{text-align:center;padding:0 2%}.rxse-home-copy h1{font-weight:400;font-size:clamp(43px,5vw,75px);line-height:1.42;margin:0 0 55px}.rxse-home-copy p{font-size:19px;line-height:1.4;text-align:left;max-width:600px;margin:0 auto 43px}.rxse-pill{display:inline-block;border:1.5px solid #111;border-radius:100px;padding:9px 19px;text-decoration:none;background:transparent;font-family:Georgia,serif;font-size:23px;line-height:1.2;text-align:center}.rxse-pill:hover{background:#eeeae4}.rxse-services{position:relative;padding:30px 6.3% 90px;min-height:780px}.rxse-services:before{content:'';position:absolute;z-index:0;left:0;right:0;top:44%;bottom:0;background:var(--rxse-warm)}.rxse-services>*{position:relative;z-index:1}.rxse-services h1{font-size:clamp(52px,6vw,78px);font-weight:400;margin:0 0 98px}.rxse-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10.5%;text-align:center}.rxse-service-card img{width:100%;aspect-ratio:322/360;object-fit:cover;display:block;margin-bottom:27px}.rxse-service-card .rxse-pill{display:block;font-size:clamp(19px,2vw,28px);white-space:nowrap;padding:8px 10px}.rxse-service-card p{font-size:clamp(20px,2vw,28px);line-height:1.45;margin:30px 0 0}.rxse-testimonials{background:var(--rxse-warm);padding:35px 3.5% 35px;min-height:800px;display:grid;grid-template-columns:1fr 1fr;gap:6%}.rxse-testimonials h1{font-size:clamp(54px,6vw,79px);font-weight:400;text-align:center;margin:0 0 28px}.rxse-quote{border:1.5px solid #111;border-radius:44px;background:var(--rxse-bg);padding:20px 14px;margin:0 0 22px;text-align:center;font-size:clamp(17px,1.5vw,21px);line-height:1.35}.rxse-contact{position:relative;text-align:center;min-height:860px;padding:0 5% 70px;overflow:hidden}.rxse-contact:before{content:'';position:absolute;top:0;left:16%;width:68%;height:265px;background:var(--rxse-warm)}.rxse-contact img{position:relative;display:block;margin:118px auto 27px;width:416px;max-width:80%;aspect-ratio:416/298;object-fit:cover}.rxse-contact h1{font-size:clamp(46px,6vw,77px);font-weight:400;margin:30px 0 43px}.rxse-contact p{font-size:19px;margin:0 auto 140px}.rxse-contact .rxse-pill{min-width:145px}.rxse-editor-note{font-size:14px;color:#555}.rxse-footer{padding:25px;text-align:center;font-size:13px;color:#777}@media(max-width:900px){.rxse-header{padding:30px 5% 20px;flex-direction:column}.rxse-nav{justify-content:center;gap:20px}.rxse-nav a{font-size:14px}.rxse-home{grid-template-columns:1fr;gap:20px;padding:20px 6% 60px}.rxse-home-photo{min-height:480px}.rxse-home-photo img{height:450px;width:min(76%,450px)}.rxse-home-copy h1{font-size:clamp(39px,7vw,65px);margin:10px 0 30px}.rxse-services{padding:30px 6% 65px}.rxse-services h1{margin-bottom:50px}.rxse-service-grid{gap:4%}.rxse-service-card .rxse-pill{white-space:normal}.rxse-testimonials{gap:3%}.rxse-quote{font-size:17px}}@media(max-width:620px){.rxse-nav{gap:14px}.rxse-nav a{font-size:12px;letter-spacing:.11em}.rxse-home-photo{min-height:380px}.rxse-home-photo img{height:360px}.rxse-home-copy p{font-size:17px}.rxse-service-grid{grid-template-columns:1fr;gap:45px;max-width:400px;margin:auto}.rxse-services:before{top:25%}.rxse-service-card p{margin-top:14px}.rxse-testimonials{grid-template-columns:1fr;padding:25px 5%}.rxse-testimonials h1{margin:0 0 25px}.rxse-quote{border-radius:30px}.rxse-contact{min-height:690px}.rxse-contact:before{height:200px}.rxse-contact img{margin-top:70px}.rxse-contact p{margin-bottom:100px}}

/* v1.2: align the decorative backgrounds with the Canva reference. */
@media (min-width:901px){
.rxse-home{grid-template-columns:48% 52%;min-height:700px;padding:32px 4% 65px;}
.rxse-home-photo{min-height:550px;justify-content:flex-start;align-items:center;}
.rxse-home-photo:before{left:-7%;top:22%;width:76%;height:74%;}
.rxse-home-photo img{width:75%;height:auto;aspect-ratio:623/491;object-fit:cover;object-position:center; margin-left:6%;}
.rxse-home-copy h1{line-height:1.25;margin-bottom:46px;}
.rxse-services{padding-top:30px;}
.rxse-services:before{top:49%;}
.rxse-service-grid{gap:10%;}
.rxse-service-card img{aspect-ratio:1/1.1;}
.rxse-contact:before{top:0;left:16%;width:68%;height:230px;}
.rxse-contact img{margin-top:115px;}
}
@media(max-width:900px){
.rxse-home-photo:before{left:0;top:18%;height:75%;width:72%;}
.rxse-home-photo img{height:auto;aspect-ratio:623/491;object-fit:cover;margin-left:10%;}
.rxse-contact:before{left:12%;width:76%;}
}

/* v1.3: source photographs re-cropped without surrounding Canva backgrounds. */
@media (min-width:901px){
.rxse-home{grid-template-columns:47% 53%;padding:20px 4% 70px;min-height:690px}
.rxse-home-photo{min-height:555px;align-items:center;justify-content:flex-start}
.rxse-home-photo:before{left:-7%;top:20%;width:61%;height:72%}
.rxse-home-photo img{width:65%;aspect-ratio:312/349;height:auto;margin-left:10%;object-fit:cover}
.rxse-home-copy h1{font-size:clamp(42px,4.7vw,70px)}
.rxse-service-grid{gap:10%}
.rxse-service-card{min-width:0}
.rxse-service-card img{width:100%;height:auto;aspect-ratio:396/442;object-fit:cover}
.rxse-contact:before{top:0;left:16%;width:68%;height:230px}
.rxse-contact img{margin:100px auto 27px;width:416px;aspect-ratio:256/184;object-fit:cover}
}
@media(max-width:900px){
.rxse-home-photo img{aspect-ratio:312/349;max-height:520px;width:min(70%,390px);object-fit:cover}
.rxse-service-card img{aspect-ratio:396/442;object-fit:cover;width:100%}
.rxse-contact img{aspect-ratio:256/184;object-fit:cover}
}

/* v1.4 — rebuilt using supplied full, pre-cropped photos and original Canva compositions. */
@media (min-width: 901px) {
 .rxse-frame {max-width: 1480px;}
 .rxse-header {padding: 48px 6.2% 20px;}
 .rxse-page {min-height: 0;}
 /* Reference: photograph 206x230; brown block 203x220, shifted left 66 and down 28. */
 .rxse-home {grid-template-columns: 47% 53%;min-height: 735px;padding: 20px 5% 75px;align-items:center;}
 .rxse-home-photo {height: 555px;min-height:0;display:block;position:relative;}
 .rxse-home-photo:before {left:-12%;top:13%;width:76%;height:83%;background:#604b3e;}
 .rxse-home-photo img {position:absolute;left:13%;top:3%;margin:0;width:77%;height:88%;aspect-ratio:auto;object-fit:cover;object-position:center center;}
 .rxse-home-copy {padding:0 0 0 2%;}
 .rxse-home-copy h1 {font-size:clamp(44px,4.75vw,72px);line-height:1.24;margin:0 0 47px;}
 .rxse-home-copy p {font-size:clamp(15px,1.18vw,18px);line-height:1.45;max-width:575px;margin-bottom:36px;}
 .rxse-home-copy .rxse-pill {font-size:20px;}
 /* Reference: three equal 131x145 portraits, all centered over a single warm lower band. */
 .rxse-services {padding: 45px 6.2% 90px;min-height: 800px;}
 .rxse-services:before {top: 51%;background:#e9e6e1;}
 .rxse-services h1 {font-size:clamp(56px,5.3vw,80px);margin:0 0 96px;}
 .rxse-service-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:11%;}
 .rxse-service-card {min-width:0;}
 .rxse-service-card img {display:block;width:100%;height:auto;aspect-ratio:131/145;object-fit:cover;object-position:center;margin:0 0 24px;}
 .rxse-service-card .rxse-pill {font-size:clamp(17px,1.65vw,24px);padding:8px 7px;}
 .rxse-service-card p {font-size:clamp(18px,1.65vw,24px);margin:23px 0 0;}
 /* Reference: one horizontal band behind a centered photograph, no second rectangle. */
 .rxse-contact {min-height:820px;padding:0 5% 65px;}
 .rxse-contact:before {left:16%;top:0;width:68%;height:235px;background:#e9e6e1;}
 .rxse-contact img {width:clamp(290px,28%,415px);max-width:80%;height:auto;aspect-ratio: 505/360;object-fit:cover;object-position:center;display:block;margin:115px auto 23px;}
 .rxse-contact h1 {font-size:clamp(46px,5.4vw,77px);margin:30px 0 45px;}
 .rxse-contact p {margin:0 auto 130px;font-size:17px;}
}
@media (max-width:900px) {
 .rxse-home-photo {display:flex;align-items:center;justify-content:center;}
 .rxse-home-photo img {aspect-ratio:619/695;width:min(68%,380px);height:auto;max-height:none;object-fit:cover;margin-left:10%;}
 .rxse-home-photo:before {width:70%;height:80%;left:1%;top:16%;}
 .rxse-service-card img {aspect-ratio:131/145;object-fit:cover;width:100%;height:auto;}
 .rxse-contact img {aspect-ratio:505/360;object-fit:cover;height:auto;}
}
