/* Premium visual only: Foto takmicenja page */
body.page-id-60380 .fi-contests,body.page-id-60380 .fi-contests *{box-sizing:border-box}
body.page-id-60380 .fi-contests{--fi-blue:#1764dc;--fi-ink:#17263b;--fi-muted:#617086;--fi-line:#e2e8f1;--fi-soft:#f5f7fc;background:var(--fi-soft);color:var(--fi-ink);overflow-wrap:break-word}
body.page-id-60380 .fi-contests-hero{position:relative;overflow:hidden;background:linear-gradient(115deg,rgba(6,19,37,.91),rgba(8,29,54,.68)),linear-gradient(130deg,#142c46,#55768a 65%,#a58a69);color:#fff}
body.page-id-60380 .fi-contests-hero-inner{max-width:1180px;margin:auto;padding:60px 30px 64px}
body.page-id-60380 .fi-contests-hero-inner>span{font-size:12px;font-weight:800;letter-spacing:.19em;color:#c4d9ff}
body.page-id-60380 .fi-contests-hero h2{font-weight:800;font-size:clamp(36px,5.4vw,64px);line-height:1.13;letter-spacing:-.045em}
body.page-id-60380 .fi-contests-hero p{max-width:690px;color:#e3ebf7;line-height:1.65}
body.page-id-60380 .fi-contests-body{max-width:1180px;margin:auto;padding:34px 24px 84px}
body.page-id-60380 .fi-contests-tabs{display:flex;gap:9px;margin-bottom:27px;padding:7px;background:#fff;border:1px solid var(--fi-line);border-radius:17px;box-shadow:0 8px 28px rgba(25,49,80,.05)}
body.page-id-60380 .fi-contests-tabs a{display:flex;flex:1;align-items:center;justify-content:center;min-height:48px;padding:10px 12px;border:0;border-radius:11px;background:transparent;color:#40526b;font-weight:750;text-decoration:none;text-align:center}
body.page-id-60380 .fi-contests-tabs a.active,body.page-id-60380 .fi-contests-tabs a[aria-current=page]{background:#1764dc;color:#fff;box-shadow:0 5px 14px rgba(23,100,220,.19)}
body.page-id-60380 .fi-contests-grid{grid-template-columns:minmax(0,1fr) minmax(240px,300px);gap:24px;align-items:start}
body.page-id-60380 .fi-contests-list{min-width:0}
body.page-id-60380 .fi-contest-card,body.page-id-60380 .fi-contests-sidebar,body.page-id-60380 .fi-contest-detail{border:1px solid #e0e7f0;border-radius:22px;background:#fff;box-shadow:0 14px 40px rgba(18,43,76,.065);overflow:hidden}
body.page-id-60380 .fi-contest-card{display:grid;grid-template-columns:minmax(0,40%) minmax(0,1fr);min-height:285px;align-items:stretch}
/* Image fills the cover; no large blank gray stripe above it */
body.page-id-60380 .fi-contest-card .fi-contest-cover{position:relative;display:block;min-width:0;min-height:285px;height:100%;overflow:hidden;background:#e8edf4}
body.page-id-60380 .fi-contest-card .fi-contest-cover img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center;display:block;transition:transform .35s ease}
body.page-id-60380 .fi-contest-cover:hover img{transform:scale(1.025)}
body.page-id-60380 .fi-contest-card-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-width:0;padding:clamp(23px,3vw,32px)}
body.page-id-60380 .fi-contest-card h3{font-size:clamp(26px,3.2vw,37px);line-height:1.16;letter-spacing:-.03em;margin:13px 0 12px;color:var(--fi-ink)}
body.page-id-60380 .fi-contest-card p{font-size:15px;line-height:1.65;margin:0 0 14px;color:#4d5c71;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;overflow:hidden}
body.page-id-60380 .fi-contest-card small{margin:0 0 18px;color:var(--fi-muted);line-height:1.5}
body.page-id-60380 .fi-contest-pill{display:inline-flex;align-items:center;padding:7px 13px;border-radius:999px;background:#e3f7ee;color:#11714d;font-size:12px;font-weight:800;letter-spacing:.07em}
body.page-id-60380 .fi-contest-btn,body.page-id-60380 .fi-contest-submit button[type=submit]{display:inline-flex;align-items:center;justify-content:center;max-width:100%;min-height:47px;background:#1764dc;color:#fff!important;border:0;border-radius:12px;padding:12px 21px;font-weight:800;text-decoration:none;box-shadow:0 6px 16px rgba(23,100,220,.18);cursor:pointer}
body.page-id-60380 .fi-contest-btn:hover,body.page-id-60380 .fi-contest-submit button[type=submit]:hover{background:#1055c2}
body.page-id-60380 .fi-contests-sidebar{padding:26px}
body.page-id-60380 .fi-contests-sidebar h3{padding-bottom:12px;border-bottom:1px solid #edf0f5;font-size:20px}
body.page-id-60380 .fi-contest-detail{padding:clamp(22px,4vw,42px)}
body.page-id-60380 .fi-contest-detail>h2{font-size:clamp(32px,4.5vw,50px);line-height:1.18;margin-bottom:24px}
body.page-id-60380 .fi-contest-detail>img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;background:#f1f3f7;border-radius:16px}
body.page-id-60380 .fi-contest-description{font-size:16px;line-height:1.8;color:#35445b}
body.page-id-60380 .fi-contest-submit{padding:clamp(18px,3vw,30px);background:#f5f8fd;border:1px solid #dfe7f2;border-radius:18px}
body.page-id-60380 .fi-contest-submit label{line-height:1.55}
body.page-id-60380 .fi-contest-submit input:not([type=checkbox]):not([type=radio]),body.page-id-60380 .fi-contest-submit select,body.page-id-60380 .fi-contest-submit textarea{max-width:100%;border:1px solid #c7d1df;border-radius:10px}
body.page-id-60380 .fi-contest-gallery{gap:18px}
body.page-id-60380 .fi-contest-photo{min-width:0;padding:13px;border:1px solid var(--fi-line);border-radius:16px;box-shadow:0 6px 18px rgba(18,43,76,.04)}
body.page-id-60380 .fi-contest-photo img{width:100%;height:220px;object-fit:contain;background:#f0f3f7;border-radius:11px}
body.page-id-60380 .fi-contests-notice{background:#e7f7ee;color:#176443;border:1px solid #b9e4cd}
body.page-id-60380 .fi-contests :is(a,button,input,select,textarea):focus-visible{outline:3px solid #7caaff;outline-offset:3px}
@media(max-width:850px){body.page-id-60380 .fi-contests-grid{grid-template-columns:1fr}body.page-id-60380 .fi-contest-card{grid-template-columns:1fr}body.page-id-60380 .fi-contest-card .fi-contest-cover{height:260px;min-height:260px}body.page-id-60380 .fi-contests-sidebar{margin-top:4px}}
@media(max-width:600px){body.page-id-60380 .fi-contests-hero-inner{padding:42px 20px}body.page-id-60380 .fi-contests-body{padding:20px 12px 60px}body.page-id-60380 .fi-contests-tabs{gap:4px;padding:5px;overflow-x:auto}body.page-id-60380 .fi-contests-tabs a{flex:0 0 auto;min-height:44px;padding:9px 11px;font-size:13px}body.page-id-60380 .fi-contest-card-copy{padding:22px}body.page-id-60380 .fi-contest-card .fi-contest-cover{height:220px;min-height:220px}body.page-id-60380 .fi-contest-detail{padding:18px}body.page-id-60380 .fi-contest-photo img{height:240px}body.page-id-60380 .fi-contest-btn,body.page-id-60380 .fi-contest-submit button[type=submit]{width:100%}}
@media(prefers-reduced-motion:reduce){body.page-id-60380 .fi-contest-cover img{transition:none}}
