/*
Theme Name: Expert Estate Manager — Jorge Yupari
Theme URI: https://jorgeyupari.agentspotlight.ai
Template: expert-estate-manager
Author: AgentSpotlight.ai
Description: Child theme for Jorge Yupari (Park Regency). The parent theme supplies the chrome (header, slider, about section, footer). This child adds the brand palette, favicon/OG head tags, data-driven shortcodes (lead forms, map, blog carousel) and the CSS for the editable Gutenberg sections on every page. No page copy lives in PHP.
Version: 1.0.14
License: GPLv3 or later
Text Domain: expert-estate-manager-child
*/

/* ---------- brand tokens (green from the intake form, black logo). --color-primary1 is set by the parent's Customizer color. ---------- */
:root {
  --jy-green: var(--color-primary1, #1F7A4D);
  --jy-green-dk: #155c39;
  --jy-green-deep: #0f3d27;
  --jy-green-lt: #e6f2ec;
  --jy-ink: #1e1e1e;
  --jy-text: #2f3437;
  --jy-soft: #5f6871;
  --jy-line: #e2e6e4;
  --jy-bg-alt: #f4f7f5;
  --jy-radius: 14px;
  --jy-shadow: 0 8px 28px rgba(20, 40, 30, .08);
  --jy-shadow-lg: 0 18px 48px rgba(20, 40, 30, .14);
}
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
::selection { background: var(--jy-green-lt); color: var(--jy-ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--jy-bg-alt); }
::-webkit-scrollbar-thumb { background: #b9c6bf; border-radius: 6px; border: 2px solid var(--jy-bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--jy-green); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- parent chrome touch-ups (brand only, layout untouched) ---------- */
/* the parent's eyebrow labels are a teal PNG; brand green with the same slanted shape */
#slider .inner_content p.slider-top, #about .abt-title { background-image: none !important; background-color: var(--jy-green); clip-path: polygon(6px 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
/* sticky header: no transition on the position switch; compact bar that slides in once (parent's default is a full-height box) */
.headerbox.sticky-header, .headerbox.sticky-header * { transition: none !important; }
.headerbox.sticky-header.jy-fixed { animation: jySlideDown .28s ease-out; border-bottom: 0; box-shadow: 0 6px 24px rgba(0, 0, 0, .08); background: transparent; }
.headerbox.sticky-header.jy-fixed .header-main { padding: 8px 40px 8px 35px; background: #fff; border-radius: 0 0 14px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.headerbox.sticky-header.jy-fixed .logo .custom-logo { max-height: 52px; }
.headerbox.sticky-header.jy-fixed .logo { margin-bottom: 0 !important; }
@keyframes jySlideDown { from { transform: translateY(-100%); } to { transform: none; } }
/* one-line header: seven anchor items */
.main-navigation .menu > li > a { font-size: 15px !important; padding: 10px 2px !important; }
.main-navigation .menu { gap: 20px 11px !important; }
/* about: theme house photo stays in the main slot; the headshot is the small overlapping image at native size */
#about .about-banner img { border-radius: 12px; box-shadow: var(--jy-shadow-lg); max-width: 265px; }
#about .about-image1 img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.logo .custom-logo { max-height: 74px; width: auto !important; height: auto !important; max-width: 100%; object-fit: contain; }
.header-btn .book-appoin { background: var(--jy-green); }
.header-btn .book-appoin:hover { background: var(--jy-green-dk); }
#slider .img-box img { object-fit: cover; }
#slider h2.my-xl-3 a { color: #fff; font-size: 45px; font-weight: 600; text-transform: capitalize; }
#slider h2.my-xl-3 a:hover { color: var(--jy-green); }
#about .about-image1 img { border-radius: var(--jy-radius); box-shadow: var(--jy-shadow-lg); }
#about .abt-content { color: var(--jy-text); }
#about .tab-details i { color: var(--jy-green); }
#slider .btn-1:hover { background: var(--jy-green); color: #fff; }
.copy-right p { color: #d9e6df; }
.footer-area .widget_block, .footer-area .widget_text, .footer-area .widget_block p { color: #cfe0d6; }
.footer-area .widget-title, .footer-area h2, .footer-area h3, .footer-area h4 { color: #fff; }
.footer-area a { color: #cfe0d6; }
.footer-area a:hover { color: #fff; }
.footer-area .wp-block-image img { max-height: 84px; width: auto; }
.footer-area ul { list-style: none; padding: 0; margin: 0; }
.footer-area ul li { padding: 5px 0; }
.footer-area .widget_block ul.jy-nap li { padding-left: 26px !important; position: relative; }
.footer-area .widget_block ul.jy-nap li::before { font-family: "Font Awesome 6 Free" !important; font-weight: 900 !important; color: #8fd3ad !important; position: absolute; left: 0; top: 7px; font-size: .85rem !important; width: auto !important; }
.footer-area .widget_block ul.jy-nap li.jy-phone::before { content: "\f095" !important; }
.footer-area .widget_block ul.jy-nap li.jy-email::before { content: "\f0e0" !important; }
.footer-area .widget_block ul.jy-nap li.jy-office::before { content: "\f3c5" !important; }
.footer-area .widget_block ul.jy-nap li.jy-license::before { content: "\f2c2" !important; }
.footer-area .widget_block ul.jy-nap li.jy-lang::before { content: "\f1ab" !important; }
.footer-area .jy-social { display: flex; gap: 8px; margin-top: 12px; }
.footer-area .jy-social a { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; }
.footer-area .jy-social a:hover { background: var(--jy-green); }
.footer-area .jy-disclaimer { font-size: .78rem; line-height: 1.5; color: #a9bfb3; }
.copy-right p a { color: #fff; }

/* ---------- sections (all editable Gutenberg blocks inside locked wp:group sections) ---------- */
/* classic theme: WP wraps group children in .wp-block-group__inner-container — make it transparent so grid/flex reach the cards */
.jy-sec > .wp-block-group__inner-container, .jy-grid > .wp-block-group__inner-container, .jy-wrap > .wp-block-group__inner-container,
.jy-head > .wp-block-group__inner-container, .jy-card > .wp-block-group__inner-container, .jy-stat > .wp-block-group__inner-container,
.jy-tcar > .wp-block-group__inner-container, .jy-tslide > .wp-block-group__inner-container, .jy-faq > .wp-block-group__inner-container,
.jy-ct-grid > .wp-block-group__inner-container, .jy-ct-info > .wp-block-group__inner-container, .jy-form-col > .wp-block-group__inner-container,
.jy-map-col > .wp-block-group__inner-container, .jy-cta > .wp-block-group__inner-container, .jy-story > .wp-block-group__inner-container,
.jy-text > .wp-block-group__inner-container, .jy-photo > .wp-block-group__inner-container, .jy-offers > .wp-block-group__inner-container,
.jy-card-body > .wp-block-group__inner-container, .jy-side > .wp-block-group__inner-container, .jy-more > .wp-block-group__inner-container,
.jy-blog-anchor > .wp-block-group__inner-container, .jy-divider > .wp-block-group__inner-container,
.jy-two > .wp-block-group__inner-container, .jy-faq-block > .wp-block-group__inner-container { display: contents; }
.jy-sec.wp-block-group { margin: 0; }
/* full-bleed inside the parent's .container */
#main-content .jy-sec, .post-content .jy-sec { width: 100vw; margin-left: calc(50% - 50vw); }
.jy-sec { padding: 84px 0; font-family: "Inter", sans-serif; color: var(--jy-text); }
.jy-sec.jy-alt { background: var(--jy-bg-alt); }
.jy-sec.jy-dark { background: var(--jy-green-deep); color: #e8f0eb; }
.jy-sec.jy-dark h2, .jy-sec.jy-dark h3 { color: #fff; }
.jy-sec.jy-dark p { color: #d5e3db; }
.jy-wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.jy-sec p { font-size: 1rem; line-height: 1.7; }
.jy-sec h2, .jy-sec h3, .jy-sec h4 { color: var(--jy-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; }
.jy-sec h2.jy-title { font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: capitalize; }
.jy-sec h3 { font-size: 1.25rem; }
.jy-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .16em; font-size: .76rem; font-weight: 700; color: var(--jy-green); background: var(--jy-green-lt); padding: 6px 14px; border-radius: 4px; margin-bottom: 12px; }
.jy-dark .jy-kicker { background: rgba(255, 255, 255, .12); color: #cfe6d8; }
.jy-intro { font-size: 1.08rem; color: var(--jy-soft); max-width: 780px; }
.jy-head { text-align: center; max-width: 840px; margin: 0 auto 44px; }
.jy-head .jy-intro { margin: 0 auto; }
.jy-head.jy-left { text-align: left; margin-left: 0; }
.jy-divider { width: 64px; height: 3px; background: var(--jy-green); margin: 4px auto 18px; border-radius: 2px; }
.jy-head.jy-left .jy-divider { margin-left: 0; }
.jy-grid { display: grid; gap: 26px; }

/* buttons */
.jy-sec .wp-block-button__link, .jy-btn, .jy-submit {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; padding: 14px 28px; border-radius: 4px;
  border: 2px solid var(--jy-green); background: var(--jy-green); color: #fff !important; cursor: pointer; transition: all .22s ease; line-height: 1.2; text-align: center; text-decoration: none;
}
.jy-sec .wp-block-button__link:hover, .jy-btn:hover, .jy-submit:hover { background: var(--jy-green-dk); border-color: var(--jy-green-dk); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 122, 77, .3); }
.jy-sec .wp-block-button.jy-outline .wp-block-button__link { background: transparent; color: var(--jy-ink) !important; border-color: var(--jy-ink); }
.jy-sec .wp-block-button.jy-outline .wp-block-button__link:hover { background: var(--jy-ink); color: #fff !important; box-shadow: none; }
.jy-sec .wp-block-button.jy-light .wp-block-button__link { background: #fff; color: var(--jy-green-deep) !important; border-color: #fff; }
.jy-sec .wp-block-button.jy-light .wp-block-button__link:hover { background: var(--jy-green-lt); border-color: var(--jy-green-lt); }
.jy-sec .wp-block-button.jy-ghost .wp-block-button__link { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .7); }
.jy-sec .wp-block-button.jy-ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .12); }
.jy-sec .wp-block-buttons { gap: 12px; margin-top: 10px; }

/* stat tiles */
.jy-stats { grid-template-columns: repeat(4, 1fr); }
.jy-sec-stats { padding: 0 0 64px; }
.jy-stat { background: #fff; border: 1px solid var(--jy-line); border-radius: var(--jy-radius); padding: 26px 18px; text-align: center; box-shadow: var(--jy-shadow); border-top: 4px solid var(--jy-green); }
.jy-stat-num { font-size: 2.4rem; color: var(--jy-ink); margin: 0 !important; line-height: 1; font-weight: 700; }
.jy-stat-label { margin: 8px 0 0 !important; text-transform: uppercase; letter-spacing: .12em; font-size: .74rem !important; font-weight: 700; color: var(--jy-green); }

/* cards + icon system (CSS pseudo-elements; JS/SVG can't live in post_content) */
.jy-card { background: #fff; border: 1px solid var(--jy-line); border-radius: var(--jy-radius); box-shadow: var(--jy-shadow); overflow: hidden; transition: transform .25s, box-shadow .25s; position: relative; }
.jy-card:hover { transform: translateY(-5px); box-shadow: var(--jy-shadow-lg); }
.jy-card-body { padding: 24px; }
.jy-card-img, .jy-card-img img { margin: 0; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.jy-card h3 a { color: var(--jy-ink); text-decoration: none; }
.jy-card h3 a:hover { color: var(--jy-green); }
.jy-svc { padding: 30px 28px; }
.jy-svc::before, .jy-tile::before, .jy-ci::before, .jy-offer li::before, .jy-checks li::before { font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--jy-green); }
.jy-svc::before { content: "\f015"; font-size: 1.5rem; display: block; margin-bottom: 16px; width: 58px; height: 58px; line-height: 58px; text-align: center; background: var(--jy-green-lt); border-radius: 12px; }
.jy-svc p { color: var(--jy-soft); font-size: .95rem; margin: 0; }
.icon-house::before { content: "\f015"; }
.icon-sign::before { content: "\f4d9"; }
.icon-chart::before { content: "\f201"; }
.icon-handshake::before { content: "\f2b5"; }
.icon-map::before { content: "\f5a0"; }
.icon-building::before { content: "\f1ad"; }
.icon-tag::before { content: "\f02b"; }
.icon-star::before { content: "\f005"; }
.icon-users::before { content: "\f0c0"; }
.icon-language::before { content: "\f1ab"; }
.jy-services { grid-template-columns: repeat(3, 1fr); }
.jy-communities { grid-template-columns: repeat(3, 1fr); }
.jy-chips { list-style: none; padding: 0; margin: 10px 0 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.jy-chips li { background: var(--jy-green-lt); color: var(--jy-green-dk); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.jy-comm-card p { color: var(--jy-soft); font-size: .95rem; }
.jy-steps { grid-template-columns: repeat(3, 1fr); margin: 40px 0; }
.jy-step { padding: 28px; }
.jy-step-num { font-size: 2.4rem; color: var(--jy-green-lt); line-height: 1; margin: 0 0 6px !important; font-weight: 700; }
.jy-step-num strong { color: var(--jy-green); }
.jy-step h3 { font-size: 1.12rem; }
.jy-step p { color: var(--jy-soft); font-size: .95rem; }

/* story / why + CTA banners */
.jy-story { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.jy-offers { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); border-radius: var(--jy-radius); padding: 30px; }
.jy-offer, .jy-checks { list-style: none; padding: 0; margin: 0 0 18px; }
.jy-offer li, .jy-checks li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed rgba(255, 255, 255, .14); }
.jy-checks li { border-bottom-color: var(--jy-line); }
.jy-offer li::before, .jy-checks li::before { content: "\f00c"; position: absolute; left: 4px; top: 10px; font-size: .85rem; }
.jy-dark .jy-offer li::before { color: #8fd3ad; }
.jy-cta { text-align: center; max-width: 820px; margin: 0 auto; }
.jy-sec-cta { padding: 64px 0; background: linear-gradient(135deg, var(--jy-green) 0%, var(--jy-green-dk) 100%); }
.jy-sec-cta h2, .jy-sec-cta p { color: #fff; }
.jy-sec-cta .jy-kicker { background: rgba(255, 255, 255, .16); color: #fff; }
.jy-sec-cta .wp-block-buttons { justify-content: center; }

/* reviews carousel — slides are editable blocks; nav + dots injected by JS */
.jy-tcar { position: relative; max-width: 860px; margin: 0 auto; padding: 0 56px; }
.jy-tslide { display: none; background: #fff; border: 1px solid var(--jy-line); border-radius: var(--jy-radius); padding: 40px 44px; text-align: center; box-shadow: var(--jy-shadow); }
.jy-tcar.js .jy-tslide.active { display: block; animation: jyfade .5s ease; }
.jy-tcar:not(.js) .jy-tslide { display: block; margin-bottom: 18px; }
.jy-stars { color: #e3b341; letter-spacing: .2em; font-size: 1.2rem; margin-bottom: 14px !important; }
.jy-rtext { font-style: italic; font-size: 1.08rem; color: var(--jy-text); }
.jy-rname { margin: 0 !important; color: var(--jy-soft); font-size: .9rem !important; }
.jy-tnav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--jy-line); background: #fff; color: var(--jy-ink); cursor: pointer; box-shadow: var(--jy-shadow); }
.jy-tnav:hover { background: var(--jy-green); color: #fff; border-color: var(--jy-green); }
.jy-tnav.prev { left: 0; } .jy-tnav.next { right: 0; }
.jy-tdots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.jy-tdot { width: 10px; height: 10px; border-radius: 50%; border: none; background: #c5d1cb; cursor: pointer; padding: 0; }
.jy-tdot.active { background: var(--jy-green); }
@keyframes jyfade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.jy-reviews-grid { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.jy-review-card { padding: 32px 34px; text-align: center; }

/* FAQ accordion (core details blocks) */
.jy-faq { max-width: 900px; margin: 0 auto; }
.jy-faq details { background: #fff; border: 1px solid var(--jy-line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; box-shadow: var(--jy-shadow); }
.jy-faq summary { cursor: pointer; padding: 18px 34px 18px 0; font-size: 1.05rem; font-weight: 600; color: var(--jy-ink); list-style: none; position: relative; }
.jy-faq summary::-webkit-details-marker { display: none; }
.jy-faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.6rem; color: var(--jy-green); transition: transform .2s; }
.jy-faq details[open] summary::after { transform: rotate(45deg); }
.jy-faq details p { color: var(--jy-soft); padding-bottom: 18px; margin: 0; }

/* contact */
.jy-ct-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.jy-ct-grid .jy-map-col { grid-column: 1 / -1; }
.jy-ci { padding-left: 32px; position: relative; margin-bottom: .6em !important; }
.jy-ci::before { position: absolute; left: 0; top: 4px; }
.jy-ci-phone::before { content: "\f095"; } .jy-ci-email::before { content: "\f0e0"; } .jy-ci-office::before { content: "\f3c5"; } .jy-ci-license::before { content: "\f2c2"; } .jy-ci-lang::before { content: "\f1ab"; }
.jy-ci a { color: var(--jy-ink); font-weight: 700; text-decoration: none; }
.jy-ci a:hover { color: var(--jy-green); }
.jy-form-wrap { background: #fff; border: 1px solid var(--jy-line); border-radius: var(--jy-radius); padding: 32px; box-shadow: var(--jy-shadow-lg); border-top: 4px solid var(--jy-green); }
.jy-form-wrap h3 { margin-bottom: .2em; }
.jy-fnote { color: var(--jy-soft); font-size: .95rem; }
.jy-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jy-form-wrap label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--jy-text); margin: 12px 0 5px; }
.jy-form-wrap input, .jy-form-wrap select, .jy-form-wrap textarea { width: 100%; padding: 12px 14px; border: 1px solid #c9d3ce; border-radius: 8px; font-family: inherit; font-size: 1rem; background: var(--jy-bg-alt); color: var(--jy-ink); }
.jy-form-wrap input:focus, .jy-form-wrap select:focus, .jy-form-wrap textarea:focus { outline: none; border-color: var(--jy-green); background: #fff; box-shadow: 0 0 0 3px var(--jy-green-lt); }
.jy-submit { width: 100%; margin-top: 18px; }
.jy-consent { font-size: .74rem; color: var(--jy-soft); margin: 14px 0 0 !important; line-height: 1.5 !important; }
.jy-map-wrap { border-radius: var(--jy-radius); overflow: hidden; box-shadow: var(--jy-shadow); border: 1px solid var(--jy-line); }
.jy-map-wrap iframe { width: 100%; height: 340px; border: 0; display: block; }

/* about page: profile card + credential tiles */
.jy-profile-card > .wp-block-group__inner-container, .jy-cred > .wp-block-group__inner-container { display: contents; }
.jy-two.jy-profile-left { grid-template-columns: 2fr 3fr; align-items: start; margin-bottom: 56px; }
.jy-profile-card { border-top: 4px solid var(--jy-green); }
.jy-profile-card .jy-pc-photo, .jy-profile-card .jy-pc-photo img { margin: 0; width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.jy-pc-name { font-size: 1.5rem !important; margin: 0 0 2px !important; }
.jy-pc-role { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem !important; font-weight: 700; color: var(--jy-green); margin: 0 0 10px !important; }
.jy-pc-claim { color: var(--jy-soft); font-size: .95rem !important; }
.jy-sec ul.jy-nap { list-style: none; padding: 0; margin: 0 0 14px; }
.jy-sec ul.jy-nap li { padding: 7px 0 7px 28px; position: relative; font-size: .95rem; border-bottom: 1px dashed var(--jy-line); }
.jy-sec ul.jy-nap li::before { font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--jy-green); position: absolute; left: 2px; top: 9px; font-size: .85rem; }
.jy-sec ul.jy-nap li.jy-phone::before { content: "\f095"; } .jy-sec ul.jy-nap li.jy-email::before { content: "\f0e0"; } .jy-sec ul.jy-nap li.jy-office::before { content: "\f3c5"; } .jy-sec ul.jy-nap li.jy-license::before { content: "\f2c2"; } .jy-sec ul.jy-nap li.jy-lang::before { content: "\f1ab"; }
.jy-sec ul.jy-nap a { color: var(--jy-ink); font-weight: 600; text-decoration: none; }
.jy-pc-links { font-size: .88rem !important; color: var(--jy-soft); }
.jy-pc-links a { color: var(--jy-green-dk); font-weight: 600; text-decoration: none; }
.jy-creds { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px; }
.jy-cred { padding: 22px 20px 22px 74px; position: relative; }
.jy-cred::before { font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--jy-green); content: "\f005"; position: absolute; left: 20px; top: 18px; width: 40px; height: 40px; line-height: 40px; text-align: center; background: var(--jy-green-lt); border-radius: 10px; font-size: 1rem; }
.jy-cred-label { margin: 0 !important; color: var(--jy-ink); }
.jy-cred.icon-house::before { content: "\f015"; } .jy-cred.icon-users::before { content: "\f0c0"; } .jy-cred.icon-tag::before { content: "\f02b"; } .jy-cred.icon-language::before { content: "\f1ab"; } .jy-cred.icon-shield::before { content: "\f3ed"; }
.jy-sec-page .jy-head { margin-top: 24px; }
.jy-sec-page .jy-services { margin-bottom: 28px; }
.jy-sec-page > .wp-block-group__inner-container > .wp-block-buttons, .jy-sec-page .jy-wrap > .wp-block-buttons { justify-content: center; }

/* inner pages (parent supplies the breadcrumb banner + H1) */
.jy-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.jy-two.jy-photo-left { grid-template-columns: 2fr 3fr; align-items: start; }
.jy-two.jy-side-right { grid-template-columns: 3fr 2fr; align-items: start; }
.jy-photo img { border-radius: var(--jy-radius); box-shadow: var(--jy-shadow-lg); width: 100%; }
.jy-photo.jy-headshot img { max-width: 300px; margin: 0 auto; }
.jy-quote { font-style: italic; font-size: 1.15rem; color: var(--jy-green-dk); border-left: 3px solid var(--jy-green); padding-left: 16px; }
.jy-text.jy-center { text-align: center; max-width: 820px; margin: 0 auto 10px; }
.jy-offer-card { padding: 32px; margin: 0 auto 40px; max-width: 760px; border-top: 4px solid var(--jy-green); }
.jy-offer-card.jy-valuation { background: var(--jy-green-lt); }
.jy-comm-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.jy-comm-list li a { display: inline-block; padding: 8px 16px; border: 1px solid var(--jy-line); border-radius: 999px; font-size: .9rem; color: var(--jy-text); background: #fff; text-decoration: none; }
.jy-comm-list li a:hover { border-color: var(--jy-green); color: var(--jy-green); }
.jy-more { margin-top: 40px; }
.jy-svc-list { list-style: none; padding: 0; margin: 0 0 20px; }
.jy-svc-list li { padding: 8px 0 8px 26px; position: relative; border-bottom: 1px dashed var(--jy-line); }
.jy-svc-list li::before { content: "\f0da"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--jy-green); position: absolute; left: 6px; top: 10px; }
.jy-sec-page { padding: 24px 0 64px; }
.jy-legal h3 { margin-top: 1.6em; }

/* blog carousel (shortcode; shows a coming-soon card at 0 posts so the #blog anchor always resolves) */
.jy-blog-empty { max-width: 640px; margin: 0 auto; padding: 36px 32px; text-align: center; }
.jy-blog-empty p { color: var(--jy-soft); margin: 0 0 8px; }
.jy-btn.jy-btn-outline { background: transparent; color: var(--jy-ink) !important; border-color: var(--jy-ink); }
.jy-btn.jy-btn-outline:hover { background: var(--jy-ink); color: #fff !important; box-shadow: none; }
.blog-area .blog-wrapup.jy-sec-page { padding: 24px 0 48px; }
.blog-area .jy-blog-empty { max-width: 760px; }
.blog-area article.blog-item:has(.jy-blog-empty) { border: 0 !important; box-shadow: none !important; background: transparent; }
.jy-blog-carousel { position: relative; padding: 0 56px; }
.jy-blog-viewport { overflow: hidden; }
.jy-blog-track { display: flex; transition: transform .5s ease; }
.jy-blog-track .jy-post { flex: 0 0 calc(100% / 3); padding: 0 12px; }
.jy-bnav { position: absolute; top: 40%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--jy-line); background: #fff; cursor: pointer; z-index: 2; box-shadow: var(--jy-shadow); }
.jy-bnav:hover { background: var(--jy-green); color: #fff; border-color: var(--jy-green); }
.jy-bnav.prev { left: 0; } .jy-bnav.next { right: 0; }
.jy-post-inner { background: #fff; border: 1px solid var(--jy-line); border-radius: var(--jy-radius); overflow: hidden; box-shadow: var(--jy-shadow); height: 100%; }
.jy-post .jy-ph { aspect-ratio: 16/10; background-size: cover; background-position: center; position: relative; }
.jy-post .jy-ph a { position: absolute; inset: 0; }
.jy-post .jy-pb { padding: 22px; }
.jy-post .jy-tag { display: inline-block; background: var(--jy-green-lt); color: var(--jy-green-dk); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }
.jy-post h3 { font-size: 1.1rem; }
.jy-post h3 a { color: var(--jy-ink); text-decoration: none; }
.jy-post p { color: var(--jy-soft); font-size: .95rem; }
.jy-post .jy-rm { font-weight: 700; color: var(--jy-green); }
.jy-blog-more { text-align: center; margin-top: 36px; }

/* reveal animation */
.jy-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.jy-reveal.jy-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .jy-reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .jy-sec { padding: 64px 0; }
  .jy-stats, .jy-services, .jy-communities, .jy-steps { grid-template-columns: repeat(2, 1fr); }
  .jy-blog-track .jy-post { flex-basis: 50%; }
  .jy-ct-grid, .jy-story, .jy-two, .jy-two.jy-photo-left, .jy-two.jy-profile-left, .jy-two.jy-side-right, .jy-reviews-grid { grid-template-columns: 1fr; }
  .jy-creds { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .logo { padding-top: 10px; }
  .logo .custom-logo { max-height: 64px; max-width: 160px; }
  #slider h1 a, #slider h2.my-xl-3 a { font-size: 28px; line-height: 1.25; }
  #slider .inner_content p.slider-top, #about .abt-title { font-size: 14px; padding: 4px 12px; }
  #slider p.welcome-text { display: none; }
}
@media (max-width: 680px) {
  .jy-stats, .jy-services, .jy-communities, .jy-steps, .jy-form-row, .jy-creds { grid-template-columns: 1fr; }
  .jy-blog-track .jy-post { flex-basis: 100%; }
  .jy-blog-carousel, .jy-tcar { padding: 0 44px; }
  .jy-tslide { padding: 28px 20px; }
  .jy-wrap { padding: 0 16px; }
}
