.legends-page{--lg-ink:var(--navy,#0c2a3b);--lg-accent:var(--teal-600,#13808b);--lg-surface:var(--surface,#fff);--lg-line:var(--border,#dce8ea);color:var(--lg-ink)}
.legends-intro{background:linear-gradient(115deg,#eff8f7,#f7faf7);border-bottom:1px solid var(--lg-line);overflow:hidden}
.legends-intro-in{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:60px;align-items:center;padding-top:30px;padding-bottom:48px}
.legends-crumbs{display:flex;gap:12px;align-items:center;font-size:.76rem;color:#5a777b;margin-bottom:32px}.legends-crumbs a{color:inherit;text-decoration:none}.legends-crumbs a:hover{text-decoration:underline}
.legends-eyebrow{display:flex;align-items:center;gap:9px;margin:0 0 13px;font-size:.68rem;line-height:1.5;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--lg-accent)}
.legends-intro h1{font-family:var(--serif,'DM Serif Display',serif);font-size:clamp(3rem,6vw,5.2rem);font-weight:400;line-height:1.02;margin:0 0 18px;letter-spacing:-.035em}
.legends-intro-text{max-width:640px;font-size:1rem;line-height:1.8;color:#526d73;margin:0}.legends-intro-note{padding-inline-start:34px;border-inline-start:1px solid #c7ddda;align-self:end}.legends-intro-note>span{font-family:'Parisienne',cursive;font-size:2rem;color:#167e83}.legends-intro-note p{font-family:var(--serif,'DM Serif Display',serif);font-size:1.75rem;line-height:1.25;margin:9px 0 17px}.legends-intro-note i{display:block;width:64px;height:3px;background:linear-gradient(90deg,#13808b,#d5b974);border-radius:2px}
.legends-content{padding-top:30px;padding-bottom:64px}.legends-search{display:flex;align-items:center;gap:12px;margin-bottom:36px;padding:10px;border:1px solid var(--lg-line);border-radius:16px;background:var(--lg-surface);box-shadow:0 5px 20px #0c2a3b04}.legends-search-field{display:flex;align-items:center;gap:12px;flex:1;min-width:0;padding-inline:12px;color:var(--lg-accent)}.legends-search-field input{border:0!important;box-shadow:none!important;background:transparent!important;width:100%;min-width:0;padding:10px 0;color:var(--lg-ink);font:inherit;font-size:.87rem}.legends-search-field:focus-within{outline:2px solid var(--lg-accent);outline-offset:2px;border-radius:6px}.legends-search .btn{min-height:46px;flex:none;gap:16px;padding-inline:24px}.legends-category{max-width:240px}.legends-category select{margin:0;min-height:46px;max-width:100%}.legends-clear{font-size:.8rem;padding:10px;white-space:nowrap;color:var(--lg-accent)}
.legends-feature{position:relative;display:grid;grid-template-columns:1.15fr 1fr;border-radius:24px;overflow:hidden;border:1px solid var(--lg-line);background:var(--lg-surface);margin-bottom:52px}.legends-feature-image{display:block;min-height:360px;overflow:hidden;background:#e8f0ef}.legends-feature-image img{display:block;width:100%;height:100%;max-height:430px;object-fit:cover;object-position:center 38%}.legends-feature-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(24px,4vw,58px)}.legends-feature-copy .legends-eyebrow>span{width:7px;height:7px;border-radius:50%;background:#c5a25b}.legends-feature h2{font-family:var(--serif,'DM Serif Display',serif);font-size:clamp(2rem,3.5vw,3.3rem);font-weight:400;line-height:1.12;letter-spacing:-.02em;margin:4px 0 18px}.legends-feature h2 a{color:inherit;text-decoration:none}.legends-description{color:var(--muted,#62747c);font-size:.95rem;line-height:1.8;margin:0 0 28px}.legends-read{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:20px;border-top:1px solid var(--lg-line);color:var(--lg-accent);font-size:.85rem;font-weight:800;text-decoration:none}.legends-read>span{display:grid;place-items:center;width:42px;height:42px;border:1px solid #b9d5d6;border-radius:50%}
.legends-section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:24px}.legends-section-head .legends-eyebrow{margin-bottom:8px}.legends-section-head h2,.legends-explore h2{font-family:var(--serif,'DM Serif Display',serif);font-size:clamp(1.8rem,3vw,2.6rem);font-weight:400;line-height:1.15;margin:0;letter-spacing:-.02em}.legends-count{font-size:.76rem;color:var(--muted,#62747c);white-space:nowrap;padding-bottom:5px}
.legends-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 24px}.legends-card{min-width:0;border:1px solid var(--lg-line);border-radius:17px;overflow:hidden;background:var(--lg-surface);transition:box-shadow .2s,transform .2s}.legends-card-link{position:relative;display:flex;flex-direction:column;height:100%;text-decoration:none;color:inherit}.legends-card-image{position:relative;aspect-ratio:3/2;background:#e8f0ef;overflow:hidden}.legends-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}.legends-card-image>span{position:absolute;bottom:14px;inset-inline-start:16px;display:grid;place-items:center;background:#fff;color:#13808b;width:34px;height:34px;border-radius:10px}.legends-card-copy{display:flex;flex-direction:column;flex:1;padding:22px}.legends-card h3{font-family:var(--serif,'DM Serif Display',serif);font-size:1.5rem;font-weight:400;line-height:1.2;margin:0 0 10px}.legends-card p{font-size:.82rem;line-height:1.65;color:var(--muted,#62747c);margin:0 0 22px}.legends-card-more{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:16px;border-top:1px solid var(--lg-line);color:var(--lg-accent);font-size:.76rem;font-weight:800}.legends-page a:focus-visible,.legends-page button:focus-visible{outline:3px solid var(--lg-accent);outline-offset:4px}.legends-card:has(a:focus-visible){overflow:visible}
@media(hover:hover){.legends-card:hover{transform:translateY(-4px);box-shadow:0 12px 30px #0c2a3b0c}.legends-card:hover img{transform:scale(1.025)}.legends-feature h2 a:hover{color:var(--lg-accent)}}
.legends-empty{padding:48px 24px;text-align:center;border:1px dashed var(--lg-line);border-radius:18px;background:var(--lg-surface)}.legends-empty h3{margin:0 0 12px}.legends-empty p{color:var(--muted);margin-bottom:22px}
.legends-explore{display:grid;grid-template-columns:1fr 1.5fr;gap:40px;padding:32px;margin-top:52px;background:var(--tint,#eef6f5);border-radius:20px}.legends-explore .link-arrow{display:inline-flex;margin-top:20px;font-size:.82rem}.legends-places{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.legends-places>a{display:flex;gap:14px;align-items:center;text-decoration:none;color:inherit;min-width:0}.legends-places img{width:64px;height:72px;object-fit:cover;border-radius:9px;flex:none}.legends-places span{min-width:0}.legends-places small{display:block;text-transform:uppercase;letter-spacing:.08em;font-size:.59rem;color:var(--lg-accent);margin-bottom:6px}.legends-places strong{display:block;font-size:.84rem;line-height:1.5}.legends-places .ic-dir{flex:none;margin-inline-start:auto}
html[data-theme=dark] .legends-page{--lg-surface:var(--surface-2,#142c35);--lg-line:#314851}html[data-theme=dark] .legends-intro{background:linear-gradient(115deg,#132f37,#172d32)}html[data-theme=dark] .legends-crumbs,html[data-theme=dark] .legends-intro-text{color:#a9c0c4}html[data-theme=dark] .legends-intro-note{border-color:#35545a}html[data-theme=dark] .legends-intro-note>span{color:#71c2c5}html[data-theme=dark] .legends-page{--lg-ink:#e5eff1;--lg-accent:#71c2c5}
@media(max-width:1000px){.legends-intro-in{grid-template-columns:1fr 210px;gap:30px}.legends-feature-copy{padding:30px}.legends-feature-image{min-height:320px}.legends-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.legends-explore{grid-template-columns:1fr;gap:26px}}
@media(max-width:600px){.legends-intro-in{display:block;padding-top:22px;padding-bottom:30px}.legends-crumbs{margin-bottom:25px}.legends-intro-note{display:none}.legends-intro h1{font-size:3.2rem}.legends-intro-text{font-size:.88rem;line-height:1.75}.legends-content{padding-top:20px;padding-bottom:38px}.legends-search{flex-wrap:wrap;gap:8px;margin-bottom:24px;padding:8px}.legends-search-field{flex-basis:calc(100% - 130px);padding-inline:5px;gap:8px}.legends-search-field input{font-size:.78rem}.legends-search .btn{padding-inline:14px;font-size:.75rem;gap:8px}.legends-category{max-width:none;flex:1;order:3}.legends-clear{order:4}.legends-feature{grid-template-columns:1fr;border-radius:18px;margin-bottom:34px}.legends-feature-image{min-height:0;aspect-ratio:4/3}.legends-feature-image img{max-height:none}.legends-feature-copy{padding:25px}.legends-feature h2{font-size:2rem}.legends-description{font-size:.85rem;margin-bottom:20px}.legends-section-head{gap:10px;align-items:center}.legends-section-head h2{font-size:1.85rem}.legends-section-head .legends-eyebrow{font-size:.6rem}.legends-grid{grid-template-columns:1fr;gap:20px}.legends-card-copy{padding:21px}.legends-card h3{font-size:1.6rem}.legends-explore{padding:24px;margin-top:34px}.legends-places{grid-template-columns:1fr}.legends-eyebrow{font-size:.62rem}}
@media(prefers-reduced-motion:reduce){.legends-card,.legends-card-image img{transition:none}.legends-card:hover{transform:none}}

/* Rijeka, kamen i predanja: a compact masthead and a photographic opening. */
.legends-intro{position:relative;background:#f0f6f3}.legends-intro::after{content:"";position:absolute;width:560px;height:340px;border:1px solid #b9d5cc;border-radius:50%;inset-inline-end:-130px;top:-100px;box-shadow:0 0 0 24px #c8ddd333,0 0 0 49px #c8ddd322,0 0 0 74px #c8ddd311;pointer-events:none}.legends-intro-in{position:relative;z-index:1;padding-top:22px;padding-bottom:28px;gap:40px}.legends-crumbs{margin-bottom:18px}.legends-intro h1{font-size:clamp(2.8rem,5vw,4.2rem);margin-bottom:12px}.legends-intro-text{font-size:.9rem;max-width:650px}.legends-intro-note{border:0;padding-inline-start:30px}.legends-intro-note p{font-size:1.55rem;margin:5px 0 10px}.legends-intro-note>span{font-size:1.6rem}.legends-content{padding-top:22px}.legends-search{margin-bottom:26px;border-radius:12px;box-shadow:none}
.legends-feature{display:block;min-height:440px;border:0;border-radius:18px;margin-bottom:42px;background:#102f36;isolation:isolate}.legends-feature-image{position:absolute;inset:0;min-height:0}.legends-feature-image img{max-height:none;object-position:center 20%}.legends-feature::after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#062a35ee 0%,#062a35c7 34%,#062a3540 75%,#062a3510)}.legends-feature-image{z-index:-2}.legends-feature-copy{min-height:440px;width:58%;padding:46px;justify-content:end;color:#fff;pointer-events:none}.legends-feature-copy a{pointer-events:auto}.legends-feature .legends-eyebrow{color:#e3cc99;letter-spacing:.17em;font-size:.62rem}.legends-feature h2{font-size:clamp(2.1rem,3.6vw,3.5rem);color:#fff;text-wrap:balance}.legends-feature h2 a:hover{color:#f0d9ac}.legends-feature .legends-description{color:#e0e9e8;margin-bottom:19px}.legends-feature .legends-read{border-color:#ffffff38;color:#fff;max-width:330px}.legends-feature .legends-read>span{background:#ffffff14;border-color:#ffffff6b}
.legends-section-head{margin-bottom:28px}.legends-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:30px}.legends-card{border-radius:14px;box-shadow:none;border-color:#d8e4df}.legends-card-image{aspect-ratio:16/9}.legends-card-image>span{border-radius:50%;background:#f7f6ed;width:38px;height:38px}.legends-card-copy{padding:25px 27px}.legends-card h3{font-size:1.8rem;letter-spacing:-.02em}.legends-card p{font-size:.88rem}.legends-card-more{font-size:.78rem}.legends-card:nth-child(even){translate:0 28px}.legends-grid{padding-bottom:28px}.legends-explore{border-top:3px solid #cbb582;border-radius:3px 3px 18px 18px}
html[data-theme=dark] .legends-intro{background:#132f32}html[data-theme=dark] .legends-intro::after{opacity:.25}html[data-theme=dark] .legends-card{border-color:#314851}
@media(max-width:1000px){.legends-feature,.legends-feature-copy{min-height:400px}.legends-feature-copy{width:70%;padding:32px}.legends-grid{gap:24px}.legends-card h3{font-size:1.6rem}.legends-card-copy{padding:22px}}
@media(max-width:600px){.legends-intro-in{padding-top:18px;padding-bottom:23px}.legends-intro::after{width:330px;height:250px;inset-inline-end:-210px;top:-90px}.legends-crumbs{margin-bottom:18px}.legends-intro h1{font-size:2.9rem}.legends-intro-text{font-size:.83rem}.legends-intro .legends-eyebrow{margin-bottom:10px}.legends-content{padding-top:17px}.legends-search{margin-bottom:20px}.legends-feature{min-height:420px;margin-bottom:30px}.legends-feature-image{aspect-ratio:auto}.legends-feature-image img{object-position:center}.legends-feature::after{background:linear-gradient(0deg,#062a35f5,#062a35a6 45%,#062a3510 85%)}.legends-feature-copy{width:100%;min-height:420px;padding:25px}.legends-feature h2{font-size:2.2rem;max-width:290px}.legends-feature .legends-description{font-size:.84rem;margin-bottom:15px}.legends-feature .legends-read{padding-top:15px;max-width:none}.legends-grid{grid-template-columns:1fr;gap:22px;padding-bottom:0}.legends-card:nth-child(even){translate:none}.legends-card h3{font-size:1.65rem}.legends-card-copy{padding:22px}.legends-card-image{aspect-ratio:3/2}}
