:root{
    --fs3-navy:#071b2e;
    --fs3-navy-2:#0d2741;
    --fs3-red:#ff1717;
    --fs3-gold:#d9b44a;
    --fs3-ink:#081a2c;
    --fs3-muted:#66717d;
    --fs3-line:#e1e6eb;
    --fs3-bg:#f4f6f8;
}

.fsgk-officials-page,
.fsgk-official-profile-page,
.fsgk-official-not-found{
    background:var(--fs3-bg);
    color:var(--fs3-ink);
}

.fsgk-officials-intro{
    padding:90px 0 42px;
}

.fsgk-officials-intro__heading,
.fsgk-officials-directory__heading,
.fsgk-official-assignments>header{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
}

.fsgk-officials-intro__heading>div,
.fsgk-officials-directory__heading>div,
.fsgk-official-assignments>header>div{
    max-width:760px;
}

.fsgk-officials-intro h1,
.fsgk-officials-directory__heading h2,
.fsgk-official-assignments h2,
.fsgk-official-panel h2,
.fsgk-official-facts h2{
    margin:7px 0 0;
    color:var(--fs3-ink);
    font-size:clamp(34px,4vw,58px);
    font-weight:800;
    line-height:1.04;
    letter-spacing:-.03em;
}

.fsgk-officials-intro p,
.fsgk-officials-directory__heading p,
.fsgk-official-assignments>header p{
    margin:18px 0 0;
    color:var(--fs3-muted);
    font-size:16px;
    line-height:1.75;
}

.fsgk-officials-intro__heading>strong,
.fsgk-officials-directory__heading>strong,
.fsgk-official-assignments>header>strong{
    display:flex;
    min-width:136px;
    min-height:108px;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:20px;
    background:var(--fs3-navy);
    color:#fff;
    font-size:38px;
    line-height:1;
    text-align:center;
}

