.admin-bar .site-header{scroll-margin-top:32px}.news-pagination{display:flex;gap:20px;padding:28px 0}.news-empty{padding:28px 0;border-block:1px solid #d4d5cf;color:#686e64}.news-article-body img{max-width:100%;height:auto}.news-article-body .wp-block-image{margin-inline:0}.news-article-body a{text-decoration:underline;text-underline-offset:4px}

/* Quiet empty state; published news keeps its usual layout. */
.news-list:has(> .news-empty){border-bottom:0}
.news-list > .news-empty{margin:0;padding:20px 0 0;border:0;font-size:14px;line-height:1.9;color:#686e64}
.refined-home .news-section:has(.news-empty){padding-top:32px;padding-bottom:36px}
.news-section:has(.news-empty) .news-heading{margin-bottom:20px}
.news-section:has(.news-empty) .news-all{display:none}
@media(max-width:800px){.refined-home .news-section:has(.news-empty){padding-block:28px}.news-list > .news-empty{font-size:13px;padding-top:16px}}

/* Match the live mail form to Notari's existing contact layout. */
.contact-layout > .wpcf7{min-width:0;width:100%}
.contact-form .notari-hp{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.contact-form input.wpcf7-submit{cursor:pointer;background:#153dcc;color:#fff;border:1px solid #153dcc;min-height:64px;font:600 15px/1.6 Arial,"Hiragino Kaku Gothic ProN","Yu Gothic",sans-serif;white-space:normal}
.contact-form input.wpcf7-submit:hover{background:#1032a8}
.contact-form input.wpcf7-submit:disabled{opacity:.65;cursor:wait}
.contact-form .wpcf7-form-control-wrap{display:block}
.contact-form .wpcf7-not-valid-tip{font-size:12px;line-height:1.8;margin-top:6px}
.contact-layout .wpcf7-response-output{margin:24px 0 0;padding:16px 20px;font-size:14px;line-height:1.9}
.contact-form .submit-area>p{margin:0}
.contact-form .wpcf7-spinner{display:block;margin:10px auto}
.contact-form .wpcf7-spinner:not(.submitting *){height:0;margin:0}

.contact-form>p>br{display:none}
.contact-form label>.wpcf7-form-control-wrap{margin-left:0;color:inherit;font-size:14px;font-weight:400}
.contact-form input,.contact-form select,.contact-form textarea{font-family:inherit;font-size:16px;line-height:1.6}
.contact-layout .wpcf7 form .wpcf7-response-output{margin:24px 0 0;padding:16px 20px;font-size:14px;line-height:1.9}
.contact-layout .wpcf7 form.sent .wpcf7-response-output{border:1px solid #153dcc;background:#f0f3fc;color:#252724}

.announcement-links a:has(.announcement-external){display:inline-flex;align-items:baseline;gap:8px;white-space:nowrap}
.announcement-links .announcement-external{display:inline;margin-top:0;white-space:nowrap}

/* Mobile navigation uses stable columns instead of irregular wrapping. */
.life-review{display:none}
@media(max-width:800px){
.life-nav,.home-nav{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:0!important;padding:16px 6%!important}
.life-nav a,.home-nav a{min-width:0;min-height:52px;padding:12px 8px!important;font-size:12px;line-height:1.65;border-bottom:1px solid #d4d5cf;white-space:normal;letter-spacing:0}
.life-nav a:nth-child(odd),.home-nav a:nth-child(odd){padding-left:0!important}
.life-nav a:last-child:nth-child(odd){grid-column:1/-1}
.life-nav a:after,.home-nav a:after{display:none}
.refined .values-cover{gap:16px;padding-bottom:28px}
.refined .values-cover .values-catch{font-size:42px;line-height:1.5}
.refined .values-cover .botanical-art{width:100%;max-width:270px}
.refined .notari-footer{padding-bottom:32px}
.notari-footer .footer-menu>nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0;padding:16px 0}
.notari-footer .footer-menu>nav a{min-height:44px;display:flex;align-items:center;font-size:12px;padding:10px 0}
.notari-footer .sitemap summary{width:100%;justify-content:space-between;min-height:48px}
.notari-footer .social-links>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.notari-footer .social-links a{min-width:0;text-align:center}
.notari-footer .footer-meta{display:grid;grid-template-columns:1fr;gap:12px}
.notari-footer .footer-company{flex-direction:row;flex-wrap:wrap;justify-content:space-between;width:100%;gap:10px}
.notari-footer .footer-up{justify-self:end;min-height:44px}
}
.botanical-art.is-swaying .plant-flower{transform-box:view-box;transform-origin:247px 350px;animation:notari-flower-sway 4.8s ease-in-out infinite}
@keyframes notari-flower-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@media(prefers-reduced-motion:reduce){.botanical-art.is-swaying .plant-flower{animation:none!important}}

/* Keep the mobile first screen clear of the following news section. */
@media(max-width:750px){
.refined-home .hero{min-height:calc(100vh - 40px);min-height:calc(100lvh - 40px);justify-content:flex-start;padding-top:40px}
.refined-home .hero .below{flex-wrap:wrap;gap:8px 16px;align-items:center}
.refined-home .hero .tagline{max-width:none;flex-shrink:0;white-space:nowrap;font-size:10px}
.refined-home .hero .discover{flex-shrink:0;margin-left:auto}
}

/* Keep the teaser rule, without underlining the text or arrow on tap. */
.refined .members-teaser>a,.refined .members-teaser>a:hover,.refined .members-teaser>a:active,.refined .members-teaser>a:focus{text-decoration:none}
.refined .members-teaser>a:focus-visible{outline:2px solid #153dcc;outline-offset:5px}

/* Prioritize contact in the mobile header. */
@media(max-width:800px){
.refined .compact-header .header-shortcuts a[href$="/news/"]{display:none}
.refined .compact-header .header-shortcuts a[href$="/contact/"]{display:flex;white-space:nowrap}
}
@media(max-width:360px){
.refined .site-header.compact-header{gap:12px}
.refined .compact-header .header-actions{gap:12px}
.refined .compact-header .header-shortcuts a{font-size:11px}
}
@media(max-width:360px){.refined .compact-header .menu-toggle{white-space:nowrap;gap:8px;font-size:11px}.refined .compact-header .site-logo{font-size:32px}}

/* Compact service cards for mobile comparison. */
@media(max-width:800px){
.refined-home .site-middle .business-body{margin-top:24px}
.refined-home .site-middle .business-body>h3{font-size:25px;line-height:1.6;margin-bottom:18px}
.refined-home .site-middle .business-body>p{font-size:14px;line-height:1.9;margin-bottom:0}
.refined-home .site-middle .service-grid{margin-top:24px;gap:16px}
.refined-home .site-middle .service-card{padding:20px}
.refined-home .site-middle .service-card h4{font-size:32px;line-height:1.2;margin:16px 0 6px}
.refined-home .site-middle .service-card .status{font-size:11px;padding:3px 8px}
.refined-home .site-middle .service-card .service-category{font-size:12px;line-height:1.7;margin-bottom:12px}
.refined-home .site-middle .service-card>p:last-of-type{font-size:14px;line-height:1.8;margin-bottom:16px}
.refined-home .site-middle .service-card .card-link{font-size:13px;padding-top:10px;min-height:44px}
}

/* Balanced desktop service cards, independent of mobile spacing. */
@media(min-width:801px){
.refined-home .site-middle .service-card{padding:22px 24px}
.refined-home .site-middle .service-card h4{margin-top:20px}
.refined-home .site-middle .service-card .service-category{margin-bottom:10px}
.refined-home .site-middle .service-card>p:last-of-type{margin-bottom:18px}
.refined-home .site-middle .service-card .card-link{padding-top:12px;min-height:44px}
}

/* Preserve the intended sentence breaks in mobile service cards. */
@media(max-width:800px){.refined-home .site-middle .service-card>p:last-of-type br{display:initial}}

/* Responsive refinement: stable arrows and content-led mobile spacing. */
.filer-card .external-arrow{position:relative;display:inline-block;flex:0 0 30px;width:30px;height:24px;font-size:0!important;line-height:0;vertical-align:middle}
.filer-card .external-arrow:before{content:"";position:absolute;width:28px;left:0;top:11px;border-top:1.5px solid currentColor}
.filer-card .external-arrow:after{content:"";position:absolute;width:8px;height:8px;right:1px;top:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.filer-card:hover .external-arrow{transform:translateX(3px)}
@media(max-width:1000px){
.life-opening-grid>*,.home-opening-grid>*,.company-content>*,.contact-layout>*{min-width:0}
.life-renewal .life-opening,.home-renewal .home-opening{padding-bottom:36px}
.life-renewal .life-opening .life-intro,.home-renewal .home-opening .home-intro{margin:24px 0 20px;line-height:1.9}
.life-opening-copy .detail-line,.home-opening-copy .detail-line{margin-top:8px;max-width:100%;gap:16px}
.life-opening-copy .detail-external,.home-opening-copy .detail-external{margin:12px 0 0;line-height:1.8}
.life-opening-copy .detail-line>span,.home-opening-copy .detail-line>span{flex-shrink:0}
}
@media(max-width:750px){
.refined-home .hero{min-height:calc(100vh - 78px);min-height:min(660px,calc(100svh - 78px));justify-content:flex-start;padding-top:32px;padding-bottom:24px}
.refined-home .hero .scroll-cue{margin-top:20px;margin-bottom:0}
.refined-home .hero .below{min-width:0;gap:10px 16px}
.refined-home .hero .tagline{font-size:clamp(9px,2.4vw,10px);max-width:100%;white-space:normal;line-height:1.8}
.life-renewal .life-nav,.home-renewal .home-nav{padding-top:8px!important;padding-bottom:12px!important}
.life-renewal .life-nav a,.home-renewal .home-nav a{display:flex;align-items:center;min-height:48px;padding-block:10px!important}
.life-section,.home-section{padding-top:48px;padding-bottom:48px}
.filer-card{padding:24px}.filer-card-title{font-size:clamp(21px,5.7vw,28px);gap:12px}.filer-card-bottom{flex-wrap:wrap;gap:8px 16px}
}
@media(max-width:374px){
.refined-home .hero{padding-top:24px}
.refined-home .hero .below{display:grid;grid-template-columns:1fr;gap:6px}
.refined-home .hero .discover{justify-self:end}
.life-renewal .life-opening .page-lead,.home-renewal .home-opening .page-lead{font-size:21px}
.life-opening-copy .detail-line,.home-opening-copy .detail-line{padding:14px;font-size:13px}
}
@media(max-height:500px) and (max-width:1000px){.refined-home .hero{min-height:0;padding-top:24px;padding-bottom:28px}}

/* Mobile section navigation: one continuous row, no orphaned last tab. */
@media(max-width:800px){
.refined :is(.life-nav,.home-nav){display:flex!important;flex-wrap:nowrap!important;gap:24px!important;overflow-x:auto;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:thin;scrollbar-color:#a6ae9f transparent;padding:10px 6%!important;scroll-padding-inline:6%;border-block:1px solid #d4d5cf}
.refined :is(.life-nav,.home-nav) a{flex:0 0 auto;display:flex;align-items:center;white-space:nowrap;min-height:44px;padding:10px 0!important;border-bottom:0;font-size:13px;line-height:1.6;grid-column:auto}
.refined :is(.life-nav,.home-nav)::-webkit-scrollbar{height:3px}
.refined :is(.life-nav,.home-nav)::-webkit-scrollbar-thumb{background:#a6ae9f}
}

/* Approved Notari wordmark 04 — outlined SVG, 2026-09-30 */
.refined .site-logo,.refined .footer-logo{display:inline-block!important;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20464%20132%22%3E%3Cg%20fill%3D%22%231A02F4%22%3E%3Cpath%20d%3D%22M12%2012H25Q27%2012%2028%2014L77%2075V14Q77%2012%2079%2012H91Q93%2012%2093%2014V102H79Q77%20102%2076%20100L27%2039V100Q27%20102%2025%20102H12Q10%20102%2010%20100V14Q10%2012%2012%2012Z%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M138%2030A36%2036%200%201%201%20138%20102A36%2036%200%201%201%20138%2030ZM138%2046A20%2020%200%201%200%20138%2086A20%2020%200%201%200%20138%2046Z%22%2F%3E%3Cpath%20d%3D%22M192%2017H204Q206%2017%20206%2019V32H222V47H206V76Q206%2086%20217%2086H223V102H216Q190%20102%20190%2077V47H179V32H190V19Q190%2017%20192%2017Z%22%2F%3E%3Cpath%20fill-rule%3D%22evenodd%22%20d%3D%22M263%2030A36%2036%200%201%201%20263%20102A36%2036%200%201%201%20263%2030ZM263%2046A20%2020%200%201%200%20263%2086A20%2020%200%201%200%20263%2046Z%22%2F%3E%3Cpath%20d%3D%22M283%2066H299V100Q299%20102%20297%20102H285Q283%20102%20283%20100Z%22%2F%3E%3Cpath%20d%3D%22M319%20102V67Q319%2038%20348%2038H350%22%20fill%3D%22none%22%20stroke%3D%22%231A02F4%22%20stroke-width%3D%2216%22%2F%3E%3Crect%20x%3D%22360%22%20y%3D%2231%22%20width%3D%2216%22%20height%3D%2271%22%20rx%3D%222%22%2F%3E%3Crect%20x%3D%22360%22%20y%3D%2210%22%20width%3D%2216%22%20height%3D%2215%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3Crect%20x%3D%22376%22%20y%3D%22114%22%20width%3D%2272%22%20height%3D%2212%22%20rx%3D%221.5%22%20fill%3D%22%23FF3B1F%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat!important;color:transparent!important;-webkit-text-fill-color:transparent!important;font-size:0!important;line-height:0!important;letter-spacing:0!important;flex-shrink:0;text-decoration:none!important;vertical-align:middle;width:140px;height:40px}
.refined .site-logo span,.refined .footer-logo span{color:transparent!important;-webkit-text-fill-color:transparent!important}
.refined .footer-brand .footer-logo{width:250px;height:72px}
@media(max-width:800px){.refined .compact-header .site-logo{width:116px;height:34px}.refined .footer-brand .footer-logo{width:200px;height:57px}}
@media(max-width:360px){.refined .compact-header .site-logo{width:104px;height:30px}}
