/* STROJIZANAJEM.SI: potrjen spletni prikaz nagradne igre (23.11.2026).
   Obstoječe spletne strani, JS, SMTP, arhiv in engine ostanejo nedotaknjeni.
   Desktop hero uporablja odobren praznični motiv; za mobile živo HTML besedilo. */
.contest-page {overflow:hidden;background:#f7f8f8;color:#1a2025}
.contest-hero {position:relative;background:#141a1e;line-height:0;overflow:hidden}
.contest-approved-art {width:100%;height:30.794vw;background-image:url('../img/nagradna-igra/banner-potrjen.webp');background-repeat:no-repeat;background-position:center center;background-size:100% 100%}
.contest-hero-mobile {display:none}
.contest-hero-fb {position:absolute;left:4.6%;top:75%;width:12%;height:17%;border-radius:10px;z-index:2;cursor:pointer}
.contest-hero-fb:focus-visible {outline:4px solid #ffc21c!important;outline-offset:-4px}
.contest-form-section {position:relative;background:linear-gradient(180deg,#f9fafb 0,#f1f3f4 100%);padding:0 0 64px}
.contest-form-section>.shell {width:min(calc(100% - 104px),1434px);max-width:none}
.contest-form-wrap {position:relative;z-index:1;background:radial-gradient(ellipse at top,#fff 45%,#fafafa 100%);border:1px solid #e6e8ea;box-shadow:0 15px 46px #111c2230;border-radius:28px 28px 18px 18px;min-height:360px;padding:11px 6.7% 16px;overflow:visible;margin:-1px auto 0}
.contest-form-wrap>* {position:relative;z-index:3}
.contest-ribbon {position:absolute;z-index:4;top:-12px;left:-6px;width:180px;max-width:17%;height:auto;pointer-events:none;filter:drop-shadow(0 6px 5px #8a0c183b)}
.contest-decoration {position:absolute;pointer-events:none;z-index:2;height:auto;object-fit:contain;opacity:.98}
.contest-decoration-left {width:173px;max-width:17%;left:-54px;bottom:-20px}
.contest-decoration-right {width:196px;max-width:17%;right:-45px;bottom:-18px}
.contest-form-head {display:flex;align-items:center;justify-content:center;gap:26px;margin:0 0 13px;border:0;padding:0;min-height:38px;text-align:center;white-space:nowrap}
.contest-form-head .contest-head-rule {display:block;flex:1 1 130px;max-width:240px;height:3px;background:#ffbc00}
.contest-form-head h2 {font-weight:900;font-size:clamp(19px,2.25vw,35px);margin:0;color:#12171b;letter-spacing:-.047em;text-transform:uppercase;line-height:1.16}
.contest-gift-icon {color:#f2b400;flex:0 0 auto;width:36px;height:38px}
.contest-flash {margin:0 0 16px;border-radius:7px;padding:12px 16px;font-size:13px;line-height:1.5;background:#f0faed;border-left:4px solid #3b9b43;color:#214b29}
.contest-flash.failure {border-color:#cc2222;background:#fff0f0;color:#921820}
.contest-form {position:relative;z-index:3}
.contest-form-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 4%}
.contest-form-grid>label {display:block;font-size:12px;line-height:1.5;font-weight:850;color:#1c2023}
.contest-form-grid>label>span:not(.contest-upload) {color:#c11a1d}
.contest-form input:not([type=checkbox]):not([type=file]),.contest-form select {display:block;margin-top:4px;width:100%;min-width:0;min-height:39px;padding:8px 12px;font:500 12px Montserrat,Arial,sans-serif;color:#20252a;background:#f7f7f7;border:1px solid #c6cbce;border-radius:7px;outline-offset:3px}
.contest-form input:focus,.contest-form select:focus {border-color:#e1b000;outline:2px solid #ffe17d}
.contest-form input::placeholder {color:#8b9398}
.contest-upload {position:relative;display:flex;margin-top:4px;align-items:center;gap:9px;min-width:0;min-height:39px;padding:7px 11px;border:1px solid #c6cbce;background:#f7f7f7;border-radius:7px;font-size:12px;line-height:1.3;font-weight:650;color:#2d3439;cursor:pointer}
.contest-upload .contest-upload-icon {font-size:19px;line-height:1;color:#272d31;flex:0 0 auto}
.contest-upload #contest-filename {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#343b40}
.contest-upload input {position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.contest-help {margin:7px 0 10px;color:#56636c;font-size:10px;line-height:1.5}
.contest-help a {text-decoration:underline;font-weight:800}
.contest-consent {display:flex!important;flex-direction:row!important;align-items:flex-start!important;gap:9px!important;font-size:12px!important;font-weight:600!important;line-height:1.45!important;color:#24292e!important}
.contest-consent input {width:19px;height:19px;margin:1px 2px 0 0;accent-color:#edb900;flex:0 0 auto}
.contest-consent span {color:#24292e!important}
.contest-consent span b {color:#c61a1d}
.contest-consent a,.contest-smallprint a {text-decoration:underline;color:#b98400;font-weight:800}
.contest-submit-row {display:flex;align-items:center;justify-content:center;gap:27px;margin:11px 0 2px}
.contest-submit {display:inline-flex;align-items:center;justify-content:center;gap:16px;border:none;border-radius:999px;min-height:54px;padding:13px 40px;background:linear-gradient(180deg,#ffd01f,#ffbc00);color:#13171a;font:900 clamp(14px,1.45vw,21px) Montserrat,Arial,sans-serif;text-transform:uppercase;box-shadow:0 5px 13px #4e39003a;white-space:nowrap;transition:transform .17s,box-shadow .17s}
.contest-submit span {font-size:1.35em;line-height:1}
.contest-submit:hover {transform:translateY(-2px);box-shadow:0 7px 17px #8c650052}
.contest-submit-row p {border-left:1px solid #7e858a;padding-left:22px;max-width:235px;font-weight:700;font-size:11px;line-height:1.35;margin:0;color:#293136}
.contest-smallprint {margin:13px 0 0;padding:12px 0 0;border-top:1px solid #edf0f0;font-size:10px;line-height:1.6;color:#69757b;text-align:center}
.contest-closed {padding:26px 20px;background:#f6f7f8;text-align:center;border-radius:8px}
.contest-closed h3 {font-size:21px;margin-bottom:8px}
.contest-closed p {font-size:13px;margin:0}
.contest-honeypot {position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.contest-form input[type=hidden] {display:none!important}
@media(min-width:1537px){.contest-approved-art{aspect-ratio:1536/473;background-size:cover}}
@media(max-width:1100px) and (min-width:761px){.contest-form-section>.shell{width:calc(100% - 78px)}.contest-form-wrap{padding:18px 6% 24px}.contest-form-head{gap:16px}.contest-ribbon{width:145px}.contest-decoration-left,.contest-decoration-right{max-width:16%}.contest-submit{padding:12px 26px;min-height:50px;font-size:15px}}
@media(max-width:760px){
 .contest-hero{line-height:1.2}
 .contest-approved-art,.contest-hero-fb{display:none}
 .contest-hero-mobile{display:flex;flex-direction:column;background:#141b20;color:#fff;position:relative}
 .contest-hero-mobile:before{content:'';position:absolute;inset:0 0 auto;height:17px;background:repeating-linear-gradient(100deg,transparent 0 19px,#e63946 19px 23px,transparent 23px 44px,#eab308 44px 48px,transparent 48px 66px,#11bb73 66px 70px,transparent 70px 96px);filter:drop-shadow(0 0 8px #ffc319);opacity:.85;pointer-events:none}
 .contest-hero-mobile-copy{padding:30px 22px 14px;background:radial-gradient(ellipse at 70% 15%,#293138,#11171b);position:relative;z-index:1}
 .contest-mobile-eyebrow{font-weight:900;font-size:12px;font-style:italic;color:#efeff0;margin-bottom:10px}
 .contest-mobile-title{font-weight:950;font-size:clamp(30px,8.6vw,61px);line-height:.99;font-style:italic;letter-spacing:-.05em;text-shadow:0 3px 8px #0006}
 .contest-mobile-title strong{color:#ffbd00}
 .contest-mobile-date{margin-top:12px;font-weight:850;font-size:15px}
 .contest-mobile-prize{margin:12px -8px 7px;padding:12px 10px;background:#ffbd00;color:#15191c;font-weight:1000;font-size:clamp(35px,10vw,65px);line-height:1;transform:rotate(-1deg);display:flex;align-items:center;gap:8px}
 .contest-mobile-prize span{font-size:clamp(15px,3.6vw,25px);line-height:1.1}
 .contest-hero-mobile-copy p{margin:4px 0;font-size:14px;font-weight:800;color:#fff}
 .contest-hero-mobile-copy .contest-mobile-instructions{font-size:12px;font-weight:700;line-height:1.45;color:#e6e7e7;margin-top:12px}
 .contest-hero-mobile img{display:block;width:100%;height:auto;max-height:370px;object-fit:cover;object-position:50% 37%}
 .contest-form-section>.shell{width:calc(100% - 24px)}
 .contest-form-wrap{border-radius:20px;padding:20px 18px 26px}
 .contest-ribbon{width:90px;max-width:23%;left:-8px;top:-11px}
 .contest-decoration-left,.contest-decoration-right{max-width:21%;opacity:.65;bottom:-19px}
 .contest-decoration-left{left:-19px}.contest-decoration-right{right:-20px}
 .contest-form-head{gap:9px;margin-bottom:24px;padding:0 0 0 29px;white-space:normal}
 .contest-form-head h2{font-size:clamp(17px,4.8vw,24px)}
 .contest-form-head .contest-head-rule{min-width:9px}
 .contest-gift-icon{width:28px;height:28px}
 .contest-form-grid{grid-template-columns:1fr;gap:13px}
 .contest-form-grid>label{font-size:12px}
 .contest-form input:not([type=checkbox]):not([type=file]),.contest-form select,.contest-upload{min-height:46px;font-size:13px}
 .contest-help{margin:10px 0 18px}
 .contest-consent{font-size:11px!important}
 .contest-submit-row{flex-direction:column;gap:13px}
 .contest-submit{width:100%;max-width:460px;white-space:normal;text-align:center;font-size:13px;padding:13px 14px}
 .contest-submit-row p{border-left:0;border-top:1px solid #c2c5c6;padding:11px 0 0;text-align:center;max-width:none;font-size:11px}
 .contest-smallprint{font-size:10px}
}
@media(max-width:385px){.contest-mobile-title{font-size:clamp(26px,8vw,32px)}.contest-mobile-prize{font-size:32px}.contest-form-head h2{font-size:16px}}
@media(prefers-reduced-motion:reduce){.contest-submit{transition:none}}