.fsgk-officials-intro__heading>strong small,
.fsgk-officials-directory__heading>strong small,
.fsgk-official-assignments>header>strong small{
    margin-top:9px;
    color:var(--fs3-gold);
    font-size:10px;
    font-weight:800;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.fsgk-section-kicker{
    display:inline-flex;
    align-items:center;
    gap:10px;
    color:var(--fs3-red);
    font-size:12px;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.fsgk-section-kicker:before{
    content:"";
    width:22px;
    height:2px;
    background:var(--fs3-red);
}

.fsgk-officials-stats{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
    margin-top:42px;
}

.fsgk-officials-stats article{
    display:flex;
    min-height:118px;
    align-items:center;
    gap:18px;
    padding:24px;
    background:#fff;
    border:1px solid var(--fs3-line);
    box-shadow:0 14px 40px rgba(7,27,46,.06);
}

.fsgk-officials-stats i{
    display:grid;
    width:54px;
    height:54px;
    flex:0 0 54px;
    place-items:center;
    background:var(--fs3-red);
    color:#fff;
    font-size:20px;
}

.fsgk-officials-stats b{
    display:block;
    color:var(--fs3-navy);
    font-size:29px;
    line-height:1;
}

.fsgk-officials-stats small{
    display:block;
    margin-top:7px;
    color:var(--fs3-muted);
    font-size:10px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.fsgk-officials-directory{
    padding:34px 0 100px;
}

.fsgk-officials-filter{
    display:grid;
    grid-template-columns:minmax(280px,1.4fr) minmax(170px,.65fr) minmax(190px,.75fr) auto auto;
    gap:14px;
    align-items:end;
    margin-bottom:55px;
    padding:24px;
    background:#fff;
    border:1px solid var(--fs3-line);
    box-shadow:0 18px 48px rgba(7,27,46,.07);
}

.fsgk-officials-filter label{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin:0;
}

.fsgk-officials-filter label>span{
    color:#5d6873;
    font-size:10px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}

.fsgk-officials-filter .is-search>div{
    position:relative;
}

.fsgk-officials-filter .is-search i{
    position:absolute;
    left:17px;
    top:50%;
    color:var(--fs3-red);
    transform:translateY(-50%);
}

.fsgk-officials-filter input,
.fsgk-officials-filter select{
    width:100%;
    height:54px;
    border:1px solid #dce2e8;
    outline:0;
    background:#f8fafb;
    color:var(--fs3-navy);
    font-size:14px;
}

.fsgk-officials-filter input{padding:0 16px 0 46px}
.fsgk-officials-filter select{padding:0 42px 0 15px}

.fsgk-officials-filter input:focus,
.fsgk-officials-filter select:focus{
    border-color:var(--fs3-red);
    background:#fff;
    box-shadow:0 0 0 4px rgba(255,23,23,.08);
}

.fsgk-officials-filter button,
.fsgk-officials-filter>a{
    display:inline-flex;
    height:54px;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:0 24px;
    border:0;
    background:var(--fs3-red);
    color:#fff;
    font-size:12px;
    font-weight:900;
    letter-spacing:.04em;
    text-decoration:none;
    text-transform:uppercase;
}

.fsgk-officials-filter>a{
    background:var(--fs3-navy);
}

.fsgk-officials-filter button:hover,
.fsgk-officials-filter>a:hover{
    background:var(--fs3-gold);
    color:var(--fs3-navy);
}

.fsgk-officials-directory__heading{
    margin-bottom:30px;
}

.fsgk-officials-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:24px;
}

.fsgk-official-card{
    position:relative;
    min-width:0;
    overflow:hidden;
    background:#fff;
    border:1px solid var(--fs3-line);
    box-shadow:0 16px 42px rgba(7,27,46,.08);
    transition:transform .25s ease,box-shadow .25s ease;
}

.fsgk-official-card:hover{
    transform:translateY(-6px);
    box-shadow:0 24px 55px rgba(7,27,46,.14);
}

.fsgk-official-card__media{
    position:relative;
    display:block;
    height:300px;
    overflow:hidden;
    background:linear-gradient(135deg,var(--fs3-navy),#173d5f);
}

.fsgk-official-card__media>img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
}

.fsgk-official-card:hover .fsgk-official-card__media>img{
    transform:scale(1.045);
}

.fsgk-official-card__media>span{
    display:grid;
    width:100%;
    height:100%;
    place-items:center;
    color:#fff;
    font-size:68px;
    font-weight:900;
}

.fsgk-official-card__media>b{
    position:absolute;
    left:0;
    bottom:0;
    display:inline-flex;
    align-items:center;
    gap:9px;
    padding:12px 16px;
    background:var(--fs3-red);
    color:#fff;
    font-size:10px;
    font-weight:900;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.fsgk-official-card__body{
    padding:24px;
}

.fsgk-official-card__body>small{
    color:var(--fs3-gold);
    font-size:10px;
    font-weight:900;
    letter-spacing:.1em;
    text-transform:uppercase;
}

.fsgk-official-card h3{
    margin:8px 0 0;
    font-size:23px;
    font-weight:800;
    line-height:1.18;
}

.fsgk-official-card h3 a{
    color:var(--fs3-navy);
    text-decoration:none;
}

.fsgk-official-card h3 a:hover{color:var(--fs3-red)}

.fsgk-official-card p{
    min-height:44px;
    margin:12px 0 0;
    color:var(--fs3-muted);
    font-size:13px;
    line-height:1.65;
}

.fsgk-official-card__meta{
    display:grid;
    gap:8px;
    margin:18px 0;
    padding:16px 0;
    border-top:1px solid var(--fs3-line);
    border-bottom:1px solid var(--fs3-line);
}

.fsgk-official-card__meta span{
    display:flex;
    align-items:center;
    gap:9px;
    color:#53606c;
    font-size:12px;
}

.fsgk-official-card__meta i{width:15px;color:var(--fs3-red)}

.fsgk-official-card__link{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:46px;
    padding:0 18px;
    background:var(--fs3-navy);
    color:#fff;
    font-size:11px;
    font-weight:900;
    letter-spacing:.05em;
    text-decoration:none;
    text-transform:uppercase;
}

.fsgk-official-card__link:hover{
    background:var(--fs3-red);
    color:#fff;
}

/* Profil službenog lica */
.fsgk-official-profile-hero{
    position:relative;
    padding:155px 0 70px;
    overflow:hidden;
    background:
        linear-gradient(110deg,rgba(4,20,35,.98),rgba(7,27,46,.88)),
        url('../images/page_banner.png') center/cover no-repeat;
    color:#fff;
}

.fsgk-official-profile-hero:after{
    content:"";
    position:absolute;
    right:-110px;
    bottom:-140px;
    width:440px;
    height:440px;
    border:90px solid rgba(217,180,74,.08);
    border-radius:50%;
}

.fsgk-official-profile-hero .container{position:relative;z-index:1}

.fsgk-official-profile-hero nav{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:10px;
    margin-bottom:34px;
    color:rgba(255,255,255,.72);
    font-size:12px;
    font-weight:800;
}

.fsgk-official-profile-hero nav a{color:#fff;text-decoration:none}
.fsgk-official-profile-hero nav a:hover{color:var(--fs3-gold)}
.fsgk-official-profile-hero nav i{font-size:8px;color:var(--fs3-gold)}

.fsgk-official-profile-hero__grid{
    display:grid;
    grid-template-columns:220px minmax(0,1fr) 300px;
    gap:40px;
    align-items:center;
}

.fsgk-official-profile-hero__photo{
    position:relative;
    width:220px;
    height:250px;
    overflow:hidden;
    border:7px solid rgba(255,255,255,.14);
    background:#153651;
}

.fsgk-official-profile-hero__photo img{
    width:100%;height:100%;object-fit:cover;
}

.fsgk-official-profile-hero__photo>span{
    display:grid;width:100%;height:100%;place-items:center;font-size:64px;font-weight:900;
}

.fsgk-official-profile-hero__photo>b{
    position:absolute;right:0;bottom:0;display:grid;width:56px;height:56px;place-items:center;background:var(--fs3-red);color:#fff;font-size:20px;
}

.fsgk-official-profile-hero__copy small{
    color:var(--fs3-gold);font-size:12px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;
}

.fsgk-official-profile-hero__copy h1{
    margin:10px 0 0;color:#fff;font-size:clamp(42px,5vw,72px);font-weight:900;line-height:1;letter-spacing:-.035em;
}

.fsgk-official-profile-hero__copy p{
    margin:18px 0 0;color:rgba(255,255,255,.76);font-size:15px;line-height:1.7;
}

.fsgk-official-profile-hero aside{
    display:grid;gap:12px;
}

.fsgk-official-profile-hero aside>div{
    display:flex;align-items:center;gap:15px;padding:18px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(7px);
}

.fsgk-official-profile-hero aside i{
    display:grid;width:43px;height:43px;flex:0 0 43px;place-items:center;background:var(--fs3-red);color:#fff;
}

.fsgk-official-profile-hero aside small,
.fsgk-official-facts small{
    display:block;color:rgba(255,255,255,.55);font-size:9px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;
}

.fsgk-official-profile-hero aside strong{display:block;margin-top:4px;color:#fff;font-size:14px}

.fsgk-official-profile-page{padding:80px 0 100px}

.fsgk-official-profile-layout{
    display:grid;
    grid-template-columns:minmax(0,1.65fr) minmax(290px,.7fr);
    gap:28px;
    align-items:start;
}

.fsgk-official-profile-layout>div{display:grid;gap:28px}

.fsgk-official-panel,
.fsgk-official-facts,
.fsgk-official-notice{
    background:#fff;
    border:1px solid var(--fs3-line);
    box-shadow:0 16px 42px rgba(7,27,46,.06);
}

.fsgk-official-panel{padding:34px}
.fsgk-official-facts{padding:30px}

.fsgk-official-panel header,
.fsgk-official-facts header{
    padding-bottom:22px;
    border-bottom:1px solid var(--fs3-line);
}

.fsgk-official-panel h2,
.fsgk-official-facts h2{font-size:32px}

.fsgk-official-richtext{
    padding-top:24px;color:#596572;font-size:15px;line-height:1.85;
}

.fsgk-official-role-list{display:grid;gap:12px;padding-top:24px}

.fsgk-official-role-list article{
    display:grid;
    grid-template-columns:48px minmax(0,1fr) auto;
    gap:15px;
    align-items:center;
    padding:16px;
    background:#f6f8fa;
    border-left:4px solid var(--fs3-red);
}

.fsgk-official-role-list article>i{
    display:grid;width:48px;height:48px;place-items:center;background:var(--fs3-navy);color:#fff;
}

.fsgk-official-role-list strong{display:block;color:var(--fs3-navy);font-size:14px}
.fsgk-official-role-list small{display:block;margin-top:3px;color:var(--fs3-muted);font-size:11px}
.fsgk-official-role-list b{color:var(--fs3-gold);font-size:11px}

.fsgk-official-facts>div{
    display:flex;
    align-items:center;
    gap:14px;
    padding:17px 0;
    border-bottom:1px solid var(--fs3-line);
}

.fsgk-official-facts>div:last-child{border-bottom:0}
.fsgk-official-facts>div>i{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;background:var(--fs3-red);color:#fff}
.fsgk-official-facts small{color:#89919a}
.fsgk-official-facts strong{display:block;margin-top:4px;color:var(--fs3-navy);font-size:13px;line-height:1.35}

.fsgk-official-notice{
    margin-top:20px;padding:26px;border-top:5px solid var(--fs3-gold);
}

.fsgk-official-notice>i{color:var(--fs3-gold);font-size:26px}
.fsgk-official-notice h3{margin:12px 0 8px;color:var(--fs3-navy);font-size:21px}
.fsgk-official-notice p{margin:0;color:var(--fs3-muted);font-size:13px;line-height:1.7}

.fsgk-official-assignments{
    margin-top:60px;
}

.fsgk-official-assignments>header{
    margin-bottom:25px;
}

.fsgk-official-assignments h2{font-size:42px}
.fsgk-official-assignment-list{display:grid;gap:13px}

.fsgk-official-assignment{
    display:grid;
    grid-template-columns:190px minmax(0,1fr) 180px 52px;
    gap:18px;
    align-items:center;
    min-height:128px;
    padding:20px;
    background:#fff;
    border:1px solid var(--fs3-line);
    box-shadow:0 12px 30px rgba(7,27,46,.05);
}

.fsgk-official-assignment__date{
    display:grid;gap:5px;padding-right:16px;border-right:1px solid var(--fs3-line);
}

.fsgk-official-assignment__date strong{color:var(--fs3-navy);font-size:14px}
.fsgk-official-assignment__date small{color:var(--fs3-muted);font-size:11px;line-height:1.35}
.fsgk-official-assignment__date span{width:max-content;padding:5px 8px;background:#eef2f5;color:var(--fs3-navy);font-size:9px;font-weight:900;text-transform:uppercase}

.fsgk-official-assignment__contest{
    display:grid;grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);gap:15px;align-items:center;
}

.fsgk-official-assignment__contest>div:not(.fsgk-official-assignment__score){
    display:flex;align-items:center;gap:10px;min-width:0;
}

.fsgk-official-assignment__contest .is-away{justify-content:flex-end;text-align:right}
.fsgk-official-assignment__contest>div>span{display:grid;width:44px;height:44px;flex:0 0 44px;place-items:center;background:#f1f4f6;border:1px solid var(--fs3-line)}
.fsgk-official-assignment__contest img{width:34px;height:34px;object-fit:contain}
.fsgk-official-assignment__contest>div>strong{color:var(--fs3-navy);font-size:13px;line-height:1.25}

.fsgk-official-assignment__score{text-align:center}
.fsgk-official-assignment__score small{display:block;color:var(--fs3-red);font-size:8px;font-weight:900;letter-spacing:.06em;text-transform:uppercase}
.fsgk-official-assignment__score b{display:block;margin-top:5px;color:var(--fs3-navy);font-size:21px}

.fsgk-official-assignment__role small{display:block;color:#8a939c;font-size:9px;font-weight:900;text-transform:uppercase}
.fsgk-official-assignment__role strong{display:block;margin-top:5px;color:var(--fs3-navy);font-size:12px}

.fsgk-official-assignment>a{
    display:grid;width:52px;height:52px;place-items:center;background:var(--fs3-red);color:#fff;text-decoration:none;
}
.fsgk-official-assignment>a:hover{background:var(--fs3-gold);color:var(--fs3-navy)}

.fsgk-official-not-found{padding:90px 0;text-align:center}

@media (max-width:1199px){
    .fsgk-officials-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .fsgk-officials-filter{grid-template-columns:1fr 1fr 1fr auto}
    .fsgk-officials-filter>a{grid-column:1/-1}
    .fsgk-official-profile-hero__grid{grid-template-columns:190px minmax(0,1fr) 260px}
    .fsgk-official-profile-hero__photo{width:190px;height:220px}
    .fsgk-official-assignment{grid-template-columns:160px minmax(0,1fr) 150px 48px}
}

@media (max-width:991px){
    .fsgk-officials-stats{grid-template-columns:repeat(2,1fr)}
    .fsgk-officials-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .fsgk-officials-filter{grid-template-columns:1fr 1fr}
    .fsgk-officials-filter button,.fsgk-officials-filter>a{width:100%}
    .fsgk-official-profile-hero{padding:125px 0 60px}
    .fsgk-official-profile-hero__grid{grid-template-columns:170px minmax(0,1fr)}
    .fsgk-official-profile-hero__photo{width:170px;height:200px}
    .fsgk-official-profile-hero aside{grid-column:1/-1;grid-template-columns:repeat(2,1fr)}
    .fsgk-official-profile-layout{grid-template-columns:1fr}
    .fsgk-official-assignment{grid-template-columns:1fr 52px}
    .fsgk-official-assignment__date{border-right:0;border-bottom:1px solid var(--fs3-line);padding:0 0 13px;grid-column:1/-1}
    .fsgk-official-assignment__contest{grid-column:1/2}
    .fsgk-official-assignment__role{grid-column:1/2}
    .fsgk-official-assignment>a{grid-column:2/3;grid-row:2/4;align-self:center}
}

@media (max-width:767px){
    .fsgk-officials-intro{padding:65px 0 28px}
    .fsgk-officials-intro__heading,.fsgk-officials-directory__heading,.fsgk-official-assignments>header{align-items:flex-start;flex-direction:column}
    .fsgk-officials-intro__heading>strong,.fsgk-officials-directory__heading>strong,.fsgk-official-assignments>header>strong{min-width:112px;min-height:86px;font-size:31px}
    .fsgk-officials-stats{grid-template-columns:1fr}
    .fsgk-officials-filter{grid-template-columns:1fr;padding:18px}
    .fsgk-officials-grid{grid-template-columns:1fr}
    .fsgk-official-card__media{height:340px}
    .fsgk-official-profile-hero__grid{grid-template-columns:1fr;text-align:center}
    .fsgk-official-profile-hero__photo{margin:0 auto}
    .fsgk-official-profile-hero aside{grid-template-columns:1fr;text-align:left}
    .fsgk-official-panel,.fsgk-official-facts{padding:23px}
    .fsgk-official-role-list article{grid-template-columns:44px 1fr}
    .fsgk-official-role-list article>b{grid-column:2/3}
    .fsgk-official-assignment__contest{grid-template-columns:1fr 72px 1fr;gap:8px}
    .fsgk-official-assignment__contest>div:not(.fsgk-official-assignment__score){flex-direction:column;text-align:center}
    .fsgk-official-assignment__contest .is-away{justify-content:center;text-align:center}
}

@media (max-width:480px){
    .fsgk-official-card__media{height:295px}
    .fsgk-official-assignment{padding:16px}
    .fsgk-official-assignment__contest>div>span{width:38px;height:38px;flex-basis:38px}
    .fsgk-official-assignment__contest img{width:29px;height:29px}
    .fsgk-official-assignment__contest>div>strong{font-size:11px}
    .fsgk-official-assignment__score b{font-size:18px}
}
