/*
Theme Name: Bardejov – skúšobný web
Version: 1.9.0
Description: Samostatná ľahká téma pre skúšobný web MO SRZ Bardejov.
Author: MO SRZ Bardejov
Text Domain: bardejov
*/
:root{--navy:#0b2d54;--blue:#0757d5;--ink:#163354;--muted:#60718a;--line:#dfe7ef;--light:#f2f7fb;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #3994ff;outline-offset:5px}svg{width:28px;height:28px;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--navy);line-height:1.15;letter-spacing:-.035em}h2{font-size:32px}h3{font-size:21px}p{margin-bottom:1.1em}.wrap{width:min(1180px,calc(100% - 72px));margin-inline:auto}.testbar{background:var(--navy);color:#e7f1ff;font-size:11px;letter-spacing:.12em}.testbar .wrap{display:flex;justify-content:space-between;padding-block:8px}.testbar a{color:#fff;letter-spacing:0}.site-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:96px}.brand{display:flex;flex-direction:column;flex-shrink:0;color:var(--navy);line-height:1.45}.brand strong{font-size:22px;letter-spacing:-.025em}.brand span{font-size:13px;color:var(--muted)}#main-nav{display:flex;align-items:center;gap:24px}#main-nav ul{display:flex;gap:25px;list-style:none;margin:0;padding:0}#main-nav li a{font-size:14px;color:var(--navy);font-weight:550}#main-nav .current-menu-item>a{color:var(--blue)}.search-form{display:flex;align-items:center;border-bottom:1px solid #bdcbd9;width:123px}.search-form input{min-width:0;width:89px;border:0;background:none;font-size:13px;padding:7px 0;color:var(--navy)}.search-form button{border:0;background:none;padding:6px;cursor:pointer;color:var(--navy)}.search-form svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.menu-toggle{display:none}.hero{background:linear-gradient(110deg,#fff 30%,#eaf3fc 100%);border-bottom:1px solid var(--line);overflow:hidden}.hero-grid{display:grid;grid-template-columns:1fr 280px;align-items:center;gap:60px;padding-block:66px}.eyebrow{font-size:11px;letter-spacing:.14em;color:var(--blue);font-weight:750;margin-bottom:16px}.hero h1{font-size:clamp(30px,3.3vw,44px);margin-bottom:20px;line-height:1.16}.hero h1 strong,.hero h1 span{display:block}.hero h1 strong{font-weight:750}.hero h1 span{font-weight:350;margin-top:4px}.hero-intro{max-width:600px;color:var(--muted);font-size:18px;line-height:1.55}.actions{display:flex;align-items:center;gap:26px;flex-wrap:wrap;margin-top:28px}.button{display:inline-flex;align-items:center;gap:24px;border-radius:40px;background:var(--blue);color:#fff;padding:12px 25px;font-size:14px;font-weight:650;transition:background .2s}.button:hover{background:var(--navy);text-decoration:none}.text-link{font-size:14px;font-weight:600}.hero-note{border-left:1px solid #cadbea;padding-left:34px}.hero-note .large-icon{color:var(--blue);display:block;margin-bottom:25px}.large-icon svg{width:52px;height:52px}.hero-note .eyebrow{font-size:9px}.hero-note h2{font-size:27px;font-weight:600}.hero-note p:not(.eyebrow){font-size:14px;color:var(--muted)}.hero-note a{font-size:13px;font-weight:600}.quick-strip{border-bottom:1px solid var(--line)}.quick-grid{display:grid;grid-template-columns:repeat(4,1fr);padding-block:24px}.quick-link{display:flex;align-items:center;gap:18px;padding:0 24px;border-right:1px solid var(--line);color:var(--navy)}.quick-link:first-child{padding-left:0}.quick-link:last-child{border:0;padding-right:0}.quick-link strong,.quick-link small{display:block}.quick-link strong{font-size:16px}.quick-link small{font-size:12px;color:var(--muted)}.arrow{margin-left:auto;color:var(--blue);font-size:22px}.home-sections{padding-block:40px 56px}.section+.section{margin-top:44px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:22px}.section-heading h2{margin:0;position:relative;padding-bottom:12px}.section-heading h2:after{content:'';position:absolute;bottom:0;left:0;width:36px;height:3px;background:var(--blue)}.section-heading>a,.muted{font-size:13px;white-space:nowrap}.muted{color:var(--muted)}.notice-list{border-top:1px solid var(--line)}.notice{display:flex;align-items:center;gap:28px;padding:20px 8px;border-bottom:1px solid var(--line);color:var(--navy);transition:background .2s}.notice:hover{background:var(--light);text-decoration:none}.notice svg{color:var(--blue);width:32px;height:32px}.notice strong,.notice small{display:block}.notice strong{font-size:19px;line-height:1.4}.notice small{color:var(--muted);font-size:14px}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.news-card{border:1px solid var(--line);border-radius:5px;overflow:hidden;background:white}.news-art{height:120px;background:linear-gradient(135deg,#e9f3fc,#d8e9f7);color:#326da1;display:flex;align-items:center;justify-content:space-between;padding:24px}.news-card:nth-child(2) .news-art{background:#0e355d;color:#b3d2ed}.news-card:nth-child(3) .news-art{background:#edf2f6;color:#6a859e}.news-art svg{width:65px;height:65px;opacity:.6}.news-art span{font-size:10px;letter-spacing:.13em;writing-mode:vertical-rl}.news-body{padding:22px}.news-body .eyebrow{margin-bottom:12px;font-size:10px}.news-body h3{font-size:21px;margin-bottom:12px}.news-body h3 a{color:var(--navy)}.news-body p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.6}.news-body .text-link{display:flex;justify-content:space-between;font-size:12px}.media-panel{display:flex;align-items:center;gap:28px;border:1px solid var(--line);background:var(--light);border-radius:5px;padding:30px}.media-panel h3{font-size:20px;margin-bottom:8px}.media-panel p{margin:0;color:var(--muted);font-size:14px;max-width:620px}.media-panel>a{margin-left:auto;white-space:nowrap}.media-panel .large-icon{color:var(--blue)}.video-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.video-card{display:flex;gap:24px;align-items:center;min-height:140px;padding:28px 30px;background:var(--navy);color:#fff;border-radius:5px}.video-card>svg{color:#bed8ee;width:42px;height:42px}.video-card strong,.video-card small{display:block}.video-card strong{font-size:21px}.video-card small{font-size:12px;color:#b8cce1;margin-top:5px}.video-card .arrow{color:#fff}.site-footer{background:var(--navy);color:#c8d9e9;padding-top:48px;font-size:14px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:55px;padding-bottom:36px}.site-footer .brand,.site-footer a{color:#fff}.site-footer .brand span{color:#b6cce2}.site-footer .brand+p{margin-top:15px;font-size:13px}.footer-grid>nav{display:flex;flex-direction:column;border-left:1px solid #3a5676;padding-left:55px;gap:5px}.footer-grid>div:last-child{border-left:1px solid #3a5676;padding-left:40px}.footer-bottom{border-top:1px solid #294b6c;padding-block:18px;display:flex;justify-content:space-between;font-size:11px;color:#b6cce2}.inner-main{padding-block:35px 80px;min-height:58vh}.breadcrumbs{display:flex;gap:12px;font-size:12px;color:var(--muted);margin-bottom:42px}.inner-main h1{font-size:clamp(32px,4vw,46px);margin-bottom:28px}.entry-content{max-width:800px;font-size:18px}.entry-content h2{font-size:26px;margin-top:36px}.entry-content p{line-height:1.75}.entry-content a{text-decoration:underline;text-underline-offset:4px}.inner-main .news-grid{margin-top:38px}.search-result{border-bottom:1px solid var(--line);padding:22px 0;max-width:800px}.search-result h2{font-size:24px}.screen-reader-text,.skip{position:absolute;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden}.skip:focus{clip:auto;width:auto;height:auto;z-index:9999;background:#fff;padding:16px;top:0;left:0}
@media(max-width:1100px){#main-nav{gap:18px}#main-nav ul{gap:16px}.search-form{width:92px}.search-form input{width:60px}.brand strong{font-size:19px}.hero-grid{gap:30px;grid-template-columns:1fr 230px}.quick-link{padding:0 16px;gap:12px}.quick-link small{font-size:11px}}
@media(max-width:900px){.header-inner{position:relative;min-height:84px;flex-wrap:wrap;padding-block:20px}.menu-toggle{display:flex;align-items:center;gap:12px;background:white;border:1px solid var(--line);border-radius:4px;padding:8px 13px;color:var(--navy);font-size:14px;cursor:pointer}#main-nav{display:none;width:100%;align-items:stretch;padding-top:16px;border-top:1px solid var(--line)}#main-nav.open{display:flex;flex-direction:column}#main-nav ul{flex-direction:column;gap:0}#main-nav li a{display:block;padding:11px 0;font-size:16px}.search-form{width:100%}.search-form input{width:100%}.hero-grid{grid-template-columns:1fr;padding-block:46px}.hero-note{display:none}.hero h1{font-size:40px}.quick-grid{grid-template-columns:repeat(2,1fr);gap:24px}.quick-link:nth-child(2){border:0}.quick-link:nth-child(3){padding-left:0}.news-grid{gap:16px}.news-body{padding:18px}.news-body h3{font-size:19px}.media-panel{flex-wrap:wrap}.media-panel>a{margin-left:80px}.footer-grid{gap:24px}.footer-grid>nav{padding-left:24px}.footer-grid>div:last-child{padding-left:24px}}
@media(max-width:600px){.wrap{width:calc(100% - 36px)}.testbar{font-size:9px}.testbar .wrap{padding-block:7px}.brand strong{font-size:19px}.brand span{font-size:11px}.hero-grid{padding-block:38px}.hero .eyebrow{font-size:9px}.hero h1{font-size:32px;line-height:1.2}.hero h1 span{font-size:29px;margin-top:8px}.hero-intro{font-size:16px}.actions{gap:18px;margin-top:25px}.button{font-size:13px;padding:11px 21px}.text-link{font-size:13px}.quick-grid{gap:20px 12px;padding-block:22px}.quick-link{gap:10px;padding:0 8px}.quick-link svg{width:25px;height:25px}.quick-link strong{font-size:14px}.quick-link small{font-size:10px}.quick-link .arrow{font-size:17px}.home-sections{padding-block:30px 36px}.section+.section{margin-top:34px}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px;margin-bottom:18px}.section-heading h2{font-size:27px}.section-heading>a,.muted{font-size:11px}.notice{gap:17px;padding:17px 0}.notice strong{font-size:16px}.notice small{font-size:12px}.notice svg{width:27px;height:27px}.news-grid{grid-template-columns:1fr;gap:18px}.news-art{height:105px}.news-body{padding:22px}.news-body h3{font-size:23px}.media-panel{padding:22px;gap:16px}.media-panel .large-icon svg{width:34px;height:34px}.media-panel h3{font-size:19px}.media-panel>a{margin-left:0}.video-grid{grid-template-columns:1fr;gap:14px}.video-card{min-height:112px;padding:24px}.video-card strong{font-size:19px}.site-footer{padding-top:32px}.footer-grid{grid-template-columns:1fr;gap:26px}.footer-grid>nav,.footer-grid>div:last-child{border:0;padding-left:0}.footer-grid>nav{display:grid;grid-template-columns:1fr 1fr}.footer-bottom{gap:12px;flex-wrap:wrap}.inner-main{padding-bottom:48px}.breadcrumbs{margin-bottom:28px;flex-wrap:wrap}.entry-content{font-size:16px}.entry-content h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Complete organization navigation and homepage structure */
.header-inner{flex-wrap:wrap;gap:0;padding-top:22px;min-height:0}.header-inner>.brand{padding-bottom:20px}#main-nav{width:100%;justify-content:space-between;border-top:1px solid var(--line);padding:0;gap:22px}#main-nav>ul{gap:28px;align-items:center}#main-nav li{position:relative}#main-nav>ul>li>a{display:inline-block;padding:19px 0;font-size:14px}#main-nav .sub-menu{display:none;position:absolute;z-index:50;top:100%;left:0;width:590px;grid-template-columns:1fr 1fr;gap:0;padding:14px;background:white;border:1px solid var(--line);box-shadow:0 14px 28px #0b2d541c;border-radius:0 0 8px 8px}#main-nav .sub-menu a{display:block;padding:11px 12px;font-size:14px;line-height:1.4;border-radius:3px}#main-nav .sub-menu a:hover{background:var(--light);text-decoration:none}#main-nav .sub-open>.sub-menu{display:grid}.submenu-toggle{border:0;background:transparent;color:var(--navy);padding:10px;cursor:pointer;font-size:20px}.submenu-toggle[aria-expanded=true]{color:var(--blue)}.notice-grid{grid-template-columns:repeat(4,1fr);gap:18px}.notice-grid .news-body{padding:23px}.notice-grid h3{font-size:20px}.notice-grid .news-card{border-top:3px solid var(--blue)}.link-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.info-card{display:flex;flex-direction:column;align-items:flex-start;padding:28px;background:var(--light);border:1px solid var(--line);border-radius:5px;color:var(--navy)}.info-card h3{margin:18px 0}.info-card>span:last-child{color:var(--blue);font-size:13px;font-weight:600;margin-top:auto}.info-card:hover{border-color:var(--blue);text-decoration:none}.info-card .eyebrow{font-size:9px}.feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.feature-card{background:var(--light);padding:38px;border-radius:5px}.feature-card:nth-child(2){background:var(--navy);color:#c8d9e9}.feature-card:nth-child(2) h2,.feature-card:nth-child(2) .eyebrow{color:#fff}.feature-card p{max-width:410px}.media-panel h2{font-size:25px;margin-bottom:12px}.footer-grid{grid-template-columns:1fr 1fr 1fr 1fr;gap:30px}.footer-grid>nav,.footer-grid>div:last-child{border:0;padding:0;display:flex;flex-direction:column;gap:8px}.footer-grid h2{font-size:17px;color:#fff;letter-spacing:0;margin-bottom:15px}.footer-grid a{font-size:13px}.footer-grid .brand strong{font-size:18px}.footer-grid p{font-size:13px}.section-directory{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:35px;max-width:900px}.section-directory a{display:flex;justify-content:space-between;background:var(--light);border:1px solid var(--line);padding:16px 20px;border-radius:4px}.back-archive{margin-top:40px}.pagination{display:flex;gap:12px;margin-top:30px}.pagination a,.pagination span{padding:8px 14px;border:1px solid var(--line)}.pagination .current{background:var(--navy);color:white}
@media(max-width:1100px){#main-nav>ul{gap:19px}.notice-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:900px){.header-inner{padding-block:18px;gap:16px}.header-inner>.brand{padding:0}#main-nav{padding-top:12px}#main-nav>ul{align-items:stretch;gap:0}#main-nav>ul>li>a{padding:13px 0;font-size:16px}#main-nav .sub-menu{position:static;width:100%;box-shadow:none;border:0;border-left:2px solid var(--blue);padding:0 0 0 14px;grid-template-columns:1fr;background:var(--light);margin-bottom:14px}#main-nav .sub-menu a{padding:12px;font-size:14px}.submenu-toggle{float:right;padding:11px 18px}.link-grid{gap:16px}.info-card{padding:22px}.info-card h3{font-size:21px}.footer-grid>nav{display:flex}}
@media(max-width:600px){.notice-grid,.link-grid,.feature-grid,.section-directory{grid-template-columns:1fr}.feature-card{padding:26px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-grid>nav{display:flex}.header-inner{gap:12px}.section+.section{margin-top:40px}.notice-grid .news-body{padding:22px}.notice-grid h3{font-size:22px}.media-panel h2{font-size:24px}.hero-note{display:none}}

.table-scroll{overflow-x:auto;margin:24px 0}.entry-content table{border-collapse:collapse;width:100%;font-size:15px}.entry-content th,.entry-content td{padding:12px 14px;border:1px solid var(--line);text-align:left}.entry-content th{background:var(--light)}.entry-content li{margin-bottom:10px}.entry-content a{overflow-wrap:anywhere}

.site-header .brand{display:flex;flex-direction:row;align-items:center;gap:12px;flex-shrink:0}.brand-mark{display:flex!important;align-items:center;justify-content:center;background:#12364a;border-radius:8px;padding:8px 12px}.brand-mark img{display:block;width:auto;height:100px;max-width:none;object-fit:contain}.brand-copy{display:flex;flex-direction:column;gap:5px}.site-header .brand-copy>span{font-size:11px}.header-inner{padding-top:12px;padding-bottom:12px}
@media(max-width:700px){.site-header .brand{gap:9px}.brand-mark{padding:6px 9px}.brand-mark img{height:76px}.site-header .brand strong{font-size:14px}.site-header .brand-copy>span{font-size:9px}.header-inner{padding-top:8px;padding-bottom:8px}}

.site-header .brand-mark { background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.site-header .brand-mark img { filter: brightness(0) saturate(100%) invert(16%) sepia(25%) saturate(1300%) hue-rotate(160deg) brightness(95%) contrast(92%); }
.site-header .brand-copy strong { color: #12364a; }

/* Mobile composition based on the reference; Bardejov content and blue identity. */
.mobile-contact,.hero-down{display:none}
@media(max-width:900px){
.site-header{border-bottom:1px solid #d6dce2;position:relative;z-index:60}
.site-header .header-inner{width:calc(100% - 36px);min-height:85px;padding-block:8px;gap:0;justify-content:flex-start}
.site-header .brand{padding:0;margin-right:auto}
.site-header .brand-copy{display:none}
.site-header .brand-mark img{height:68px}
.mobile-contact{display:inline-flex;align-items:center;justify-content:center;background:var(--blue);color:white;border-radius:40px;min-height:38px;padding:8px 16px;font-size:13px;font-weight:650;line-height:1.5;margin-right:14px}
.mobile-contact:hover{background:var(--navy);text-decoration:none}
.menu-toggle{display:flex;position:relative;justify-content:center;align-items:center;width:44px;height:44px;padding:10px;border:0;border-radius:0;background:none}
.menu-icon,.menu-icon:before,.menu-icon:after{display:block;position:absolute;width:22px;height:2px;background:var(--navy);content:''}
.menu-icon:before{top:-7px}.menu-icon:after{top:7px}
.menu-toggle[aria-expanded=true] .menu-icon{background:transparent}
.menu-toggle[aria-expanded=true] .menu-icon:before{top:0;transform:rotate(45deg)}
.menu-toggle[aria-expanded=true] .menu-icon:after{top:0;transform:rotate(-45deg)}
#main-nav.open{position:absolute;top:100%;left:0;width:100%;padding:0 0 18px;background:white;border:0;gap:12px;max-height:calc(100dvh - 90px);overflow:auto;box-shadow:0 12px 16px #0b2d5410}
#main-nav>ul>li{border-bottom:1px solid #e4e6e8}
#main-nav>ul>li>a{font-size:14px;line-height:20px;font-weight:550;padding:14px 0;min-height:48px}
.submenu-toggle{position:absolute;right:0;top:0;width:44px;height:48px;padding:8px;font-size:19px}
#main-nav .sub-menu{border:0;background:white;margin:0;padding:0 0 8px 15px}
#main-nav .sub-menu a{padding:12px 0;font-size:13px;line-height:20px}
#main-nav .sub-menu li{border-top:1px solid #f0f1f2}
#main-nav .search-form{margin-top:4px}
}
@media(max-width:600px){
body.home{background:#f5f5f5}
.home .hero{margin:15px 13px 0;background:linear-gradient(145deg,#174d77,#0b2d54 65%,#10283c);border:0}
.home .hero-grid{width:auto;margin:0;padding:70px 16px 40px;min-height:430px;display:block}
.home .hero .eyebrow{display:none}
.home .hero h1{font-size:32px;line-height:1.15;color:white;letter-spacing:-.025em;margin-bottom:24px}
.home .hero h1 span{font-size:32px;font-weight:700;line-height:1.15;margin-top:6px}
.home .hero-intro{font-size:15px;line-height:1.55;color:#f2f6fb}
.home .hero .actions{display:none}
.hero-down{display:flex;width:50px;height:50px;border-radius:50%;background:white;color:var(--navy);align-items:center;justify-content:center;font-size:30px;line-height:1;margin-top:34px;padding-bottom:8px}
.hero-down:hover{text-decoration:none;background:#eaf3fc}
.home-sections{width:calc(100% - 30px);padding-block:58px 55px}
.section+.section{margin-top:58px}
.section-heading{justify-content:center;align-items:center;flex-direction:column;gap:16px;margin-bottom:28px;text-align:center}
.section-heading h2{font-size:15px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.5;padding:0}
.section-heading h2:after{display:none}
.section-heading>a{font-size:11px;text-transform:uppercase;letter-spacing:.04em;font-weight:650}
.news-grid,.notice-grid{gap:24px}
.news-card,.notice-grid .news-card{border:0;border-radius:0;box-shadow:0 5px 22px #102b4410}
.news-body,.notice-grid .news-body{padding:26px 24px}
.news-body .eyebrow{font-size:11px;letter-spacing:0;font-weight:400;color:#6a7787;margin-bottom:12px}
.news-body h3,.notice-grid h3{font-size:23px;line-height:1.25;letter-spacing:-.025em}
.news-body p:not(.eyebrow){font-size:14px;line-height:1.65}
.news-body .text-link{font-size:12px;margin-top:18px}
.news-art{height:170px;border-radius:0}
.link-grid{gap:24px}
.info-card{align-items:center;text-align:center;padding:34px 24px;min-height:170px;border:0;border-radius:0;background:white}
.info-card h3{font-size:23px;line-height:1.25}
.info-card>span:last-child{font-size:11px;text-transform:uppercase;letter-spacing:.04em}
.media-panel{display:flex;flex-direction:column;text-align:center;align-items:center;gap:22px;padding:36px 24px;background:#eaf1f8;border:0;border-radius:0}
.media-panel h2{font-size:26px}.media-panel>a{white-space:normal;margin:0}
.media-panel .eyebrow{font-size:11px;letter-spacing:.06em;text-transform:uppercase;margin-bottom:14px}
.feature-grid{gap:24px}.feature-card{padding:40px 25px;border-radius:0;background:white}.feature-card h2{font-size:30px}.feature-card p{font-size:15px}
.video-card{border-radius:0;gap:16px;padding:28px 22px}.video-card strong{font-size:20px;line-height:1.3}.video-card>svg{width:32px;height:32px}.video-card .arrow{display:none}
.site-footer{padding-top:50px}.footer-grid{gap:38px;padding-bottom:45px}.footer-grid h2{font-size:14px;letter-spacing:.07em;text-transform:uppercase;margin-bottom:12px}.footer-grid a,.footer-grid p{font-size:14px;line-height:1.7}.footer-grid>nav{gap:8px}.footer-bottom{padding-block:22px;font-size:12px}
}
@media(max-width:900px){
.site-header{position:sticky;top:0}
#main-nav.open{left:-18px;width:calc(100% + 36px);padding:0 18px 18px;box-shadow:0 12px 16px #0b2d5410}
#oznamy{scroll-margin-top:105px}
}
@media(max-width:600px){
.home-sections{width:calc(100% - 56px)}
.section-heading{align-items:flex-start;text-align:left}
#oznamy .section-heading{align-items:center;text-align:center}
.section-heading>a{background:var(--navy);color:white;padding:9px 20px;border-radius:30px;font-size:12px;letter-spacing:.08em}
.news-grid{gap:38px}
.news-card{position:relative;background:transparent;box-shadow:none;border-radius:0;border-bottom:1px solid #ccd3db}
.news-body{padding:14px 0 14px}
.news-body h3,.notice-grid h3{font-size:18px;font-weight:750;line-height:1.4}
.news-body p:not(.eyebrow){font-size:15px;line-height:1.5;color:var(--ink)}
.news-body .text-link{display:flex;width:max-content;max-width:100%;margin:26px 0 0 auto;padding:3px 10px;gap:12px;border-radius:30px;background:var(--blue);color:white;font-size:12px;line-height:1.5;letter-spacing:.05em;text-transform:uppercase}
.news-art{height:auto;aspect-ratio:1.43;border-radius:5px}
.news-grid:not(.notice-grid) .news-body>.eyebrow{position:absolute;top:8px;left:8px;background:var(--navy);color:white;border-radius:20px;padding:3px 8px;font-size:13px;font-weight:700}
.notice-grid{gap:25px}
.notice-grid .news-card{background:#e5eef9;border:0;border-radius:11px}
.notice-grid .news-body{padding:16px 15px 25px}
.notice-grid .news-body>.eyebrow{font-size:14px;padding-bottom:6px;border-bottom:1px solid #b7c6d8;margin-bottom:10px;color:var(--ink)}
.notice-grid .news-body .text-link{margin-top:12px}
.home-sections>.section:nth-child(2){position:relative;padding-bottom:72px}
.home-sections>.section:nth-child(2) .section-heading>a{position:absolute;bottom:0;left:50%;transform:translateX(-50%)}
.link-grid{gap:24px}.info-card{align-items:flex-start;text-align:left;min-height:0;padding:20px 14px;border-radius:5px}.info-card h3{font-size:18px;margin:8px 0 12px}.info-card .eyebrow{font-size:10px;margin-bottom:0}
.home-sections>.section:nth-child(5) .info-card{position:relative;min-height:58px;justify-content:center;background:var(--navy);color:white;padding:16px 48px 16px 15px}
.home-sections>.section:nth-child(5) .info-card>svg,.home-sections>.section:nth-child(5) .info-card>span{display:none}
.home-sections>.section:nth-child(5) .info-card h3{font-size:16px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;color:white;margin:0}
.home-sections>.section:nth-child(5) .info-card:after{content:'›';position:absolute;right:13px;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:30px;height:30px;background:white;color:var(--navy);border-radius:50%;font-size:26px;line-height:1}
.feature-card{border-radius:5px;padding:28px 24px 34px;background:var(--blue);color:white}.feature-card h2,.feature-card .eyebrow{color:white}.feature-card .eyebrow{font-size:15px;letter-spacing:0}.feature-card h2{font-size:32px;margin-bottom:30px}.feature-card .button{background:white;color:var(--blue);margin-top:14px}
.feature-card:nth-child(2){background:white;color:var(--ink);box-shadow:0 5px 22px #102b4410}.feature-card:nth-child(2) h2,.feature-card:nth-child(2) .eyebrow{color:var(--navy)}.feature-card:nth-child(2) .button{background:var(--navy);color:white}
.footer-grid{text-align:center;gap:45px}.footer-grid>nav{align-items:center}.footer-grid a,.footer-grid p{font-size:15px}.footer-grid>nav a{text-decoration:underline;text-underline-offset:5px;text-decoration-color:#8b9eb2}.footer-grid .brand{align-items:center}.footer-bottom{justify-content:center;text-align:center;gap:20px}
}

/* Full historic articles and logo-only masthead. */
.article-table{overflow-x:auto;max-width:100%;margin:24px 0;-webkit-overflow-scrolling:touch}
.article-table table{min-width:540px}.entry-content{overflow-wrap:anywhere}.entry-content ol ol{list-style-type:lower-alpha}.pagination{flex-wrap:wrap}
.site-header .brand{min-width:150px;justify-content:flex-start}.site-header .brand-mark{width:150px;justify-content:flex-start}.site-header .header-inner .brand-mark img{height:120px;width:auto;max-width:100%;object-fit:contain}
@media(max-width:900px){.site-header .brand{min-width:100px}.site-header .brand-mark{width:100px}.site-header .header-inner .brand-mark img{height:84px}.header-inner{min-height:104px}}

.inner-main h1,.inner-main h2,.inner-main h3,.breadcrumbs{overflow-wrap:anywhere}.inner-main article,.entry-content{min-width:0;max-width:100%}.entry-content{width:min(800px,100%)}

.article-table th,.article-table td{overflow-wrap:normal;word-break:normal;min-width:110px}
/* Atlas from the supplied Word document. */
.entry-content:has(.atlas-grid){width:100%;max-width:1100px}
.atlas-note{padding:20px 24px;background:#edf4f7;border-left:4px solid #36728c;border-radius:0 14px 14px 0;max-width:850px}
.atlas-note p{margin:8px 0 0;font-size:15px}
.atlas-tools{max-width:600px;margin:32px 0 20px}
.atlas-tools label{display:block;font-weight:700;margin-bottom:9px}
.atlas-tools input{width:100%;padding:14px 16px;border:1px solid #9cadb8;border-radius:10px;font:inherit;background:white;color:#14334b}
.atlas-tools input:focus{outline:3px solid #8bbad0;outline-offset:2px}
#atlas-count{font-size:14px;color:#526778;margin-top:10px}
.atlas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:26px 0 40px}
.fish-card{border:1px solid #dbe5e8;border-radius:16px;overflow:hidden;background:white;padding:20px;min-width:0}
.fish-picture{height:95px;display:flex;align-items:center;justify-content:center;background:#edf7f2;border-radius:10px;margin-bottom:20px}
.entry-content .fish-picture img{width:180px;max-width:100%;height:auto;max-height:80px;object-fit:contain;margin:0;border-radius:0}
.inner-main .fish-card h2{font-size:21px;margin:0 0 18px;line-height:1.25}
.fish-card dl{margin:0}.fish-card dt{font-size:12px;font-weight:600;color:#617380;margin-top:14px}.fish-card dd{font-size:16px;margin:4px 0 0;color:#15354b}
.fish-card[hidden],.atlas-tools[hidden],#atlas-empty[hidden]{display:none}
@media(max-width:800px){.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.atlas-grid{grid-template-columns:1fr;gap:16px}.atlas-note{padding:18px}.fish-picture{height:85px}}
/* Larger, attributed atlas images. */
.fish-picture{height:190px;background:#f4f7f8;margin-bottom:18px}
.fish-picture a{display:flex;width:100%;height:100%;align-items:center;justify-content:center;border-radius:10px;overflow:hidden}
.entry-content .fish-picture img{width:100%;height:100%;max-height:190px;object-fit:contain}
.fish-picture a:focus-visible{outline:3px solid #397d9a;outline-offset:3px}
.fish-credit{font-size:12px;color:#526778;margin-top:20px;border-top:1px solid #e1e8ec;padding-top:12px}
.fish-credit summary{cursor:pointer;font-weight:600}
.entry-content .fish-credit p{font-size:12px;line-height:1.6;margin:10px 0 0}
@media(max-width:540px){.fish-picture{height:180px}.entry-content .fish-picture img{max-height:180px}}

.atlas-ai-note{color:#526778;font-size:14px;line-height:1.7;max-width:850px}.entry-content p.fish-credit{font-size:12px;color:#526778;margin:18px 0 0;padding-top:12px}

/* Desktop masthead: logo and navigation share one row. */
@media(min-width:901px){
.site-header .header-inner{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:30px;width:min(1440px,calc(100% - 48px));padding-block:12px;min-height:112px}
.site-header .header-inner>.brand{padding:0;min-width:70px;flex:0 0 auto}
.site-header .brand-mark{width:auto;padding:0;background:transparent}
.site-header .header-inner .brand-mark img{height:96px;width:auto;max-width:none}
.site-header #main-nav{width:auto;flex:1;min-width:0;border-top:0;padding:0;justify-content:flex-end;gap:24px}
.site-header #main-nav>ul{flex-wrap:nowrap;gap:clamp(12px,1.6vw,28px)}
.site-header #main-nav>ul>li>a{white-space:nowrap;padding:18px 0}
.site-header #main-nav .search-form{flex:0 0 100px;width:100px}
.site-header #main-nav .search-form input{width:66px}
}
@media(min-width:901px) and (max-width:1100px){
.site-header .header-inner{gap:18px;width:calc(100% - 36px)}
.site-header #main-nav{gap:14px}
.site-header #main-nav>ul{gap:12px}
.site-header #main-nav>ul>li>a{font-size:13px}
.site-header #main-nav .search-form{flex-basis:78px;width:78px}
.site-header #main-nav .search-form input{width:44px}
}
