/* 11/11/2026: grouped homepage sections and touch-friendly controls. */
.article-grid .article-card{display:flex;flex-direction:column;align-self:stretch}
.article-grid .article-body{display:flex;flex:1;flex-direction:column;align-items:flex-start}
.article-grid .article-body>a:last-child,.article-grid .article-body>.text-link:last-child{margin-top:auto;padding-top:16px;min-height:44px;display:inline-flex;align-items:center}
.rate-quick-nav{display:grid;grid-template-columns:1fr;gap:10px;align-content:center;min-width:0}
.rate-quick-nav a{display:flex;align-items:center;gap:10px;min-height:48px;padding:12px 14px;background:#fff;border:1px solid #e9d6da;border-radius:13px;color:#243b50;font-size:14px;line-height:1.35;font-weight:700;text-decoration:none;box-shadow:0 4px 14px #243b5005}
.rate-quick-nav a>span{display:grid;place-items:center;flex:0 0 28px;height:28px;border-radius:9px;background:#f9e8ed;color:#b2677c;font-size:18px}
.rate-quick-nav a:hover{border-color:#b86f82;background:#fff9fa}
.rate-quick-nav a:focus-visible{outline:3px solid #a73f49;outline-offset:3px}
.home-page .home-slide-rate{grid-template-columns:minmax(0,1fr) 172px minmax(270px,.95fr);gap:26px;align-items:center}
.home-page .home-slide-rate>.home-poster-frame{width:100%;max-width:460px}
.product-rate-section{display:grid;grid-template-columns:180px minmax(0,1fr);column-gap:28px;align-items:center}
.product-rate-section>h2{grid-column:1/-1}
.product-rate-section>.rate-quick-nav{grid-column:1;grid-row:2}
.product-rate-section>.product-rate-poster{grid-column:2;grid-row:2;width:100%;max-width:620px;margin:0 auto 16px}
.product-rate-section>[data-rate-product]{grid-column:1/-1;min-width:0}
.product-rate-section .product-rate-poster img{max-height:420px;object-fit:contain;background:#fcf7f4}
.home-page .home-help-section{padding-top:42px;padding-bottom:42px}
.home-page .home-help-box{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:34px;padding:30px;background:#fff;border:1px solid #ead8d6;border-radius:26px}
.home-help-column{min-width:0;scroll-margin-top:100px}
.home-help-heading{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}
.home-help-heading h2{font-size:25px;line-height:1.35;margin:0}
.home-help-heading>a{font-size:13px;font-weight:700;color:#aa5e74;min-height:44px;display:flex;align-items:center}
.home-help-lead{font-size:14px;color:#697785;line-height:1.6;margin:0 0 18px}
.home-page .home-help-box #caseGrid{display:grid;grid-template-columns:1fr;gap:12px;overflow:visible;margin:0;padding:0;width:100%;scroll-snap-type:none}
.home-page .home-help-box .case-card{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:0;padding:16px 18px;border-radius:16px;box-shadow:none}
.home-page .home-help-box .case-card .case-tag{display:none}
.home-page .home-help-box .case-card h3{font-size:17px;line-height:1.45;margin:0 0 3px}
.home-page .home-help-box .case-card p{display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;line-height:1.6;margin:0;color:#697785}
.home-page .home-help-box .case-card ul,.home-page .home-help-box .case-card .case-note{display:none}
.home-page .home-help-box .case-card-action{font-size:13px;line-height:1.5;margin:3px 0 0;color:#aa5e74}
.home-help-faq{border-left:1px solid #eee0dd;padding-left:30px}
.home-page .home-help-box .faq{gap:12px}
.home-page .home-help-box .faq details{border-radius:16px;padding-inline:18px}
.home-page .home-help-box .faq summary{font-size:16px;line-height:1.55;min-height:62px;padding:18px 0}
.home-page .home-help-box .faq p{font-size:15px;line-height:1.7;padding:0 0 3px}
.home-page #lien-he .contact-direct-card{display:grid;grid-template-columns:170px minmax(0,1fr) minmax(280px,340px);gap:24px;align-items:center;padding:30px}
.home-page #lien-he .contact-direct-card>.contact-quick-portrait{width:170px;height:225px;min-height:0!important;max-height:225px!important;margin:0;align-self:center}
.home-page #lien-he .contact-quick-portrait img{width:100%;height:100%;object-fit:contain;border-radius:18px}
.home-page #lien-he .contact-quick-copy{min-width:0;padding:0}
.home-page #lien-he .contact-quick-copy>h2{font-size:clamp(25px,2.3vw,34px);line-height:1.3;margin:14px 0}
.home-page #lien-he .contact-quick-copy>p{font-size:15px;line-height:1.65}
.home-page #lien-he .service-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.home-page #lien-he .service-contact-actions .btn{min-width:0;min-height:46px;padding:11px 14px;font-size:14px;line-height:1.4}
.home-page #lien-he .contact-quick-copy>small{display:block!important;font-size:12px;line-height:1.6;margin-top:16px}
.contact-feedback{min-width:0;width:100%;padding:18px;border:1px solid #e9d9d5;border-radius:20px;background:#fff;color:#243b50;align-self:stretch}
.contact-feedback[hidden]{display:none!important}
.contact-feedback .feedback-heading{display:block;margin:0 0 14px;padding:0}
.contact-feedback h3{font-size:17px;line-height:1.4;margin:0 0 10px}
.contact-feedback .section-head-actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0}
.contact-feedback .rail-buttons{display:flex;gap:8px}
.contact-feedback .rail-buttons button{width:44px;height:44px;min-height:44px;border:1px solid #e4d8d6;border-radius:50%;background:#243b50;color:#fff;font-size:20px;cursor:pointer}
.contact-feedback .slider-playback{height:44px;min-height:44px;padding:8px 12px;font-size:12px;border-radius:22px;color:#a65b71;border:1px solid #ead7dd;background:#fff7f9}
.home-page .contact-feedback .feedback-rail{display:flex;gap:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:0;margin:0;max-width:100%;border-radius:12px}
.home-page .contact-feedback .feedback-rail::-webkit-scrollbar{display:none}
.home-page .contact-feedback .feedback-card,.home-page .contact-feedback .feedback-rail[data-feedback-count="1"] .feedback-card{flex:0 0 100%;width:100%;min-width:0;max-width:100%;margin:0;box-shadow:none;border-radius:12px;scroll-snap-align:start;overflow:hidden;border:1px solid #e6ddda}
.home-page .contact-feedback .feedback-open{display:block;width:100%;height:220px;padding:0;position:relative;border:0;background:#080808;cursor:zoom-in}
.home-page .contact-feedback .feedback-card img{display:block;width:100%;height:220px;max-height:220px;object-fit:contain;background:#080808}
.home-page .contact-feedback .feedback-card figcaption{padding:10px 12px;min-height:60px;font-size:12px;line-height:1.6;color:#65727f;background:#fff}
.home-page .contact-feedback .feedback-open-hint{font-size:11px;padding:4px 7px;background:#0009;color:#fff;border-radius:7px;position:absolute;right:7px;bottom:7px}
@media(max-width:1120px){
 .home-page #lien-he .contact-direct-card{grid-template-columns:160px minmax(0,1fr);gap:24px}
 .home-page #lien-he .contact-direct-card>.contact-quick-portrait{width:160px;height:210px}
 .home-page #lien-he .contact-feedback{grid-column:1/-1;max-width:560px;justify-self:center}
 .home-page .home-slide-rate{grid-template-columns:minmax(0,1fr) 150px minmax(230px,.9fr);gap:18px}
 .rate-quick-nav a{padding:10px;font-size:13px;gap:8px}
}
@media(max-width:900px){
 .home-page .home-help-box{grid-template-columns:1fr;gap:28px;padding:24px}
 .home-help-faq{padding:28px 0 0;border-left:0;border-top:1px solid #eee0dd}
 .home-page .home-slide-rate{grid-template-columns:minmax(0,1fr) minmax(210px,1fr);gap:18px}
 .home-page .home-slide-rate .rate-quick-nav{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(4,minmax(0,1fr))}
 .home-page .home-slide-rate .home-poster-frame{grid-column:2;grid-row:1}
}
@media(max-width:700px){
 body:not(.admin-page){padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 body:not(.admin-page) .mobile-bar{display:grid!important;grid-template-columns:1fr 1fr;gap:10px;position:fixed;z-index:80;bottom:0;left:0;right:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid #ead9dd;box-shadow:0 -3px 14px #243b5009}
 body:not(.admin-page) .mobile-bar .btn{display:flex;align-items:center;justify-content:center;min-height:48px;font-size:16px;padding:11px 12px;border-radius:13px}
 body:not(.admin-page) .mobile-quick-tools,body:not(.admin-page) .floating-contact,.home-page .home-direct-contact{display:none!important}
 body:not(.admin-page) .back-to-top{bottom:calc(86px + env(safe-area-inset-bottom,0px));right:12px;width:40px;height:40px;padding:0;border-radius:50%;justify-content:center}
 body:not(.admin-page) .back-to-top>span:last-child{display:none}
 .analytics-consent{bottom:calc(80px + env(safe-area-inset-bottom,0px))!important;max-width:calc(100vw - 24px)!important;left:12px!important;right:12px!important;width:max-content!important}
 .analytics-consent-actions button{min-height:40px!important;min-width:64px!important;font-size:11px!important}
 .analytics-consent-dismiss{min-width:34px;min-height:40px}
 .menu-btn,.site-search-toggle{min-width:44px;min-height:44px}
 .nav-links a,.contact-menu>summary{min-height:44px;display:flex;align-items:center}
 input,select,textarea{font-size:16px!important}
 .faq summary{min-height:52px;line-height:1.6}
 .knowledge-filter,.pagination-link{min-height:44px;display:inline-flex;align-items:center}
 .home-page .hero-about-principles{display:none}
 .home-page .home-hero-photo .home-hero-caption{padding:11px}
 .home-page .home-hero-photo .home-hero-caption strong{font-size:14px}
 .home-page .home-hero-photo .hero-about-more{font-size:12px;min-height:32px;display:flex;align-items:center;margin-top:3px}
 .home-page .home-slide-rate{display:grid;grid-template-columns:1fr;gap:16px}
 .home-page .home-slide-rate .home-slide-copy{grid-column:1;grid-row:1}
 .home-page .home-slide-rate .home-poster-frame{grid-column:1;grid-row:2;width:100%;margin:0;max-width:none}
 .home-page .home-slide-rate .home-poster-frame img{max-height:290px}
 .home-page .home-slide-rate .rate-quick-nav{grid-column:1;grid-row:3;grid-template-columns:1fr 1fr;gap:10px}
 .rate-quick-nav a{min-height:50px;padding:10px 12px;font-size:14px}
 .product-rate-section{grid-template-columns:1fr;gap:16px}
 .product-rate-section>.rate-quick-nav{grid-column:1;grid-row:3;grid-template-columns:1fr 1fr}
 .product-rate-section>.product-rate-poster{grid-column:1;grid-row:2;margin-bottom:0}
 .product-rate-section>[data-rate-product]{grid-column:1;grid-row:4}
 .product-rate-section .product-rate-poster img{max-height:none}
 .home-page .home-help-section{padding:26px 0}
 .home-page .home-help-box{padding:20px 16px;gap:24px;border-radius:20px}
 .home-help-heading{gap:6px;align-items:flex-start}
 .home-help-heading h2{font-size:22px}
 .home-help-heading>a{min-height:36px}
 .home-page .home-help-box .case-card{padding:15px}
 .home-page .home-help-box .case-card h3{font-size:17px}
 .home-page .home-help-box .case-card p{-webkit-line-clamp:2;font-size:15px}
 .home-page .home-help-box .case-card-action{font-size:14px}
 .home-page .home-help-box .faq p{font-size:16px}
 .home-page #lien-he .contact-direct-card{grid-template-columns:1fr!important;padding:24px 18px!important;gap:20px!important}
 .home-page #lien-he .contact-direct-card>.contact-quick-portrait{grid-column:1!important;grid-row:1!important;width:144px!important;height:180px;min-height:0!important;max-height:180px!important;justify-self:center}
 .home-page #lien-he .contact-direct-card>.contact-quick-copy{grid-column:1!important;grid-row:2!important;width:100%}
 .home-page #lien-he .contact-quick-copy>h2{font-size:25px;margin:12px 0}
 .home-page #lien-he .contact-quick-copy>p{font-size:16px}
 .home-page #lien-he .service-contact-actions{display:grid;grid-template-columns:1fr;gap:10px}
 .home-page #lien-he .service-contact-actions .btn{width:100%;min-height:48px;font-size:16px}
 .home-page #lien-he .contact-feedback{grid-column:1;grid-row:3;max-width:100%;padding:16px}
 .home-page .contact-feedback .feedback-card img,.home-page .contact-feedback .feedback-open{height:260px;max-height:260px}
 .home-page .article-grid .article-cover-title{font-size:19px}
}
@media(prefers-reduced-motion:reduce){.rate-quick-nav a{transition:none}}
