.public-footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 25px;border-top:1px solid #1c3041;padding:19px 22px 24px;color:#a4bdcc;font-size:12px;line-height:1.6}
.public-footer-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none}
.public-footer-links a:hover{color:#20dff0}
.public-footer-links a:focus-visible{outline:2px solid #20dff0;outline-offset:4px}
.portal-footer{flex-wrap:wrap}.portal-footer>.public-footer-links{flex-basis:100%;width:100%;padding-bottom:0}
.publication-copy{max-width:800px;margin:0 auto 70px;color:#b6c9d5;font-size:17px;line-height:1.85;overflow-wrap:anywhere}
.publication-copy section{padding:24px 0;border-top:1px solid #223a4d}
.publication-copy h2{color:#eff7fa;font-size:25px;line-height:1.25;font-weight:500;margin:0 0 17px}
.publication-copy p{margin:12px 0 20px}
.publication-copy a{color:#5ee8f3;text-decoration:underline;text-underline-offset:4px}
.publication-copy dl{display:grid;grid-template-columns:160px minmax(0,1fr);gap:13px 24px}
.publication-copy dt{color:#8faabb}.publication-copy dd{margin:0;color:#eef6fa}
.publication-email{font-size:clamp(19px,3vw,30px)}
.privacy-overview{padding-left:21px;margin:12px 0 24px}.privacy-overview li{padding-left:5px;margin:9px 0}.privacy-overview li::marker{color:#37d5e4}
.privacy-topics{margin-bottom:28px}.privacy-topic{border-top:1px solid #223a4d}.privacy-topic:last-child{border-bottom:1px solid #223a4d}.privacy-topic summary{position:relative;list-style:none;cursor:pointer;min-height:64px;padding:19px 35px 19px 0;color:#e9f5fa;font-size:18px;line-height:1.5}.privacy-topic summary::-webkit-details-marker{display:none}.privacy-topic summary::after{content:'+';position:absolute;right:2px;top:18px;color:#36d6e6;font-size:24px;line-height:1.2}.privacy-topic[open] summary::after{content:'−'}.privacy-topic summary:focus-visible{outline:2px solid #39d9e8;outline-offset:4px}.privacy-topic>div{padding:0 18px 8px 0}.privacy-provider-links{list-style:none;padding:0;margin:14px 0 22px}.privacy-provider-links li{margin:8px 0}.publication-privacy>section:last-of-type{padding-top:24px}
.owner-biography-more{margin:10px 0 26px}
.owner-biography-more>summary,a.owner-films-link{font-weight:400;width:fit-content;max-width:100%;min-height:44px;padding:8px 0;cursor:pointer;color:#5ee8f3;font-size:14px;line-height:1.6}
.owner-biography-more>summary:focus-visible{outline:2px solid #5ee8f3;outline-offset:4px}
.portal-page .edition-inner-intro{padding-top:35px}
.portal-page .edition-glossary{padding-top:20px}
@media(max-width:600px){.publication-copy{font-size:16px;margin-bottom:40px}.publication-copy dl{grid-template-columns:1fr;gap:4px}.publication-copy dd{margin-bottom:13px}.publication-copy h2{font-size:23px}.public-footer-links{gap:5px 18px;font-size:11px}}

.portal-page .about-intro{padding:8px 0 20px;max-width:800px;margin:0 auto}
.publication-about .about-owner{scroll-margin-top:115px;border-top:2px solid #22cddd;padding-top:20px}
.publication-about .about-owner>.portal-kicker{font-size:clamp(1rem,2vw,1.125rem);font-weight:700;line-height:1.4;letter-spacing:.08em;color:#65dce8}
.publication-about .about-owner h2{font-size:clamp(28px,4vw,38px);margin:10px 0 16px}
.publication-about .about-owner h2>span{display:block;letter-spacing:normal;font-size:15px;line-height:1.6;color:#a2bacb;margin-bottom:5px}
.publication-about .about-owner .text-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px}
@media(max-width:700px){.publication-about .about-owner{scroll-margin-top:0}.portal-page .about-intro h1{margin-top:10px;margin-bottom:15px}}

.portal-brand-visual img{display:block;width:100%;height:auto}.portal-brand-banner{margin-top:28px}
.film-watch-link{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px}.film-watch-link .text-link{font-size:12px}

.publication-about .about-lab-activities {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:0;margin:20px 0;list-style:none;counter-reset:activity;scroll-margin-top:100px}
.about-lab-activities li {counter-increment:activity}
.publication-about .about-lab-activities a {display:block;height:100%;box-sizing:border-box;padding:18px;border:1px solid #24404b;border-radius:12px;background:#101920;color:#eff7fa;text-decoration:none}
.about-lab-activities a::before {content:counter(activity,decimal-leading-zero);display:block;color:#39d6e4;font-size:.75rem;font-weight:700;letter-spacing:1px;margin-bottom:6px}
.publication-about .about-lab-activities a:is(:hover,:focus-visible) {border-color:#38bccb}
.publication-about .about-lab-activities p {color:#a9bac9;font-size:.92rem;line-height:1.5;margin:8px 0 0}
@media(max-width:700px){
  .publication-about .about-lab-activities {grid-template-columns:1fr;gap:12px;margin-inline:4px}
  .publication-about .about-lab-activities a {padding:12px 14px}
  .publication-about .about-lab-activities p {margin-top:6px}
}

.portal-main:has(.publication-copy) { padding-bottom: 20px; }
.portal-main .publication-copy { margin-bottom: 0; }
.portal-page .portal-footer { background: transparent; }

@media (max-width: 700px) {
  .portal-page .portal-main:has(.publication-copy) {padding-bottom:20px}
  .portal-main .publication-copy {margin-bottom:12px}
  .publication-copy > section:last-child {padding-bottom:8px}
  .portal-page .portal-footer {padding-block:18px 12px;row-gap:8px}
  .public-footer-links {row-gap:0;padding-block:6px 10px}
}
@media (max-width: 600px) {
  .publication-about section:has(+ .portal-brand-banner) { padding-bottom: 0; }
  .publication-about section:has(+ .portal-brand-banner) dl { margin-bottom: 0; }
  .publication-about .portal-brand-banner { margin: 12px 0 0; }
  .portal-page .portal-main:has(.publication-about) { padding-bottom: 12px; }
  .portal-page .portal-main:has(.publication-about) + .portal-footer { padding-top: 12px; }
}

@media (max-width: 700px) {
  .publication-about .about-owner { padding-bottom: 4px; }
  .publication-about .owner-biography-more { margin-bottom: 0; }
  .publication-about .about-owner + section { padding-block: 14px; }
  .publication-about .about-owner + section > p:last-child { margin-bottom: 0; }
  .publication-about .about-owner + section + section { padding-top: 14px; }
}

.about-lab-links {display:flex;align-items:center;flex-wrap:wrap;gap:0 24px}
.publication-about .about-lab-links a {display:inline-flex;align-items:center;gap:7px;min-height:44px;font-size:.875rem;color:#a9bac9;text-decoration:none}
.publication-about .about-lab-links a:first-child {color:#deebef;font-weight:600}
.about-lab-links span {color:#39d6e4}
.publication-about .about-lab-links a:is(:hover,:focus-visible) {text-decoration:underline}

.publication-copy .author-resource-links {display:grid;margin-block:12px 0}
.publication-copy .author-resource-links a {
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:44px;padding-block:4px;box-sizing:border-box;
  color:#b8c8d2;font-size:.9rem;line-height:1.45;text-decoration:none;
}
.publication-copy .author-resource-links a span {flex:none;color:#76aeb8}
.publication-copy .author-resource-links a:is(:hover,:focus-visible) {color:#ecf6fa}
.publication-copy .author-resource-links a:focus-visible {outline:2px solid #76aeb8;outline-offset:2px}

a.owner-films-link{display:inline-block;text-decoration:none}

.publication-events h2{letter-spacing:-.5px}
.publication-events a.events-submit{display:inline-flex;align-items:center;gap:24px;min-height:46px;padding:10px 18px;margin:0 0 8px;border:1px solid #438d99;border-radius:10px;background:rgba(42,206,220,.06);color:#79dee6;text-decoration:none;font-size:14px;font-weight:500;line-height:1.5}
.publication-events a.events-submit:hover{background:rgba(42,206,220,.12);border-color:#6ed5df;box-shadow:0 0 14px rgba(42,206,220,.08)}

/* Event descriptions match the introductory paragraph at every breakpoint. */
.portal-page .publication-events p{font-size:17px;line-height:1.8;color:#a4bac9}
@media(max-width:520px){.portal-page .publication-events p{font-size:14px}}

/* Match the reading typography in the homepage human section. */
.portal-page :is(.publication-about,.publication-contact,.publication-privacy,.publication-cookies,.publication-rights,.publication-marketing){font-family:Revolucija,Arial,Helvetica,sans-serif;font-size:13px;line-height:1.8;color:#9caec1}
.portal-page :is(.publication-about,.publication-contact,.publication-privacy,.publication-cookies,.publication-rights,.publication-marketing) p{font-size:13px;line-height:1.8;letter-spacing:normal}
.portal-page :is(.publication-about,.publication-contact,.publication-privacy,.publication-cookies,.publication-rights,.publication-marketing) h2{letter-spacing:-.5px}

/* Supporting introductions use the same reading size as O portalu. */
.portal-page .portal-main:has(:is(.publication-contact,.publication-privacy,.publication-cookies,.publication-rights,.publication-marketing)) .portal-intro p{font-family:Revolucija,Arial,Helvetica,sans-serif;font-size:13px;line-height:1.8;letter-spacing:normal;color:#9caec1}

/* Quiet editorial links retain a clear, accessible link affordance. */
.portal-page .publication-copy a:not(.events-submit):not(.owner-films-link){color:#b8ced6;text-decoration:underline;text-decoration-color:#536c77;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-skip-ink:auto;transition:color .15s ease,text-decoration-color .15s ease}
.portal-page .publication-copy a:not(.events-submit):not(.owner-films-link):hover{color:#e2f0f3;text-decoration-color:#8abac4}
.portal-page .publication-copy a:focus-visible{outline:2px solid #8abac4;outline-offset:4px;border-radius:2px}
.portal-page .publication-copy a.text-link{font-size:13px;font-weight:400;letter-spacing:normal;text-transform:none}
@media(prefers-reduced-motion:reduce){.portal-page .publication-copy a{transition:none}}

/* Keep the final contact paragraph and privacy link together. */
.portal-page .publication-contact>section:last-of-type{padding-bottom:0}
.portal-page .publication-contact>section:last-of-type>p:last-child{margin-bottom:8px}
.portal-page .publication-contact>p:last-child{margin:0}
.portal-page .publication-contact>p:last-child .text-link{margin:0;padding:4px 0;min-height:44px;display:inline-flex;align-items:center}
.portal-page .portal-main:has(.publication-contact){padding-bottom:12px}
@media(max-width:700px){.portal-page .publication-contact>section{padding-top:18px;padding-bottom:12px}.portal-page .publication-contact>section:last-of-type{padding-bottom:0}.portal-page .publication-contact{margin-bottom:0}}

/* Activity cards are whole-card links; keep all their copy free of underlines. */
.portal-page .publication-copy #ai-lab-aktivnosti a,
.portal-page .publication-copy #ai-lab-aktivnosti a:is(:hover,:focus-visible){
  text-decoration:none;
}

/* Compact homepage footer with two clear navigation groups. */
.home-footer{background:linear-gradient(135deg,#0b1a24,#060b13 65%);border-top:1px solid #27424e;color:#b6c5ce}
.home-footer .home-footer-inner{padding-block:40px 24px;display:grid;grid-template-columns:1fr 1.3fr;gap:32px 60px}
.home-footer-intro{position:relative}.home-footer-intro .brand{font-size:23px;letter-spacing:-.7px;color:#edf6fa}
.home-footer-intro p{font-size:13px;line-height:1.7;margin:12px 0 22px;color:#94aab7}
.home-footer-top{display:inline-flex;align-items:center;gap:22px;border:1px solid #31505e;border-radius:30px;padding:10px 17px;min-height:44px;font-size:13px;text-decoration:none;color:#c8e5e8}
.home-footer-top span{color:#21d3e4;font-size:20px}
.home-footer-navigation{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.home-footer-navigation h2{font:600 11px/1.5 Arial,sans-serif;letter-spacing:1.8px;text-transform:uppercase;color:#5fd6df;margin:0 0 12px}
.home-footer-navigation a{display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.5;text-decoration:none;color:#b7c6d0}
.home-footer a:hover{color:#51deeb}.home-footer a:focus-visible{outline:2px solid #51deeb;outline-offset:5px}
.home-footer-bottom{grid-column:1/-1;border-top:1px solid #253944;padding-top:20px;display:flex;justify-content:space-between;gap:14px;font-size:11px;line-height:1.6;color:#829aa8}
@media(max-width:700px){.home-footer .home-footer-inner{grid-template-columns:1fr;gap:28px;padding-block:28px 30px}.home-footer-intro{padding-right:100px}.home-footer-intro .brand{font-size:21px}.home-footer-intro p{font-size:12px;margin:8px 0 0}.home-footer-top{position:absolute;right:0;top:0;gap:12px;padding:8px 12px;font-size:12px}.home-footer-navigation{gap:20px}.home-footer-navigation a{font-size:13px;min-height:44px}.home-footer-bottom{font-size:10px;padding-top:17px;flex-wrap:wrap}}

/* A tighter, softly highlighted footer navigation. */
.home-footer .home-footer-inner{gap:22px 48px;padding-block:28px 20px}
.home-footer-navigation nav{display:flex;flex-direction:column;gap:0;margin:0;padding:0}
.home-footer-navigation h2{margin-bottom:7px;font-size:10px;letter-spacing:1.4px}
.home-footer-navigation a{min-height:36px;padding:6px 9px;margin:0 -9px;border-radius:6px;transition:background-color .15s ease,color .15s ease;-webkit-tap-highlight-color:rgba(33,211,228,.16)}
.home-footer-navigation a:is(:hover,:active,:focus-visible){background:rgba(33,211,228,.09);color:#6ce4ed}
.home-footer-bottom{padding-top:14px}
@media(max-width:700px){.home-footer .home-footer-inner{gap:20px;padding-block:22px 22px}.home-footer-navigation{gap:18px}.home-footer-navigation a{font-size:13px;min-height:36px;line-height:1.45}.home-footer-bottom{padding-top:13px}}
@media(prefers-reduced-motion:reduce){.home-footer-navigation a{transition:none}}

/* Keep footer rows close together, including on narrow screens. */
.home-footer .home-footer-navigation nav{justify-content:flex-start;gap:0}
.home-footer .home-footer-navigation a{min-height:26px;padding:3px 9px;line-height:20px;margin-block:0}
.home-footer .home-footer-navigation h2{margin-bottom:5px}
@media(max-width:700px){.home-footer .home-footer-inner{row-gap:16px}.home-footer .home-footer-navigation a{min-height:26px;padding-block:3px;line-height:20px}}

/* Smaller supporting typography in the homepage footer. */
.home-footer .home-footer-navigation a{font-size:11px;line-height:18px}
.home-footer .home-footer-navigation h2{font-size:9px;letter-spacing:1.2px}
.home-footer .home-footer-intro p{font-size:11px}
.home-footer .home-footer-top{font-size:11px}

/* Brand, exploration and information form the three footer columns. */
.home-footer .home-footer-inner{grid-template-columns:1fr 1.4fr;gap:24px 48px}
.home-footer .home-footer-intro{display:flex;align-items:center;gap:18px;padding:0}
.home-footer-logo{display:block;flex:0 0 90px}
.home-footer-logo img{display:block;width:90px;height:auto}
.home-footer .home-footer-mission p{font-size:11px;line-height:1.6;margin:6px 0 0}
.home-footer .home-footer-mission .home-footer-slogan{font-size:13px;font-weight:600;font-style:normal;color:#d8eff2;margin:0}
.home-footer .home-footer-bottom{align-items:center}
.home-footer .home-footer-top{position:static;min-height:28px;padding:3px 12px;gap:10px;font-size:11px}
.home-footer .home-footer-top span{font-size:16px}
@media(max-width:700px){.home-footer .home-footer-inner{grid-template-columns:1fr;gap:18px}.home-footer .home-footer-intro{gap:18px}.home-footer-logo{flex-basis:72px}.home-footer-logo img{width:72px}.home-footer .home-footer-bottom{padding-left:38px;gap:8px}}

/* Align the brand block and keep both link columns on a shared rhythm. */
.home-footer .home-footer-intro{align-items:flex-start;gap:14px}
.home-footer .home-footer-logo{flex:0 0 64px}
.home-footer .home-footer-logo img{width:64px;height:auto}
.home-footer .home-footer-mission{padding:0;margin:0}
.home-footer .home-footer-mission .home-footer-slogan{font-size:11.5px;line-height:16px;margin:0}
.home-footer .home-footer-mission p{font-size:10px;line-height:15px;margin:3px 0 0}
.home-footer .home-footer-navigation{align-items:start;column-gap:18px}
.home-footer .home-footer-navigation h2{font-size:8.5px;line-height:13px;letter-spacing:1px;margin:0 0 5px}
.home-footer .home-footer-navigation a{font-size:10px;line-height:16px;min-height:24px;padding:4px 9px;margin-block:0}
.home-footer .home-footer-inner{row-gap:18px}
@media(max-width:700px){.home-footer .home-footer-inner{padding-block:20px 18px;row-gap:16px}.home-footer .home-footer-intro{gap:14px}.home-footer .home-footer-bottom{padding-top:12px}.home-footer .home-footer-top{font-size:10px}}

/* Final compact proportions: center the logo against the complete slogan block. */
.home-footer .home-footer-intro{align-items:center;gap:10px}
.home-footer .home-footer-logo{flex-basis:58px}
.home-footer .home-footer-logo img{width:58px}
.home-footer .home-footer-mission .home-footer-slogan{font-size:10.5px;line-height:14px}
.home-footer .home-footer-mission p{font-size:9.5px;line-height:13px;margin-top:2px}
.home-footer .home-footer-navigation h2{font-size:8px;line-height:12px;margin-bottom:9px;letter-spacing:.9px}
.home-footer .home-footer-navigation a{font-size:10px;line-height:15px;min-height:24px;padding:2px 9px;box-sizing:border-box}
.home-footer .home-footer-inner{row-gap:13px;padding-block:18px 16px}
.home-footer .home-footer-bottom{padding-top:10px}
@media(max-width:700px){.home-footer .home-footer-inner{row-gap:13px;padding-block:18px 16px}.home-footer .home-footer-intro{gap:10px}.home-footer .home-footer-bottom{padding-top:10px}}

/* Compact footer columns, aligned return control and separated bottom strip. */
.home-footer .home-footer-navigation h2{margin-bottom:4px}
.home-footer .home-footer-intro{flex-wrap:nowrap}
.home-footer .home-footer-top{margin-left:auto;flex-shrink:0;white-space:nowrap}
.home-footer .home-footer-bottom{padding:18px 0 4px;margin-top:5px}
@media(max-width:700px){
 .home-footer .home-footer-inner{row-gap:12px}
 .home-footer .home-footer-navigation{column-gap:16px}
 .home-footer .home-footer-bottom{padding:18px 0 6px;margin-top:7px}
 .home-footer .home-footer-top{padding:3px 9px;gap:6px}
}

/* Tighter spacing only for the footer's legal links. */
.home-footer .home-footer-navigation nav[aria-label="Pravila i informacije"] a{min-height:20px;padding-block:1px;line-height:18px;margin-block:0}

/* Compact link rows and clearance from the assistant launcher. */
.home-footer .home-footer-navigation nav[aria-label] a{min-height:18px;line-height:16px;padding-block:1px;margin-block:0}
.home-footer .home-footer-bottom{justify-content:flex-end;text-align:right;padding-left:64px}
@media(max-width:700px){.home-footer .home-footer-navigation{margin-top:10px}.home-footer .home-footer-bottom{padding-left:64px}}

/* Shorter mobile closing section keeps the footer within easier reach. */
@media(max-width:700px){
 .combined-page .closing.closing-with-image{padding-top:16px}
 .combined-page .closing-with-image .closing-inner{gap:12px}
 .combined-page .closing-with-image h2{font-size:34px;line-height:1.15;margin-top:10px}
 .combined-page .closing-with-image::after{width:100%;margin:6px 0 0}
 .home-footer .home-footer-inner{padding-block:14px 10px}
 .home-footer .home-footer-bottom{padding-top:12px;padding-bottom:2px;margin-top:0}
}

/* Preserve the homepage columns; reuse the compact brand footer elsewhere. */
.home-footer .home-footer-navigation{padding-left:0}
.compact-public-footer .home-footer-inner{grid-template-columns:1fr;max-width:1280px;width:calc(100% - 40px);margin-inline:auto}
.compact-public-footer .home-footer-intro{width:100%}
.compact-public-footer .home-footer-mission{min-width:0}
#vrh-stranice{height:0;scroll-margin-top:0}

/* Keep mobile rubric content close to the compact footer. */
@media(max-width:700px){
 .portal-page:has(.compact-public-footer) .portal-main{padding-bottom:28px;min-height:0}
 .portal-page:has(.compact-public-footer) .portal-main>:last-child{margin-bottom:0}
 .portal-page:has(.compact-public-footer) .portal-main>.research.section-pad{padding-bottom:0;margin-bottom:0}
}

/* Match About-page visual credits to the homepage film credit. */
.portal-page .publication-about .portal-brand-visual figcaption{font-family:Revolucija,Arial,Helvetica,sans-serif;font-size:12px;font-weight:400;line-height:1.6;letter-spacing:0;text-transform:none;color:#9edce6;margin-top:8px}
.portal-page .publication-about .portal-brand-visual figcaption a{font:inherit;color:inherit}

/* Discreet design attribution beside the copyright. */
.home-footer .home-footer-bottom{flex-wrap:wrap;column-gap:16px;row-gap:3px}
.home-footer .home-footer-design-credit{font-size:inherit;color:inherit;font-weight:400}
@media(max-width:700px){.home-footer .home-footer-design-credit{flex-basis:100%}}

/* Discreet copyright and design credit. */
.home-footer .home-footer-bottom,.home-footer .home-footer-bottom > span{font-size:9px;line-height:1.5;font-weight:400}

/* Match the header artwork and cyan palette without changing footer sizing. */
.home-footer .home-footer-logo .brand-logo-frame{display:block;position:relative;width:100%;aspect-ratio:840/605;overflow:hidden}
.home-footer .home-footer-logo .brand-logo-frame img{position:absolute;display:block;width:128.571429%;height:auto;max-width:none;left:-16.666667%;top:-32.231405%;filter:url(#logo-web-palette);opacity:1}
