/* HOME-617: approved public landing arrangement; original illustration assets. */
.home617 picture[data-reward-fallback]{display:block;flex:none}
.home617 picture[data-reward-fallback]>img{display:block;max-width:100%;object-fit:contain}
.home617 .reward-example-art{background:none;aspect-ratio:auto;display:block;width:100%;height:auto;overflow:hidden;flex:none}
.home617 .reward-example-art>picture{width:100%}
.home617 .reward-example-art>picture>img{display:block;width:100%;height:auto;border-radius:inherit}
.home617 .reward-example-art.reward-example-cinema{position:relative;height:0;padding-top:100%;background:radial-gradient(ellipse,#fff6d9,#e7f6ff)}
.home617 .reward-example-cinema>img{position:absolute;inset:0;display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:contain;padding:8px}
.home617 .gift-wrap>picture{width:230px}
.home617 .gift-wrap>picture>img{width:100%;height:auto}
.home617 .rewards610-custom>picture{width:64px;height:64px}
.home617 .rewards610-custom>picture>img{width:100%;height:100%}
.home617 .rewards615-teacher-icon>picture{width:100%;height:100%}
.home617 .rewards615-teacher-icon>picture>img{width:100%;height:100%}
.home617 .rewards610-values dt>picture{width:28px;height:28px}
.home617 .rewards610-values dt>picture>img{width:100%;height:100%}
.home617 .rewards610-method>picture{width:120px;height:120px}
.home617 .rewards610-method>picture>img{width:100%;height:100%}
.home617 .reward-examples{padding-top:24px;padding-bottom:8px}
.home617 .reward-examples-heading{margin-bottom:18px}
.home617 .reward-example-grid{gap:16px}
.home617 .reward-example-grid>li{padding:10px 10px 12px}
.home617 .reward-example-grid h4{font-size:21px;min-height:48px;margin:10px 0 8px}
.home617 .rewards614-required{font-size:11px;margin-bottom:6px}
.home617 .rewards610-values{gap:6px}
.home617 .rewards610-values>div{display:flex;align-items:center;justify-content:center;gap:5px;padding:6px 4px}
.home617 .rewards610-values dt{display:flex;gap:4px;align-items:center}
.home617 .rewards610-values dt>span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.home617 .rewards610-values dd{font-size:13px;margin:0;white-space:nowrap}
.home617 .rewards617-unit{display:block;font-size:10px;font-weight:600;margin-left:0}
.home617 .rewards610-custom,.home617 .rewards615-teacher{margin-top:12px;padding:12px 18px;gap:14px}
.home617 .rewards610-custom h3,.home617 .rewards615-teacher h3{font-size:25px}
.home617 .rewards610-custom p,.home617 .rewards615-teacher p{font-size:13px}
.home617 .rewards615-teacher-icon{width:64px;height:64px}
.home617 .reward-explanation{padding-top:4px;padding-bottom:18px}
.home617 #reward-details{border:1px solid #bfdceb;border-radius:16px;background:#ffffffb8;overflow:hidden}
.home617 #reward-details>.rewards618-title{padding:14px 20px;font-family:Fredoka,Arial,sans-serif;font-weight:600;font-size:20px;line-height:1.2;margin:0;min-height:52px}
.home617 #reward-details>.reward-methods{padding:4px 16px 0}
.home617 #reward-details>.rewards610-approval{margin:14px 16px 18px}
.home617 .worlds-section.section{padding-top:32px;padding-bottom:40px}
.home617 .worlds-section>.container>.section-heading{margin-bottom:24px}
.home617 #svjetovi .world-grid.area494-grid{max-width:1050px;margin-inline:auto;gap:18px!important}
.home617 .world-showcase{padding:14px 20px;margin-top:22px}
.home617 .world-showcase{scroll-margin-top:24px}
.home617 .world-showcase[hidden]{display:none!important}
.home617 .world-feature-art{height:190px}
.home617 .world-feature-copy>p:not(.eyebrow){margin-top:8px;line-height:1.5}
.home617 .world-feature-copy .button{margin-top:12px}
.home617 .world-thumbnails{padding-top:4px;gap:5px}
.home617 .world-thumb{flex-basis:60px;padding:4px 4px 22px}
.home617 .world-thumb img{height:54px}
.home617 .benefits-section.benefits617{padding-top:38px;padding-bottom:32px}
.home617 .benefits617::before{display:none}
.home617 .benefits617 .section-heading{margin-bottom:24px}
.home617 .benefits617 .section-heading h2{font-size:clamp(28px,3vw,44px)}
.home617 .benefits617 .role-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;max-width:none}
.home617 .benefits617 .role-card{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);align-items:center;border-radius:20px;overflow:hidden;scroll-margin-top:20px}
.home617 .benefits617 .role-image{width:100%;height:auto;aspect-ratio:auto;object-fit:contain;padding:8px;border-radius:18px;background:transparent}
.home617 .benefits617 .role-body{padding:18px 14px 18px 4px;min-width:0;display:flex;flex-direction:column;align-self:stretch}
.home617 .benefits617 .role-body h3{font-size:26px;line-height:1.15;margin:0}
.home617 .benefits617 .benefit-list{margin:12px 0;gap:8px}
.home617 .benefits617 .benefit-list li{font-size:12px;line-height:1.45;padding-left:23px}
.home617 .benefits617 .benefit-list li::before{width:16px;height:16px;top:1px}
.home617 .benefits617-detail-link{color:#19375a;text-decoration:none}
.home617 .benefits617-detail-link:hover{text-decoration:underline;text-underline-offset:3px}
.home617 .benefits617-actions{margin-top:auto}
.home617 .benefits617 .role-link{display:flex;justify-content:center;align-items:center;gap:8px;min-height:44px;margin:0;padding:9px 11px;border:1px solid #0573c8;border-radius:99px;background:linear-gradient(#00aeef,#006dcc);color:#fff;font-size:12px;line-height:1.35;text-align:center;box-shadow:0 4px 9px #0377c522}
.home617 .benefits617 .role-link>span{font-size:18px;flex:none}
.home617 .benefits617 .role-link:hover{background:#096bcf}
.home617 .benefits617 .small-link{display:flex;justify-content:center;align-items:center;margin:2px 0 0;min-height:36px;font-size:11px;line-height:1.4;text-align:center}
.home617 .benefits617 .teacher502-details{margin-top:18px}
.home617 .faq-section.section{padding-block:32px}
@media(min-width:1101px){
 .home617 .rewards-inner{padding-block:22px;grid-template-columns:180px minmax(0,max-content);justify-content:center;gap:34px}
 .home617 .gift-wrap>picture{width:180px}
 .home617 .rewards-copy h2{font-size:clamp(34px,3.8vw,52px)}
 .home617 .rewards-copy>p:not(.eyebrow){font-size:15px;line-height:1.6}
 .home617 .rewards-copy .button{margin-top:16px;min-height:44px;padding:10px 20px;font-size:13px}
 .home617 .reward-example-art>picture>img,.home617 .reward-example-cinema>img{height:190px;object-fit:contain;background:#f1f9ff}
 .home617 .reward-example-art.reward-example-cinema{height:190px;padding-top:0}
}
@media(max-width:1100px){
 .home617 .rewards610-values>div{flex-direction:column;gap:2px}
}
@media(max-width:1100px) and (min-width:701px){
 .home617 .benefits617 .role-grid{grid-template-columns:1fr;max-width:620px}
 .home617 .benefits617 .role-card{grid-template-columns:190px minmax(0,1fr)}
 .home617 .benefits617 .role-body{padding:18px 22px}
 .home617 .benefits617 .role-link{width:max-content;max-width:100%;min-width:190px}
 .home617 .benefits617 .small-link{justify-content:flex-start}
}
@media(max-width:700px){
 .home617 .benefits617 .role-grid{grid-template-columns:1fr;max-width:520px;gap:14px}
 .home617 .benefits617 .role-card{grid-template-columns:32% minmax(0,1fr)}
 .home617 .benefits617 .role-body{padding:16px 15px 16px 5px}
 .home617 .benefits617 .role-body h3{font-size:26px}
 .home617 .benefits617 .benefit-list li{font-size:12px}
 .home617 .benefits617 .section-heading h2{font-size:30px}
 .home617 .rewards610-custom,.home617 .rewards615-teacher{gap:10px;padding:12px}
 .home617 .rewards610-custom>picture,.home617 .rewards615-teacher-icon{width:54px;height:54px}
 .home617 .rewards610-custom h3,.home617 .rewards615-teacher h3{font-size:23px}
 .home617 .rewards610-custom p,.home617 .rewards615-teacher p{font-size:12px}
 .home617 .rewards610-method>picture{width:90px;height:96px}
}
@media(max-width:600px){
 .home617 .gift-wrap>picture{width:170px}
 .home617 .reward-examples{padding-top:22px}
 .home617 .reward-example-grid{gap:12px}
 .home617 .reward-example-grid>li{padding:8px}
 .home617 .reward-example-grid h4{font-size:18px;min-height:44px}
 .home617 .rewards614-required{font-size:10px;margin:0 0 6px}
 .home617 .rewards610-values>div{flex-direction:column;gap:2px;padding:5px 1px}
 .home617 .rewards610-values dt>picture{width:28px;height:28px}
 .home617 .rewards610-values dd{font-size:13px;letter-spacing:-.2px}
 .home617 .rewards617-unit{display:block;font-size:10px;margin-left:0;letter-spacing:0}
 .home617 .rewards613-note{font-size:11px;line-height:1.5}
 .home617 #reward-details>.rewards618-title{font-size:19px;padding:13px 14px}
 .home617 #reward-details>.reward-methods{padding-inline:8px}
 .home617 .worlds-section.section{padding-top:24px;padding-bottom:26px}
 .home617 .worlds-section>.container>.section-heading{margin-bottom:20px}
 .home617 #svjetovi .world-grid.area494-grid{gap:12px!important}
 .home617 .world-feature-art{height:170px}
 .home617 .world-showcase{padding:12px 8px}
 .home617 .world-feature-copy h3{font-size:27px}
 .home617 .world-feature-copy>p:not(.eyebrow){font-size:12px}
 .home617 .world-thumb{flex-basis:56px}
 .home617 .world-thumb img{height:46px}
 .home617 .benefits-section.benefits617{padding-top:28px}
}
/* Real images provide their own height; keep subject cards usable in older Safari too. */
@supports not (aspect-ratio:1){.home617 #svjetovi .area494-card{height:0!important;padding-top:150%!important}}

/* HOME-618: ellipsis indicates more benefits beyond each short list. */
.home617 .benefits617 .benefits618-more{margin:-4px 0 12px;padding-left:23px;color:#42627a;font-size:24px;line-height:1;font-weight:700}

/* HOME-619: a dark gradient keeps reward copy readable over the illustrated sky. */
.home617 #nagrade .rewards-copy{
 padding:24px 30px;
 border:1px solid rgba(173,220,255,.22);
 border-radius:24px;
 background:linear-gradient(115deg,rgba(4,20,62,.94) 0%,rgba(8,36,87,.92) 55%,rgba(15,57,117,.9) 100%);
 box-shadow:0 14px 36px rgba(0,12,44,.22);
}
@media(max-width:600px){
 .home617 #nagrade .rewards-copy{padding:20px 16px;border-radius:20px}
 .home617 #nagrade .rewards-copy h2{font-size:clamp(32px,9.5vw,39px)}
}

/* HOME-620: reuse the existing green benefit check beside each ellipsis. */
.home617 .benefits617 .benefits618-more{position:relative}
.home617 .benefits617 .benefits618-more::before{content:'';position:absolute;top:8px;left:0;width:16px;height:16px;border-radius:50%;background:#16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' fill='none' stroke='white' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px 20px no-repeat;box-shadow:0 2px 4px #16823b16}

/* HOME-627: reserve the adult sign-in row only while the three cards sit side by side. */
@media(min-width:1101px){
 .home617 .benefits617 #djeca .benefits617-actions{padding-bottom:38px}
}
