/*
Theme Name: SegítőHíd – Együtt az intézményekért
Version: 4.4
Description: SegítőHíd – tiszta, előképhez igazított kezdőlap.
*/
:root{--blue:#075cbd;--green:#169b48;--navy:#082e63;--ink:#102f5e;--muted:#5a6d82;--line:#dfe7ef}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.wrap{width:min(1180px,94%);margin:0 auto}
.site-header{height:72px;background:#fff;border-bottom:1px solid #e5ebf1;position:sticky;top:0;z-index:100}.header-inner{height:100%;width:min(1280px,97%);margin:auto;display:flex;align-items:center;gap:16px}.site-logo{width:290px;flex:0 0 290px;height:64px;display:flex;align-items:center}.site-logo img{width:285px;height:58px;object-fit:contain;object-position:left center}.main-nav{display:flex;align-items:stretch;gap:14px;flex:1;height:100%;font-size:11px;font-weight:800;color:#163462;white-space:nowrap}.main-nav a{display:flex;align-items:center;border-bottom:3px solid transparent}.main-nav a:hover,.main-nav a.active{color:var(--blue);border-bottom-color:var(--blue)}.header-actions{display:flex;align-items:center;gap:7px}.search-link{border:1px solid #dbe4ec;border-radius:7px;padding:9px 11px;font-size:11px;color:#64758a;white-space:nowrap}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:11px 17px;font-size:12px;font-weight:800;border:0}.btn-small{padding:9px 13px}.btn-blue{background:#0860c6;color:#fff}.btn-green{background:#1a9c45;color:#fff}
.hero-preview{height:318px;position:relative;overflow:hidden;background:#fff}.hero-photo{position:absolute;right:0;top:0;width:70%;height:100%;background:url('assets/hero-right.jpg') center/cover no-repeat}.hero-photo:after{content:"";position:absolute;left:0;top:0;bottom:0;width:30%;background:linear-gradient(90deg,#fff,rgba(255,255,255,.75),transparent)}.hero-content{height:100%;position:relative;z-index:2;display:flex;align-items:center}.hero-copy{width:53%;padding:20px 0}.hero-logo{width:350px;height:72px;object-fit:contain;object-position:left center;margin-left:-10px}.hero-copy p{font-size:15px;line-height:1.42;max-width:535px;margin:6px 0 0;color:#233c5e}.hero-buttons{display:flex;gap:11px;margin-top:12px}.hero-slogan{position:absolute;right:2%;bottom:42px;font:italic 24px/1.05 cursive;color:#173f7b;transform:rotate(-3deg)}.hero-slogan span{font-size:38px;color:#e33a42}
.category-bar{background:#fff;box-shadow:0 7px 22px rgba(12,48,90,.14);border-radius:9px;display:grid;grid-template-columns:repeat(6,1fr) 1.55fr;overflow:hidden;position:relative;z-index:3}.category-item{height:84px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;border-right:1px solid #e5ebf1;font-size:11px}.category-item span{font-size:26px;line-height:1;margin-bottom:5px}.category-ad{height:84px;position:relative;overflow:hidden;padding:12px 18px;display:flex;justify-content:center;flex-direction:column;color:#08386e}.category-ad:before{content:"";position:absolute;inset:0 0 0 42%;background:url('assets/painting.jpg') center/cover no-repeat;opacity:.5}.category-ad b,.category-ad small{position:relative;z-index:1}.category-ad b{font-size:14px;line-height:1.15}.category-ad small{background:#179b48;color:#fff;border-radius:4px;padding:5px 8px;font-size:9px;font-weight:800;width:max-content;margin-top:5px}
.impact-strip{margin-top:9px;background:#f7fafc;border:1px solid #e5edf3;display:grid;grid-template-columns:repeat(5,1fr);padding:9px}.impact-strip div{text-align:center;border-right:1px solid #d9e3ec;padding:5px 8px}.impact-strip div:last-child{border:0}.impact-strip b{display:block;font-size:21px;color:#075cbd}.impact-strip span{font-size:10px;color:#5c7084}
.section-white,.section-light,.sponsors,.news-section{padding:34px 0}.section-light{background:#f7f9fb}.section-title{display:flex;align-items:end;justify-content:space-between;margin-bottom:15px}.section-title span,.join-grid>div>span,.narrow>span,.about-grid span{font-size:10px;font-weight:900;letter-spacing:.13em;color:#179447}.section-title h2,.join-grid h2,.narrow h2,.about-grid h2{font-size:27px;line-height:1.05;margin:5px 0 0;color:#0b3975}.section-title>a{font-size:11px;font-weight:800;color:#075cbd}
.request-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.request-card{background:#fff;border:1px solid #dfe7ee;border-radius:7px;overflow:hidden;box-shadow:0 3px 13px rgba(14,45,80,.06)}.request-img{height:145px;position:relative}.request-img img{width:100%;height:100%;object-fit:cover}.request-img span{position:absolute;left:9px;top:9px;background:#fff;border-radius:12px;padding:4px 8px;font-size:9px;font-weight:900;color:#169447}.request-content{padding:11px}.request-content h3{font-size:15px;margin:0 0 6px}.location{font-size:9px;color:#68798b;margin-bottom:6px}.request-content p{font-size:10px;line-height:1.4;min-height:29px;color:#53677b;margin-bottom:9px}.request-content a{display:inline-block;background:#0860c6;color:#fff;border-radius:4px;padding:6px 16px;font-size:10px;font-weight:800}
.registration-cards{padding:5px 0 28px}.three-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.reg-card{height:135px;border-radius:7px;overflow:hidden;position:relative;color:#fff}.reg-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.reg-card:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,45,101,.94),rgba(4,45,101,.25))}.reg-card.helper:after{background:linear-gradient(90deg,rgba(7,124,68,.95),rgba(7,124,68,.22))}.reg-card.sponsor:after{background:linear-gradient(90deg,rgba(178,62,14,.95),rgba(178,62,14,.22))}.reg-card>div{position:relative;z-index:2;padding:15px;max-width:83%}.reg-card small{font-size:8px;font-weight:900;letter-spacing:.08em}.reg-card h3{font-size:19px;line-height:1.02;margin:5px 0}.reg-card p{font-size:9px;line-height:1.35;margin:0 0 7px}.reg-card b{display:inline-block;background:#fff;color:#164174;border-radius:4px;padding:6px 8px;font-size:9px}
.v4-people{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.expert{display:flex;gap:9px;align-items:center;background:#fff;border:1px solid #dfe7ee;border-radius:6px;padding:8px;min-height:78px}.expert img{width:70px;height:70px;border-radius:5px;object-fit:cover}.expert h3{font-size:13px;margin:0 0 2px}.expert b,.expert span{display:block;font-size:9px}.expert span{color:#66788b;margin:4px 0}.expert em{font-style:normal;color:#f1a600;font-size:11px}.expert em small{font-size:7px;color:#5a6d82}
.sponsors{background:#f5f8fa}.sponsor-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.sponsor-grid div{height:62px;border:1px solid #dfe6ed;border-radius:5px;background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column}.sponsor-grid strong{font-size:15px;color:#15559a}.sponsor-grid small{font-size:7px;color:#687888}.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.news-grid article{display:flex;border:1px solid #e0e7ee;border-radius:6px;overflow:hidden;background:#fff}.news-grid img{width:105px;height:100px;object-fit:cover}.news-grid article div{padding:10px}.news-grid small{font-size:8px;color:#758596}.news-grid h3{font-size:13px;margin:4px 0}.news-grid p{font-size:9px;line-height:1.35;margin:0;color:#52677c}
.join-section{padding:52px 0;background:linear-gradient(135deg,#eaf7f1,#f5f9fc)}.join-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.join-grid p,.about-grid p{line-height:1.65;color:#53677c}.form-panel{background:#fff;border:1px solid #dce6ee;border-radius:9px;padding:20px;box-shadow:0 10px 25px rgba(17,55,90,.07)}.seghid-form label{display:block;font-size:11px;font-weight:800;margin-bottom:9px}.seghid-form input,.seghid-form select,.seghid-form textarea{width:100%;margin-top:4px;padding:9px;border:1px solid #d6e0e8;border-radius:6px;font:inherit}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.notice{padding:8px;border-radius:5px;font-size:10px;margin-top:8px}.notice.success{background:#e7f6ec;color:#17643d}.notice.error{background:#fff0f0;color:#982d2d}.login-section{text-align:center;padding:45px 0}.narrow{max-width:690px}.narrow .form-panel{text-align:left;margin-top:15px}.about-section{padding:52px 0;background:#f5f8fb}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.about-grid>img{width:100%;height:285px;object-fit:cover;border-radius:8px}.about-points{display:grid;gap:7px}.about-points b{font-size:11px;background:#fff;border-radius:5px;padding:9px;color:#174e85}
.footer-main{background:#08264c;color:#c9d6e5;padding:38px max(3%,calc((100% - 1180px)/2));display:grid;grid-template-columns:1.5fr 1fr 1fr 1.2fr;gap:28px}.footer-logo{width:220px;height:58px;object-fit:contain;object-position:left center;background:#fff;border-radius:4px}.footer-main h4{color:#fff;margin:0 0 9px}.footer-main a{display:block;font-size:10px;margin:5px 0}.footer-main p{font-size:10px;line-height:1.5}.footer-bottom{background:#061d3b;color:#91a8bf;padding:11px max(3%,calc((100% - 1180px)/2));display:flex;justify-content:space-between;font-size:9px}
@media(max-width:1100px){.site-logo{width:225px;flex-basis:225px}.site-logo img{width:220px}.main-nav{gap:8px}.main-nav a:nth-child(n+6){display:none}.request-grid{grid-template-columns:repeat(2,1fr)}.sponsor-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:800px){.header-actions .search-link{display:none}.main-nav{display:none}.site-logo{margin-right:auto}.hero-preview{height:430px}.hero-photo{width:100%;opacity:.35}.hero-copy{width:100%}.hero-slogan{display:none}.category-bar{grid-template-columns:repeat(3,1fr)}.category-ad{grid-column:1/-1}.impact-strip{grid-template-columns:repeat(2,1fr)}.three-cards,.join-grid,.about-grid{grid-template-columns:1fr}.v4-people{grid-template-columns:1fr 1fr}.news-grid{grid-template-columns:1fr}.footer-main{grid-template-columns:1fr 1fr}}@media(max-width:560px){.site-logo{width:210px;flex-basis:210px}.site-logo img{width:205px}.hero-preview{height:510px}.hero-logo{width:285px}.hero-copy p{font-size:14px}.hero-buttons{flex-direction:column;width:max-content}.category-bar,.request-grid,.v4-people,.sponsor-grid,.news-grid{grid-template-columns:1fr}.impact-strip{grid-template-columns:1fr 1fr}.form-grid{grid-template-columns:1fr}.footer-main,.footer-bottom{display:block}.footer-bottom span{display:block;margin:4px 0}}
