
/* Rhythm-inspired, original unified visual system — all pages */
:root{--site-width:1120px;--site-gutter:clamp(18px,3vw,32px);--gold:#dfba72}
html{scroll-padding-top:100px}body{overflow-x:hidden}
.rh-header{background:rgba(3,9,18,.95);border-bottom:1px solid rgba(223,186,114,.23);box-shadow:0 8px 30px rgba(0,0,0,.22)}
.rh-header .rh-nav{max-width:1200px!important;width:100%;padding:0 var(--site-gutter)!important;min-height:78px;gap:26px!important;flex-wrap:nowrap!important}
.rh-header .brand{font-size:23px;line-height:1.05;letter-spacing:.035em;white-space:nowrap}
.rh-header .brand small{font-size:9px;letter-spacing:.23em}
.rh-header .rh-links{display:flex;flex-wrap:nowrap!important;align-items:center;justify-content:flex-end;gap:5px!important;width:auto}
.rh-header .rh-links>a,.rh-header .rh-group>summary{font:600 12px/1.4 Inter,Arial,sans-serif!important;letter-spacing:.045em;text-transform:uppercase;color:#e7e9ed!important;min-height:78px;padding:0 12px!important;display:flex!important;align-items:center;justify-content:center;white-space:nowrap!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;cursor:pointer}
.rh-header .rh-links>a:hover,.rh-header .rh-links>a.active,.rh-header .rh-group>summary:hover,.rh-header .rh-group.current>summary{color:#e9bf79!important}
.rh-header .rh-group{position:relative;align-self:auto!important}
.rh-header .rh-group>summary:after{content:'⌄';margin-left:8px;font-size:15px;line-height:1;transform:translateY(-2px)}
.rh-header .nav-dropdown{position:absolute;left:0;right:auto;top:calc(100% - 1px);width:265px;max-height:75vh;overflow-y:auto;padding:10px!important;background:#101b2b!important;border:1px solid #806844!important;border-top:2px solid #d7ac66!important;border-radius:0 0 9px 9px!important;box-shadow:0 20px 42px #0009!important;display:grid;grid-template-columns:1fr;gap:1px}
.rh-header .nav-dropdown a{display:block!important;padding:12px 14px!important;font:500 13px/1.5 Inter,Arial,sans-serif!important;min-height:0!important;text-align:left!important;text-transform:none!important;letter-spacing:0!important;color:#e6e9ee!important;background:none!important;border:0!important;border-radius:5px!important;white-space:normal!important}
.rh-header .nav-dropdown a:hover,.rh-header .nav-dropdown a.active{background:#24334a!important;color:#e9bf79!important}
.rh-header .rh-links>a.rh-join{min-height:39px!important;padding:0 18px!important;margin-left:10px;border:1px solid #d3ab68!important;border-radius:3px!important;color:#efcd92!important;letter-spacing:.06em}
.rh-header .rh-links>a.rh-join:hover{background:#dfba72!important;color:#0b1522!important}
/* Shared centered column, including footer. No drifting or clipped left edge. */
.wrap{width:100%;max-width:var(--site-width)!important;margin-left:auto!important;margin-right:auto!important;padding-left:var(--site-gutter)!important;padding-right:var(--site-gutter)!important}
.euch-shell{width:100%;max-width:var(--site-width)!important;margin-left:auto!important;margin-right:auto!important;padding:54px var(--site-gutter) 82px!important}
.euch-shell .euch-intro{max-width:850px}
.euch-shell .euch-story section{padding:clamp(22px,3vw,34px)!important;margin:20px 0!important;border:1px solid #344255!important;border-radius:12px!important;background:linear-gradient(145deg,#101d2e,#0c1727)!important}
.euch-shell .euch-story h2{font-size:clamp(19px,2.2vw,25px);line-height:1.4}
.euch-shell .euch-story p{max-width:100%;line-height:1.85}
.euch-shell .legion-hero{max-width:100%;width:100%;object-fit:contain}
footer{overflow:hidden;padding-top:50px!important}
footer .footer-grid{width:100%;max-width:var(--site-width)!important;display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(0,.8fr) minmax(0,.9fr)!important;gap:clamp(28px,5vw,70px)!important;align-items:start!important;padding-top:0!important}
footer .footer-grid>*{min-width:0!important}footer .footer-about p{max-width:360px}footer .footer-bottom{max-width:var(--site-width)!important}
/* Typography and visual rhythm */
.pagehead{padding:76px 0 48px}.pagehead h1{font-size:clamp(34px,4.7vw,60px);line-height:1.18}
.card,.feature-tile,.euch-card{border-radius:12px;box-shadow:0 12px 32px #0002}
@media(min-width:1051px){.rh-header .rh-group:hover>.nav-dropdown{display:grid}}
@media(max-width:1050px){
.rh-header .rh-nav{min-height:72px;flex-wrap:wrap!important;padding:12px var(--site-gutter)!important}
.rh-header .menu{display:block!important;margin-left:auto!important;border:1px solid #977849!important;background:transparent!important;color:#e8c58a!important;border-radius:4px!important;padding:9px 14px!important;font-size:14px!important}
.rh-header .rh-links{display:none!important;position:absolute!important;top:100%!important;left:0!important;right:0!important;width:100%!important;max-height:calc(100dvh - 72px)!important;overflow:auto!important;background:#07111e!important;padding:15px var(--site-gutter) 24px!important;box-shadow:0 20px 32px #0009;flex-direction:column!important;align-items:stretch!important;gap:2px!important}
.rh-header .rh-links.show{display:flex!important}
.rh-header .rh-links>a,.rh-header .rh-group>summary{justify-content:flex-start!important;min-height:48px!important;padding:13px 12px!important;width:100%!important;font-size:13px!important}
.rh-header .rh-group{width:100%!important;align-self:stretch!important}
.rh-header .nav-dropdown{position:static!important;width:100%!important;max-height:none!important;box-shadow:none!important;border:0!important;border-left:2px solid #9c7843!important;border-radius:0!important;margin:0 0 10px 10px!important;padding:4px 8px!important;background:#0c192a!important}
.rh-header .rh-links>a.rh-join{margin:12px 0 0!important;width:max-content!important;min-height:42px!important;padding:0 20px!important}
}
@media(max-width:700px){
.euch-shell{padding:35px var(--site-gutter) 65px!important}
.euch-shell .euch-story section{padding:21px 19px!important}
footer .footer-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:28px 18px!important}
footer .footer-about{grid-column:1/-1!important}
footer .footer-bottom{flex-direction:column;align-items:flex-start}
}
@media(max-width:390px){footer .footer-grid{grid-template-columns:1fr!important}footer .footer-about{grid-column:auto!important}}

/* V8: more legible desktop menu, reliable hover dropdown and aligned contact */
@media(min-width:1051px){
.rh-header .rh-nav{max-width:1320px!important;gap:16px!important}
.rh-header .rh-links>a,.rh-header .rh-group>summary{font-size:14px!important;letter-spacing:.055em;padding:0 10px!important;font-weight:700!important}
.rh-header .rh-group:not([open])>.nav-dropdown{display:none!important}
.rh-header .rh-group:hover>.nav-dropdown,.rh-header .rh-group[open]>.nav-dropdown{display:grid!important}
}
/* All pages share a centered content width */
main>.contact,main>section>.contact,main>section>.contact-refined{width:calc(100% - 2 * var(--site-gutter))!important;max-width:calc(var(--site-width) - 2 * var(--site-gutter))!important;margin-inline:auto!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important}
.contact-refined .contact-panel{min-width:0!important;overflow-wrap:anywhere}
.contact-refined .contact-panel h2{font-size:clamp(25px,2.7vw,36px)!important}
.contact-refined .contact-panel h3{font-size:clamp(20px,2vw,26px)!important}
.contact-refined .contact-panel input,.contact-refined .contact-panel textarea{max-width:100%;min-width:0}
.prayer-library-section{padding:56px 0 85px}
.prayer-library-intro{margin-bottom:35px}.prayer-library-intro h2{font-size:clamp(26px,3.2vw,40px)}
.prayer-library-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(24px,4vw,55px);align-items:center;padding:clamp(18px,3vw,36px);border:1px solid #b9955966;background:linear-gradient(145deg,#122438,#0b1726);border-radius:14px}
.prayer-library-image img{width:100%;max-height:650px;object-fit:contain;border-radius:9px}
.prayer-library-copy h3{font-size:clamp(23px,2.7vw,34px);color:var(--gold);line-height:1.3}
.prayer-library-copy p{line-height:1.9}.prayer-library-note{margin-top:30px;color:var(--gold)}
@media(max-width:1050px){.rh-header .rh-group:not([open])>.nav-dropdown{display:none!important}.rh-header .rh-group[open]>.nav-dropdown{display:grid!important}}
@media(max-width:750px){main>section>.contact,main>section>.contact-refined{grid-template-columns:minmax(0,1fr)!important}.prayer-library-card{grid-template-columns:minmax(0,1fr)}}

/* Reflections: reusable 3-column editorial cards */
.reflections-section{padding:75px 0 88px;background:linear-gradient(180deg,#091725,#0a1929)}
.reflections-section .center{margin-bottom:36px}
.reflections-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;align-items:stretch}
.reflection-card{min-width:0;display:flex;flex-direction:column;background:#0c1b2c;border:1px solid rgba(208,166,98,.28);border-radius:12px;overflow:hidden;transition:transform .2s,border-color .2s}
.reflection-card:hover{transform:translateY(-4px);border-color:#d3a75f}
.reflection-image{display:block;aspect-ratio:16/10;overflow:hidden}
.reflection-image img{width:100%;height:100%;object-fit:cover;object-position:center 38%;display:block;transition:transform .3s}
.reflection-card:hover img{transform:scale(1.04)}
.reflection-art{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:20px;background:radial-gradient(ellipse at 70% 15%,#44604a,#182b30 58%,#0b1928);color:#f2d8a2}
.reflection-art span{font-size:2.5rem}.reflection-art strong{font-family:Georgia,serif;font-size:clamp(1.25rem,2.1vw,1.9rem);line-height:1.2}
.reflection-body{display:flex;flex-direction:column;flex:1;padding:25px 24px 27px}
.reflection-body h3{font-family:Georgia,serif;color:#f0c779;font-size:clamp(1.25rem,1.7vw,1.55rem);line-height:1.3;margin:12px 0 15px}
.reflection-body p{line-height:1.75;margin:0 0 28px;flex:1}
.reflection-body .reading-link{margin-top:auto}.reflections-cta{margin-top:34px!important}
.flower-hero{height:clamp(250px,37vw,410px);border:1px solid #9e8155;border-radius:14px;margin:30px 0;background:radial-gradient(ellipse at 70% 30%,#4e5d48,#1b3540 50%,#0b1423 85%);display:flex;align-items:center;justify-content:center;text-align:center;padding:25px}
.flower-hero-inner{display:flex;flex-direction:column;gap:14px;align-items:center}
.flower-hero-inner span{font-size:.85rem;letter-spacing:.2em;color:#e9c98d}
.flower-hero-inner strong{font:700 clamp(2rem,5vw,4rem)/1.13 Georgia,serif;color:#f5dfb2}
.flower-hero-inner small{font-size:clamp(.88rem,1.4vw,1.05rem);color:#f0f1ec}
@media(max-width:900px){.reflections-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.reflections-grid{grid-template-columns:1fr}.reflections-section{padding:52px 0}.reflection-body{padding:22px}}

/* Final polish 31 Oct 2026 */
.rh-header .nav-subgroup>summary{position:relative;padding-right:40px!important}
.rh-header .nav-subgroup>summary::after{content:'⌄';position:absolute;right:15px;top:50%;transform:translateY(-58%);font-size:1.35rem;font-weight:700;color:#eac17b}
.rh-header .nav-dropdown,.rh-header .nav-subdropdown{transition:opacity .24s ease,transform .24s ease,visibility .24s ease;will-change:opacity,transform}
@media(min-width:1251px){.rh-header .nav-more .nav-dropdown,.rh-header .nav-subgroup .nav-subdropdown{display:block!important;opacity:0;visibility:hidden;transform:translateY(9px);pointer-events:none}.rh-header .nav-more[open]>.nav-dropdown,.rh-header .nav-subgroup[open]>.nav-subdropdown{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}}
.contact-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0;margin:48px auto 75px;align-items:start}
.contact-left{padding-right:38px;display:grid;gap:22px}.contact-right{border-left:1px solid rgba(220,181,105,.4);padding-left:38px;min-width:0}
.contact-layout .contact-panel{width:100%;min-width:0}.contact-layout .contact-panel h2,.contact-layout .contact-panel h3{margin-top:0}.contact-layout form{width:100%;max-width:100%}.contact-layout input,.contact-layout textarea{max-width:100%;box-sizing:border-box}
.contact-right>img{width:100%;max-height:280px;object-fit:cover;object-position:center 38%;border-radius:10px;margin:12px 0 25px}.contact-right>h2{font-family:Georgia,serif;color:#e8bf7b;font-size:clamp(1.6rem,2.7vw,2.4rem)}
.form-fallback{font-size:.88rem;line-height:1.65;margin-top:17px;color:#d8dce3}.form-fallback a{color:#f0c779;overflow-wrap:anywhere}
.home-extra-section{padding:64px 0}.home-extra-title{text-align:center;font:700 clamp(2rem,4vw,3rem)/1.2 Georgia,serif;color:#e8c183;margin:12px 0}.home-extra-lead{text-align:center;max-width:780px;margin:0 auto 34px}.home-extra-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:22px}.home-extra-card{display:flex;flex-direction:column;min-width:0;padding:23px;background:#0d1b2a;border:1px solid #594d3a;border-radius:12px;text-decoration:none;color:#f1f1f1;transition:transform .2s,border-color .2s}.home-extra-card:hover{transform:translateY(-4px);border-color:#e6ba6a}.home-extra-card img{width:100%;max-height:220px;object-fit:cover;border-radius:8px}.home-extra-card h3{font:700 1.35rem Georgia,serif;color:#e8bf7b}.home-extra-card p{flex:1;line-height:1.7}.home-extra-card span{color:#e8bf7b;font-weight:700}.home-extra-link{display:table;margin:30px auto 0}
.cookies{position:fixed!important;bottom:0!important;left:0!important;right:0!important;z-index:99999!important;max-height:min(80dvh,560px);overflow-y:auto;background:#101e2c!important;border-top:1px solid #b99759;box-shadow:0 -12px 45px #0009;padding:18px max(16px,calc((100vw - 1160px)/2))!important}.cookie-inner{display:flex;align-items:center;gap:25px;justify-content:space-between}.cookie-inner>div:first-child{flex:1;min-width:0}.cookie-inner p{margin:7px 0;line-height:1.55}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.cookie-actions button{cursor:pointer;border:1px solid #c9a468;border-radius:6px;padding:10px 13px;background:#172c40;color:#f6d59a}.cookie-actions button:last-child{background:#d5ae6b;color:#07121e}.cookie-preferences{margin-top:10px}.cookie-preferences label{display:block;margin:6px 0}
@media(max-width:850px){.contact-layout{grid-template-columns:1fr;gap:32px;margin:30px auto 55px}.contact-left{padding:0}.contact-right{border-left:0;border-top:1px solid rgba(220,181,105,.4);padding:30px 0 0}.cookie-inner{display:block}.cookie-actions{justify-content:stretch;margin-top:12px}.cookie-actions button{flex:1 1 45%}}
@media(max-width:480px){.cookies{padding:14px 12px!important;font-size:.88rem}.cookie-actions button{padding:9px 7px}.home-extra-section{padding:42px 0}}

/* October 31 visual refinement */
.hero-new .wrap{text-align:center}.hero-legia-logo{display:block;width:clamp(110px,14vw,190px);height:auto;margin:0 auto 22px;filter:drop-shadow(0 10px 24px #0008)}
.footer-legia-logo{display:block;width:95px;height:auto;margin:0 0 18px}
.home-extra-grid:has(.quote-preview){grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.quote-preview{display:block;overflow:hidden;border-radius:12px;border:1px solid rgba(221,178,99,.45);background:#0c1724;transition:transform .35s ease,border-color .35s ease}
.quote-preview img{display:block;width:100%;height:310px;object-fit:cover;object-position:center 32%;transition:transform .65s ease}
.quote-preview:hover{transform:translateY(-5px);border-color:#e7bc71}.quote-preview:hover img{transform:scale(1.045)}
.rh-header .rh-links>a,.rh-header .rh-group>summary{font-family:'Avenir Next',Montserrat,'Century Gothic',Arial,sans-serif!important;font-weight:650!important;letter-spacing:.065em!important}
@media(min-width:1251px){.rh-header .nav-more .nav-dropdown,.rh-header .nav-subgroup .nav-subdropdown{transition:opacity .42s ease,transform .42s cubic-bezier(.22,.61,.36,1),visibility .42s!important;transform:translateY(14px)}.rh-header .nav-subgroup .nav-subdropdown{transform:translate(0,12px)}.rh-header .nav-subgroup[open]>.nav-subdropdown{transform:translate(0,0)}}
.contact-right .member-form{margin-top:26px;display:grid;gap:14px}.member-form label{display:grid;gap:7px}.member-form .member-check{display:block;line-height:1.6}.member-form .member-check input{width:auto!important;margin-right:8px}.member-form button{justify-self:start}
@media(max-width:800px){.home-extra-grid:has(.quote-preview){grid-template-columns:repeat(2,minmax(0,1fr))}.quote-preview img{height:270px}}
@media(max-width:520px){.home-extra-grid:has(.quote-preview){grid-template-columns:1fr}.quote-preview img{height:330px;object-fit:contain;background:#07111d}.hero-legia-logo{width:120px}.footer-legia-logo{width:80px}}

/* Verzia 010: zjednotená navigácia, pätička a tmavý súhlas cookies */
.rh-header .nav-dropdown a,
.rh-header .nav-dropdown .nav-subgroup>summary,
.rh-header .nav-subdropdown a {
 font-family:'Century Gothic','Avenir Next','Montserrat','Inter',Arial,sans-serif!important;
 font-size:13px!important;font-weight:400!important;letter-spacing:.035em!important;
 line-height:1.5!important;
}
.rh-header .nav-subdropdown a{font-style:italic!important;font-weight:400!important}
.footer-column .footer-cookie-nav.footer-nav-link{
 display:block!important;width:auto!important;text-align:left!important;
 font-family:Inter,Arial,sans-serif!important;font-size:14px!important;
 font-weight:400!important;line-height:1.75!important;letter-spacing:normal!important;
 padding:0!important;margin:0!important;background:none!important;border:0!important;
 color:#d2d9e0!important;text-decoration:none!important;
}
.footer-column .footer-cookie-nav.footer-nav-link:hover{color:#dfba72!important}
.cookies{
 left:20px!important;right:20px!important;bottom:20px!important;
 width:min(720px,calc(100% - 40px))!important;max-width:720px!important;
 padding:26px 28px!important;background:linear-gradient(145deg,#132337,#08131f)!important;
 color:#f6f0e5!important;border:1px solid rgba(223,186,114,.62)!important;
 border-radius:16px!important;box-shadow:0 18px 65px rgba(0,0,0,.75)!important;
}
.cookies .cookie-heading,.cookies .cookie-heading strong{color:#efcb89!important}
.cookies .cookie-heading span{color:#e8bd74!important}
.cookies p{color:#d4dce7!important;font-size:14px!important}
.cookies .cookie-actions{justify-content:flex-start!important;gap:10px!important}
.cookies .btn{border-radius:7px!important;background:#e1bb77!important;color:#0a1625!important;
 border:1px solid #e1bb77!important;font-size:13px!important;line-height:1.35!important;
 padding:12px 15px!important;transition:background .2s ease,transform .2s ease!important}
.cookies .btn:hover{transform:translateY(-2px)!important;background:#f1d49b!important}
.cookies .btn.outline{background:#17283c!important;color:#f3d7a7!important;
 border-color:rgba(225,187,119,.55)!important}
.cookies .btn.outline:hover{background:#243c55!important}
.cookies .cookie-preferences{border-top:1px solid rgba(225,187,119,.25)!important}
.cookies .cookie-preferences label{color:#e4e9ef!important;font-size:13px!important}
.cookies .cookie-preferences input{accent-color:#dfba72!important}
@media(max-width:600px){
 .cookies{left:10px!important;right:10px!important;bottom:10px!important;
 width:calc(100% - 20px)!important;padding:18px!important;border-radius:12px!important}
 .cookies .cookie-actions{display:grid!important;grid-template-columns:1fr!important}
 .cookies .cookie-actions .btn{width:100%!important;text-align:center!important}
}
