/* SM.CZ R6-518 r6518a */

/* Návrh k odsouhlasení: pouze lokální soubor; žádná změna živého webu. */
#hp-ratings,#hp-ratings *{box-sizing:border-box}
#hp-ratings{background:#eaf2f3;padding:56px 0 36px;color:#1d4e59;overflow:hidden;border-top:0}
#hp-ratings .hp-inner{width:calc(100% - 40px);max-width:1040px;margin:auto}
#hp-ratings .hp-heading{text-align:left;margin-bottom:30px;display:block;height:auto;background:none}
#hp-ratings h2{font-size:40px;line-height:1.15;font-weight:700;margin:0 0 14px;color:#1d4e59;text-transform:none;padding:0;background:none}
#hp-ratings .hp-heading p{font-size:18px;line-height:1.55;margin:0;color:#1d4e59}
#hp-ratings .hp-track{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;align-items:stretch}
#hp-ratings .hp-track::-webkit-scrollbar{display:none}
#hp-ratings .hp-rating{flex:0 0 calc((100% - 40px)/3);width:calc((100% - 40px)/3);background:#fff;padding:24px;scroll-snap-align:start;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;min-width:0;position:relative}
#hp-ratings .hp-rating:before,#hp-ratings .hp-rating:after{display:none!important;content:none!important}
#hp-ratings .hp-comment{font-size:16px;line-height:1.6;font-style:normal;color:#253d43;margin:0 0 24px;padding:0;flex:1}
#hp-ratings .hp-client{font-size:14px;line-height:1.5;margin:0 0 22px}
#hp-ratings .hp-client strong,#hp-ratings .hp-client span{display:block}
#hp-ratings .hp-client span{font-size:13px;color:#54696e}
#hp-ratings .hp-broker{display:flex;align-items:center;gap:12px;margin-bottom:14px}
#hp-ratings .hp-broker img{width:48px;height:48px;border-radius:50%!important;object-fit:cover;object-position:50% 15%;margin:0;flex-shrink:0}
#hp-ratings .hp-broker-name{font-size:15px;font-weight:700;color:#1d4e59;text-decoration:none!important;background:none!important;cursor:default!important;line-height:1.5}
html body #hp-ratings .hp-broker img{cursor:default!important}
#hp-ratings .hp-scores{display:grid;grid-template-columns:1fr 142px;gap:5px 10px;font-size:14px;line-height:1.4;align-items:center}
#hp-ratings .hp-scores>div{text-align:right;display:flex;justify-content:flex-end;gap:3px;color:#1d4e59;font-size:19px;line-height:1}
#hp-ratings .hp-scores .off{color:#d3dfe1}
#hp-ratings .hp-controls{display:flex;align-items:center;justify-content:center;gap:24px;margin-top:24px}
#hp-ratings button{border:1px solid #1d4e59;border-radius:0;background:transparent;color:#1d4e59;box-shadow:none;cursor:pointer;width:40px;height:38px;padding:0;font:24px/1 sans-serif;display:flex;align-items:center;justify-content:center;min-width:0}
#hp-ratings button:focus-visible{outline:2px solid #1d4e59;outline-offset:3px}
#hp-ratings button:disabled{opacity:.3;cursor:default}
#hp-ratings .hp-dots{display:flex;gap:8px;align-items:center}
#hp-ratings .hp-dots button{width:8px;height:8px;border:0;background:#b6cccf}
#hp-ratings .hp-dots button[aria-current=true]{background:#1d4e59}
@media(max-width:767px){#hp-ratings{padding:36px 0 28px}#hp-ratings .hp-inner{width:calc(100% - 40px)}#hp-ratings h2{font-size:32px}#hp-ratings .hp-heading{margin-bottom:24px}#hp-ratings .hp-heading p{font-size:15px}#hp-ratings .hp-heading p>span:last-child{display:block}#hp-ratings .hp-sep{display:none}#hp-ratings .hp-track{margin-right:-20px;gap:14px;padding-right:20px}#hp-ratings .hp-rating{flex-basis:calc(100% - 46px);width:calc(100% - 46px);padding:22px}#hp-ratings .hp-scores{grid-template-columns:1fr 136px;gap:6px}#hp-ratings .hp-scores>div{font-size:18px}#hp-ratings .hp-comment{font-size:16px}#hp-ratings .hp-dots{gap:6px}#hp-ratings .hp-controls{gap:16px}}

html body #hp-ratings header.hp-heading{background:transparent!important}html body #hp-ratings .hp-broker img:not(#hpAv1):not(#hpAv2):not(#hpAv3){border-radius:50%!important}

/* Návrh t1460u: ovládání podle stávajícího heroSlider (.hs-arrow/.hs-dots/.hs-dot). */
#hp-ratings .hp-stage{position:relative;padding:0}
#hp-ratings .hp-stage button.hs-arrow{position:absolute;top:50%;transform:translateY(-50%);width:30px;height:56px;min-width:30px;padding:0;border:0!important;border-radius:0;background:transparent!important;background-image:none!important;color:#1d4e59;font:400 40px/1 sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:2;opacity:1;box-shadow:none}
#hp-ratings .hp-stage button.hs-prev{left:-40px}
#hp-ratings .hp-stage button.hs-next{right:-40px}
#hp-ratings .hp-stage button.hs-arrow:disabled{opacity:.3}
#hp-ratings .hp-controls{display:block;margin-top:10px}
#hp-ratings .hp-dots.hs-dots{display:flex;justify-content:center;align-items:center;flex-wrap:nowrap;gap:0;margin-top:0;padding:0 2px}
#hp-ratings .hp-dots button.hs-dot{display:flex;align-items:center;justify-content:center;width:20px;height:32px;padding:0;border:0;background:transparent!important;border-radius:0;cursor:pointer;flex:0 0 20px;min-width:0}
#hp-ratings .hp-dots button.hs-dot:before{content:"";display:block;width:10px;height:10px;border:1px solid #1d4e59;box-sizing:border-box;background:transparent}
#hp-ratings .hp-dots button.hs-dot[aria-current="true"]:before{background:#1d4e59}
#hp-ratings .hp-dots button.hs-dot:focus-visible{outline:2px solid #1d4e59;outline-offset:2px}
@media(max-width:767px){#hp-ratings .hp-stage button.hs-prev{left:-20px}#hp-ratings .hp-stage button.hs-next{right:-20px}#hp-ratings .hp-stage button.hs-arrow{width:20px;min-width:20px;font-size:34px}}

/* R6-511: client identity right aligned; no artificially pushed-down signature. */
html body #hp-ratings .hp-comment{flex:0 0 auto!important;margin:0 0 14px!important}
html body #hp-ratings .hp-client{text-align:right!important;margin:auto 0 20px!important}
html body #hp-ratings .hp-broker{justify-content:flex-start!important}
/* R6-513: uniform minimal height across all pages, aligned footer blocks. */
html body #hp-ratings .hp-track{align-items:stretch!important;overflow-y:hidden}
/* R6-513: invisible trailing space makes incomplete final pages reachable without duplicate cards. */
html body #hp-ratings .hp-track.hp-tail::after{content:"";display:block;flex:0 0 var(--hp-tail,0px);height:1px}

@media(prefers-reduced-motion:reduce){#hp-ratings .hp-track{scroll-behavior:auto!important}}

/* R6-641 t1821u: rating carousel arrows ~2x icon, >=44x44 hit target; petroleum color kept */
#hp-ratings .hp-stage button.hs-arrow{width:44px;min-width:44px;height:44px;min-height:44px;font-size:80px;line-height:1;color:#1d4e59}
#hp-ratings .hp-stage button.hs-prev{left:-48px}
#hp-ratings .hp-stage button.hs-next{right:-48px}
@media(max-width:767px){#hp-ratings .hp-stage button.hs-arrow{width:44px;min-width:44px;height:44px;min-height:44px;font-size:68px}#hp-ratings .hp-stage button.hs-prev{left:-8px}#hp-ratings .hp-stage button.hs-next{right:-8px}}
