/* ==========================================================================
   Vilties centras – visual refresh (2026-12)
   Loaded after style.css. Remove the <link> in templates/header.php to revert.
   ========================================================================== */

/* ---- Base typography ---------------------------------------------------- */
body{
	font-family:'Open Sans', Arial, sans-serif;
	color:#1f2a30;
	-webkit-font-smoothing:antialiased;
	-moz-osx-font-smoothing:grayscale;
	text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;}
a{transition:color .2s ease, background-color .2s ease, border-color .2s ease;}
article{font-size:15px;line-height:1.7;color:#2b3337;}
article h2{color:#242e35;font-weight:600;letter-spacing:-.01em;}
article h3{color:#242e35;font-weight:600;}
article a{color:#006633;text-decoration-color:rgba(0,102,51,.35);text-underline-offset:2px;}
article a:hover{color:#004d26;text-decoration-color:currentColor;}
article ul{padding-left:1.4em;margin-bottom:20px;}
article li{margin-bottom:.35em;}

/* ---- Header & navigation ------------------------------------------------ */
header{margin:1.6em 0 1.2em;}
header li{margin-left:.6em;padding:0;border-radius:4px;}
header li a{display:block;padding:.6em .9em;font-size:14px;font-weight:600;letter-spacing:.06em;color:#24313a;border-bottom:2px solid transparent;}
header li:hover{background:transparent;}
header li:hover > a,
header li#selected > a{color:#006633;border-bottom-color:#f7e967;}
header ul ul{top:100%;background:#fff;border-radius:4px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:6px 0;}
header ul ul li{width:200px;margin:0;}
header ul ul li a{padding:.6em 1em;font-size:12px;border-bottom:0;}
header ul ul li:hover > a{background:#f7f6ee;color:#006633;}

/* ---- Hero slideshow & page header images -------------------------------- */
#fp_slideshow > .cycle-slideshow > div::before,
#header_image::before{
	content:'';position:absolute;inset:0;pointer-events:none;
	background:linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,0) 70%);
}
#header_image{background-size:cover;}
#fp_slideshow a.container,
#header_image .container{z-index:1;}
.txtshd{text-shadow:0 2px 12px rgba(0,0,0,.45);}
.button{border-radius:4px;padding:.75em 1.3em;font-size:15px;font-weight:600;letter-spacing:.05em;box-shadow:0 2px 8px rgba(0,0,0,.2);transition:background-color .2s ease, transform .2s ease;}
#fp_slideshow a.container:hover .button,
.button:hover{background:#00803f;transform:translateY(-1px);}
#fp_slideshow #listing_header_pager span{font-size:40px;opacity:.85;}
#fp_slideshow #listing_header_pager span.cycle-pager-active{color:#f7e967;opacity:1;}

/* ---- Content blocks ------------------------------------------------------ */
#page_frontpage article{padding:3.5em 10em 4em;}
#page_frontpage article h2{font-weight:600;}
#page_frontpage article p{color:#3a4449;}
article{border-top-color:#2b3337;}

/* "Sužinokite daugiau" buttons */
#bottom_buttons li{border-radius:4px;transition:background-color .2s ease, transform .2s ease;}
#bottom_buttons li:hover{background:#c9ad35;transform:translateY(-2px);}
#bottom_buttons li a{font-size:15px;font-weight:600;letter-spacing:.05em;}

/* Kaip mes veikiame circles – keep text inside with the wider font */
#article_25 #c1,
#article_25 #c2{font-size:13px;line-height:1.5;}
#article_25 #c1 p,
#article_25 #c2 p{margin-bottom:12px;}
#article_25 h3{font-size:18px;margin-bottom:1em;}

/* Prisidėti cards */
#prisideti_buttons a{transition:background-color .2s ease;color:#3a4449;text-decoration:none;}
#prisideti_buttons a h2{color:#242e35;}

/* Blog list */
#page_blog h1{background:#2b3337;font-weight:600;}
#blog_listing .one_row{border-radius:6px;overflow:hidden;transition:background-color .2s ease, box-shadow .2s ease;}
#blog_listing .one_row:hover{background:#eeeee7;box-shadow:0 4px 16px rgba(0,0,0,.08);}
#blog_listing .one_row a.title{font-weight:600;}
#blog_listing .one_row a.title:hover{color:#006633;}

/* ---- Footer ------------------------------------------------------------- */
footer{background:#2f3d44;color:#d6dee1;padding:56px 0 48px;}
footer a{color:#fff;}
footer a:hover{color:#f7e967;}
footer h3{color:#f7e967;font-size:13px;letter-spacing:.1em;text-transform:uppercase;margin-bottom:12px;}
footer > div{padding-left:6%;width:25%;}
footer ul{list-style:none;padding:0;margin:26px 0 0;}
footer ul li{margin-bottom:.5em;}
footer ul li a::before{content:'\203A';display:inline-block;margin-right:.5em;color:#f7e967;}
#x_newsletter_value{height:38px;border:0;border-radius:4px 0 0 4px;padding:0 12px;width:70%;font-family:inherit;font-size:14px;}
#x_newsletter_submit{height:38px;border:0;border-radius:0 4px 4px 0;background:#f7e967;color:#24313a;cursor:pointer;}
#x_newsletter_submit:hover{background:#ffe83a;}

#scrollToTop{border-radius:50%;padding:14px 16px;background:rgba(43,51,55,.75);}
#scrollToTop:hover{background:#006633;}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width:1060px){
	.centric{width:auto;margin:0 12px;}
	#fp_slideshow,
	#fp_slideshow .cycle-slideshow,
	#fp_slideshow .cycle-slideshow > div{width:100% !important;}
	#page_frontpage article{padding:3em 3em;}
}

@media (max-width:760px){
	.centric{margin:0;}
	header{margin:1em 0 .8em;text-align:center;}
	header #logo{margin:0 0 .6em;display:block;}
	header #logo img{width:240px;}
	header ul{display:block;}
	header li{margin:0 .1em;}
	header li a{padding:.5em .55em;font-size:12px;letter-spacing:.03em;}
	header ul ul{display:none !important;}

	#fp_slideshow .cycle-slideshow{height:340px !important;}
	#fp_slideshow .cycle-slideshow > div{height:340px !important;background-position:70% top !important;}
	#fp_slideshow a.container{width:auto;right:0;top:auto;bottom:56px;padding:0 1.2em;}
	#fp_slideshow a.container .title{font-size:20px;line-height:1.35;}
	#fp_slideshow a.container .title strong{font-size:32px;}
	#fp_slideshow > .cycle-slideshow > div::before,
	#header_image::before{background:linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%);}

	#header_image{height:220px;}
	#header_image .container{width:auto;right:0;top:auto;bottom:16px;padding:0 1.2em;}
	#header_image .container .title{font-size:20px;line-height:1.35;}
	#header_image .container .title strong{font-size:30px;}

	article,
	#page_blog #blog_listing{padding:28px 18px;}
	#page_frontpage article{padding:2.2em 1.2em;font-size:16px;}
	#page_blog h1{font-size:34px;}
	article table,article tbody,article tr,article td{display:block;width:100% !important;}

	#article_25 #c1,
	#article_25 #c2{float:none;width:auto;height:auto;margin:0 0 1.2em;border-radius:12px;padding:1.6em;}

	#bottom_buttons ul,
	#prisideti_buttons{width:100%;}
	#prisideti_buttons a{height:auto;line-height:normal;border-radius:12px;display:flex;align-items:center;}
	#prisideti_buttons img{width:96px;height:96px;margin-right:1em;flex-shrink:0;}
	#prisideti_buttons a span{width:auto;}

	#blog_listing .one_row{height:auto;line-height:normal;}
	#blog_listing .one_row .image{float:none;display:block;margin:0;}
	#blog_listing .one_row .image img{width:100%;}
	#blog_listing .one_row span{width:auto;display:block;padding:1em;}
	#blog_listing .one_row a.title{font-size:22px;}

	/* Kontaktai: form column + map are inline-floated at 50% / 425px – stack them */
	#reg_description{float:none !important;width:auto !important;}
	article iframe{float:none !important;display:block;width:100% !important;max-width:100%;height:320px;margin:0 0 1.5em;border:0;}
	form.cssform p{padding-left:0;height:auto !important;}
	.cssform label{float:none;display:block;margin:0 0 6px;width:auto;}
	form .input{width:100%;padding:10px;box-sizing:border-box;border-radius:4px;font-size:16px;}
	form.cssform #validation{width:120px;padding:8px;font-size:16px;}

	footer{padding:36px 18px;}
	footer > div{display:block;width:auto;padding:0;margin-bottom:20px;}
	footer > div > br:last-child{display:none;}
	footer ul{margin-top:0;}
	#x_newsletter_value{width:75%;}
}

/* ==========================================================================
   v2 (2026-12-03): donate CTA, footer donation box, mobile menu, sponsors grid,
   challenges cards, press link cards, report viewer, blog post
   ========================================================================== */

/* ---- Donate button in the menu ------------------------------------------ */
header li{margin-left:.2em;}
header li.nav-donate{margin-left:.8em;}
header li.nav-donate > a{background:#f7e967;color:#24313a;border-radius:4px;border-bottom:0;padding:.6em 1.1em;}
header li.nav-donate:hover > a{background:#ffe83a;color:#24313a;}
.nav-toggle,.nav-donate-m{display:none;}

/* ---- Footer donation box ------------------------------------------------- */
footer .donate-box p{margin-bottom:12px;}
footer .iban{display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:6px;padding:8px 8px 8px 12px;margin-bottom:12px;}
footer .iban span{font-family:Consolas,'Courier New',monospace;font-size:14px;letter-spacing:.04em;color:#fff;flex:1;white-space:nowrap;}
footer .copy-btn{border:0;border-radius:4px;background:#f7e967;color:#24313a;font:600 12px 'Open Sans',Arial,sans-serif;padding:6px 10px;cursor:pointer;}
footer .copy-btn:hover{background:#ffe83a;}
footer .copy-btn.copied{background:#7fd1a1;}
footer .donate-link{color:#f7e967;font-weight:600;}

/* ---- Blog post ----------------------------------------------------------- */
.post-date{color:#7a8489;font-size:13px;letter-spacing:.04em;margin-bottom:24px;}
a.btn-back{display:inline-block;margin-top:10px;padding:.7em 1.3em;border:2px solid #006633;border-radius:4px;color:#006633;text-decoration:none;font-weight:600;}
a.btn-back:hover{background:#006633;color:#fff;}

/* ---- Sponsors (Rėmėjai) logo grid --------------------------------------- */
#article_21 p.logo-row{display:flex;flex-wrap:wrap;gap:16px;align-items:stretch;margin-bottom:28px;}
#article_21 p.logo-row br{display:none;}
#article_21 p.logo-row a{display:flex;align-items:center;justify-content:center;width:210px;height:130px;padding:16px;background:#fff;border:1px solid #e6e5dc;border-radius:8px;box-sizing:border-box;transition:box-shadow .2s ease, border-color .2s ease;}
#article_21 p.logo-row a:hover{border-color:#d6d4c5;box-shadow:0 6px 18px rgba(0,0,0,.08);}
#article_21 p.logo-row img{width:auto !important;height:auto !important;max-width:100%;max-height:96px;object-fit:contain;filter:grayscale(1);opacity:.85;transition:filter .2s ease, opacity .2s ease;}
#article_21 p.logo-row a:hover img{filter:none;opacity:1;}

/* ---- Challenges (Iššūkiai) as paired cards ------------------------------- */
#article_19 #challenges{width:100%;border-collapse:separate;border-spacing:0 18px;}
#article_19 tr td,
#article_19 tr td *{font-family:'Open Sans',Arial,sans-serif !important;}
#article_19 tr td:first-child,
#article_19 tr td+td,
#article_19 tr:nth-child(odd) td:nth-child(even),
#article_19 tr:nth-child(even) td:nth-child(odd){background:#fff;}
#article_19 tr td:first-child{border:1px solid #e6e5dc;border-right:0;border-radius:8px 0 0 8px;font-size:17px;font-weight:400;color:#3a4449;}
#article_19 tr td:first-child strong{font-size:30px;font-weight:700;color:#242e35;}
#article_19 tr td+td{background:#f7f6ee !important;border:1px solid #e6e5dc;border-left:4px solid #f7e967;border-radius:0 8px 8px 0;font-size:21px;line-height:1.45;color:#242e35;padding:2em 2.2em;}
#article_19 img{max-width:100%;height:auto !important;}
#article_19 td .fa{font-family:FontAwesome !important;}

/* ---- Press (Spauda) link cards ------------------------------------------ */
#article_28 a.link-card{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:520px;margin:10px 0;padding:12px 16px;background:#f7f6ee;border:1px solid #e6e5dc;border-radius:6px;text-decoration:none;color:#242e35;}
#article_28 a.link-card:hover{border-color:#006633;background:#fff;}
#article_28 .lc-host{font-weight:600;}
#article_28 .lc-cta{color:#006633;font-size:13px;font-weight:600;white-space:nowrap;}

/* ---- PDF links ----------------------------------------------------------- */
article a.pdf-link::before{content:"\f1c1";font-family:FontAwesome;display:inline-block;margin-right:.45em;color:#b3261e;text-decoration:none;}

/* ---- Reports (Ataskaitos) thumbnails + viewer --------------------------- */
#article_30 a img{border:1px solid #e6e5dc;border-radius:4px;margin:0 8px 8px 0;transition:box-shadow .2s ease, transform .2s ease;opacity:1 !important;}
#article_30 a:hover img{box-shadow:0 6px 18px rgba(0,0,0,.15);transform:translateY(-2px);}
.lb{position:fixed;inset:0;z-index:10000;background:rgba(20,26,30,.92);display:none;align-items:center;justify-content:center;}
.lb.open{display:flex;}
.lb img{max-width:92vw;max-height:88vh;background:#fff;box-shadow:0 10px 40px rgba(0,0,0,.5);}
.lb button{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:34px;line-height:1;width:52px;height:52px;border-radius:50%;cursor:pointer;}
.lb button:hover{background:rgba(255,255,255,.25);}
.lb-close{top:16px;right:16px;}
.lb-prev{left:16px;top:50%;margin-top:-26px;}
.lb-next{right:16px;top:50%;margin-top:-26px;}
.lb-count{position:absolute;bottom:16px;left:0;right:0;text-align:center;color:#cfd6d9;font-size:13px;}
body.lb-lock{overflow:hidden;}

/* ---- Desktop: keep 3 footer columns tidy -------------------------------- */
@media (min-width:761px){
	footer > div{width:26%;padding-left:5%;}
}

/* ---- Mobile ------------------------------------------------------------- */
@media (max-width:760px){
	/* collapsible menu */
	header{text-align:left;margin:0;padding:12px 0;}
	header .centric{display:flex;flex-wrap:wrap;align-items:center;padding:0 14px;}
	header #logo{display:block;margin:0 auto 0 0;}
	header #logo img{width:190px;}
	.nav-donate-m{display:inline-block;margin-right:10px;padding:8px 14px;background:#f7e967;color:#24313a;border-radius:4px;font-size:13px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;}
	.nav-toggle{display:inline-flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;padding:0 10px;border:1px solid #d6d4c5;border-radius:6px;background:#fff;cursor:pointer;}
	.nav-toggle span{display:block;height:2px;background:#24313a;border-radius:2px;transition:transform .2s ease, opacity .2s ease;}
	header.nav-open .nav-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg);}
	header.nav-open .nav-toggle span:nth-child(2){opacity:0;}
	header.nav-open .nav-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
	header .centric > ul{display:none;width:100%;margin-top:12px;background:#fff;border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.1);padding:6px 0;}
	header.nav-open .centric > ul{display:block;}
	header li{display:block;margin:0;border-radius:0;}
	header li a{padding:13px 18px;font-size:14px;letter-spacing:.05em;border-bottom:0;}
	header li#selected > a{background:#f7f6ee;}
	header li.nav-donate{display:none;}
	header ul ul{display:block !important;visibility:visible !important;position:static;box-shadow:none;background:transparent;padding:0 0 6px;border-radius:0;}
	header ul ul li{width:auto;}
	header ul ul li a{padding:9px 18px 9px 34px;font-size:13px;text-transform:none;letter-spacing:0;font-weight:400;}

	/* footer donation box first */
	footer{display:flex;flex-direction:column;}
	footer .donate-box{order:-1;}

	/* challenges: each pair = one card */
	#article_19 #challenges{border-spacing:0;}
	#article_19 #challenges td{box-sizing:border-box;}
	#article_19 #challenges tr{display:block;margin-bottom:18px;}
	#article_19 tr td:first-child{border:1px solid #e6e5dc;border-bottom:0;border-radius:8px 8px 0 0;padding:1.4em 1.2em 1em;}
	#article_19 tr td+td{border:1px solid #e6e5dc;border-top:4px solid #f7e967;border-radius:0 0 8px 8px;font-size:18px;padding:1.2em;}

	/* sponsors: 2 per row */
	#article_21 p.logo-row{gap:10px;}
	#article_21 p.logo-row a{width:calc(50% - 5px);height:100px;padding:10px;}
	#article_21 p.logo-row img{max-height:70px;}

	#article_28 a.link-card{max-width:none;}
	.lb button{width:44px;height:44px;font-size:28px;}
}

/* ---- v2.1: tighter desktop menu so EN (with LIETUVIŠKAI) fits beside the logo ---- */
@media (min-width:761px){
	header #logo{margin-right:.4em;}
	header li{margin-left:0;}
	header li a{padding:.6em .7em;letter-spacing:.04em;}
	header li.nav-donate{margin-left:.4em;}
	header li.nav-donate > a{padding:.6em .9em;}
}
@media (min-width:761px) and (max-width:1060px){
	header #logo img{width:230px;}
	header li a{font-size:12.5px;padding:.6em .5em;letter-spacing:.02em;}
}
