/* =========================================================================
   KORENI — Feuille de style de marque
   Consolidee depuis les modules Divi "Code" des pages et articles
   (accueil, Novosti, Kontakt, O nama, Startseite, pages legales, articles).
   Genere le 2026-09-22.

   NE PLUS remettre de <style> dans le contenu des pages/articles :
   wp-config.php definit DISALLOW_UNFILTERED_HTML, donc WordPress supprime
   ces balises a chaque enregistrement et le CSS s'affiche en clair.
   Toute modification de style se fait ICI.
   ========================================================================= */

.koreni-page{--koreni-red:#d10019;--koreni-blue:#1a3f70;--koreni-ink:#10243f;--koreni-text:#545454;--koreni-cream:#f7f5f2;font-family:Montserrat,Arial,sans-serif;color:var(--koreni-text)}
.koreni-page *{box-sizing:border-box}
.koreni-page h1,.koreni-page h2,.koreni-page h3,.koreni-page h4{font-family:Montserrat,Arial,sans-serif!important;color:var(--koreni-blue);letter-spacing:0;font-weight:800;line-height:1.12}
.koreni-page h1{font-size:clamp(42px,5vw,76px)}
.koreni-page h2{font-size:clamp(30px,3vw,48px)}
.koreni-page h3{font-size:22px}
.koreni-page p,.koreni-page li{font-size:18px;line-height:1.75;color:var(--koreni-text)}
.koreni-eyebrow{display:inline-block;font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--koreni-red);margin-bottom:14px}
.koreni-lead{font-size:21px!important;color:#4d5c70!important;max-width:840px}
.koreni-soft{background:var(--koreni-cream)}
.koreni-dark{background:var(--koreni-blue)}
.koreni-dark h1,.koreni-dark h2,.koreni-dark h3,.koreni-dark p,.koreni-dark li{color:#fff!important}
.koreni-dark .koreni-eyebrow{color:#b8c7da!important}
.koreni-dark .koreni-lead{color:#e8eef6!important}
.koreni-card{background:#fff;border:1px solid #e5e9ef;border-radius:8px;padding:30px;box-shadow:0 14px 34px rgba(16,36,63,.08);height:100%;transition:transform .18s ease,box-shadow .18s ease}
.koreni-card:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(16,36,63,.12)}
.koreni-card strong,.koreni-card a{color:var(--koreni-blue)}
.koreni-meta{font-size:13px!important;text-transform:uppercase;letter-spacing:.1em;font-weight:800;color:#7b8796!important;margin-bottom:8px!important}
.koreni-list ul{padding-left:0!important}
.koreni-list li{list-style:none;margin:0 0 12px;padding-left:34px;position:relative}
.koreni-list li:before{content:'✓';position:absolute;left:0;top:0;color:var(--koreni-red);font-weight:900}
.koreni-hero-img img{border-radius:8px;box-shadow:0 24px 60px rgba(16,36,63,.18);object-fit:cover}
.koreni-hero-img.contain img{object-fit:contain;box-shadow:none}
.koreni-article-image img{width:100%;max-height:520px;object-fit:cover;border-radius:8px;box-shadow:0 20px 55px rgba(16,36,63,.18)}
.koreni-button .et_pb_button,.koreni-link-button,.koreni-post-card a.koreni-link-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:48px;min-width:190px;padding:14px 22px!important;background:var(--koreni-red)!important;border:2px solid var(--koreni-red)!important;color:#fff!important;border-radius:4px!important;font-family:Montserrat,Arial,sans-serif!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important;line-height:1.15!important;text-decoration:none!important;white-space:nowrap;text-align:center;box-shadow:none!important}
.koreni-button.secondary .et_pb_button,.koreni-link-button.secondary{background:var(--koreni-blue)!important;border-color:var(--koreni-blue)!important}
.koreni-button .et_pb_button:hover,.koreni-link-button:hover{filter:brightness(.96);transform:translateY(-1px)}
.koreni-contact .et_pb_contact_field input,.koreni-contact .et_pb_contact_field textarea,.koreni-contact .et_pb_contact_field select{font-family:Montserrat,Arial,sans-serif;background:#fff!important;border:1px solid #d7dde6!important;border-radius:4px!important;color:#10243f!important;padding:18px!important}
.koreni-contact .et_pb_contact_submit{width:auto!important;min-width:220px;background:#d10019!important;border-color:#d10019!important;color:#fff!important;border-radius:4px!important;font-weight:800!important;text-transform:uppercase!important}
.koreni-contact .et_contact_bottom_container{float:none!important;display:flex!important;justify-content:flex-start!important;margin-top:10px!important}
.koreni-post-body p{margin-bottom:18px}
.koreni-feature-bg{position:relative;background-size:cover!important;background-position:center!important}
.koreni-feature-bg:before{content:'';position:absolute;inset:0;background:rgba(247,245,242,.82);z-index:0}
.koreni-feature-bg .et_pb_row{position:relative;z-index:1}
.koreni-big-icon{font-size:72px;line-height:1;color:var(--koreni-red);display:block;margin-bottom:24px}
.koreni-post-card{overflow:hidden;padding:0!important;display:flex;flex-direction:column}
.koreni-post-card img{width:100%;height:220px;object-fit:cover;display:block}
.koreni-post-card .inner{padding:28px;display:flex;flex-direction:column;gap:8px;flex:1}
.koreni-post-card .inner p:last-child{margin-top:auto}
.koreni-blog-hero{background-size:cover!important;background-position:center!important;position:relative}
.koreni-blog-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(26,63,112,.92),rgba(26,63,112,.58),rgba(26,63,112,.18));z-index:0}
.koreni-blog-hero .et_pb_row{position:relative;z-index:1}
.koreni-blog-hero h1,.koreni-blog-hero p{color:#fff!important}
.koreni-blog-hero .koreni-eyebrow{color:#ffd7dd!important}
.koreni-articles-row .et_pb_column{display:flex}
.koreni-articles-row .et_pb_module{width:100%}
.single-post #sidebar,.single-post #comment-wrap,.single-post .post-meta,.single-post .et_post_meta_wrapper img,.single-post .et_post_meta_wrapper h1,.single-post .container:before,.page #sidebar,.page .container:before{display:none!important}
.single-post #left-area,.page #left-area{width:100%!important;padding-right:0!important}
#footer-widgets,.footer-widget,#main-footer .container #footer-widgets{display:none!important}
#footer-bottom{border-top:0!important;background:#10243f!important}
#footer-info{float:none!important;text-align:center!important;color:rgba(255,255,255,.75)!important}
@media(max-width:980px){.koreni-page h1{font-size:38px}.koreni-page h2{font-size:30px}.koreni-page h3{font-size:21px}.koreni-page p,.koreni-page li{font-size:16px;line-height:1.65}.koreni-card{padding:24px}.koreni-post-card img{height:200px}.koreni-blog-hero:before{background:rgba(26,63,112,.84)}.koreni-button .et_pb_button,.koreni-link-button{width:100%;max-width:330px;min-width:0;margin-left:auto;margin-right:auto;white-space:normal}.koreni-contact .et_contact_bottom_container{justify-content:center!important}.koreni-contact .et_pb_contact_submit{width:100%!important;max-width:330px}.koreni-page .et_pb_row{width:88%!important}.koreni-feature-bg{background-image:none!important;background-color:#f7f5f2!important}.koreni-feature-bg:before{display:none}.koreni-big-icon{font-size:56px}.koreni-articles-row .et_pb_column{display:block;margin-bottom:26px!important}}
@media(max-width:480px){.koreni-page h1{font-size:34px}.koreni-page h2{font-size:28px}.koreni-lead{font-size:18px!important}.koreni-card{padding:22px}.koreni-post-card .inner{padding:22px}.koreni-post-card img{height:185px}.koreni-article-image img{max-height:280px}.koreni-page .et_pb_section{overflow:hidden}}
/* KORENI spacing/alignment polish */
.koreni-page .et_pb_section{padding-top:64px!important;padding-bottom:64px!important}
.koreni-page .et_pb_row{max-width:1180px!important}
.koreni-page .et_pb_row + .et_pb_row{padding-top:18px!important}
.koreni-page .et_pb_module{margin-bottom:22px!important}
.koreni-page .et_pb_module:last-child{margin-bottom:0!important}
.koreni-page p:last-child{margin-bottom:0!important}
.koreni-page .et_pb_text_inner{max-width:100%}
.koreni-page .et_pb_column{min-width:0}
.koreni-page .et_pb_button_module_wrapper{margin-top:18px!important}
.koreni-page .et_pb_contact_form_container{max-width:1040px;margin-left:auto!important;margin-right:auto!important}
.koreni-contact .et_pb_contact{max-width:1040px;margin-left:auto;margin-right:auto}
.koreni-contact .et_pb_contact_field{padding:0 12px 18px!important}
.koreni-contact textarea{min-height:170px!important}
.koreni-contact .et_pb_contact_submit{height:auto!important;min-height:54px!important}
.koreni-post-card{min-height:100%}
.koreni-post-card img{height:190px!important}
.koreni-post-card .inner{padding:26px!important}
.koreni-post-card h3{min-height:72px;margin-bottom:8px!important}
.koreni-post-card p{margin-bottom:12px!important}
.koreni-post-card .koreni-link-button{margin-top:8px!important}
.koreni-articles-row{display:flex;align-items:stretch}
.koreni-articles-row .et_pb_column{display:flex!important}
.koreni-articles-row .koreni-card{width:100%}
.koreni-feature-bg .koreni-card{min-height:260px}
.koreni-feature-bg .et_pb_row{max-width:1220px!important}
.koreni-feature-bg .koreni-big-icon{margin-bottom:18px!important}
.home .koreni-page:first-of-type,.home .et_pb_section:first-of-type{padding-top:48px!important;padding-bottom:58px!important}
.home .et_pb_section:first-of-type .et_pb_row{align-items:center}
.home .et_pb_section:first-of-type .et_pb_module{margin-bottom:18px!important}
.home .et_pb_section:first-of-type h1{margin-bottom:22px!important}
.home .et_pb_section:first-of-type .et_pb_contact_form_container{max-width:760px;margin-left:0!important}
.home .et_pb_section:first-of-type .et_pb_contact_submit{width:100%!important}
@media(min-width:981px){.koreni-page .et_pb_column .koreni-card{height:100%}.koreni-page .et_pb_button_module_wrapper{text-align:left}.koreni-page [class*="et_pb_column_1_3"] .koreni-link-button{width:auto}.koreni-page .et_pb_contact_field_half{width:50%!important}.koreni-page .et_pb_contact_field[data-id="mesto"],.koreni-page .et_pb_contact_field[data-id="interesovanje"],.koreni-page .et_pb_contact_field[data-id="poruka"]{width:100%!important}}
@media(max-width:980px){.koreni-page .et_pb_section{padding-top:48px!important;padding-bottom:48px!important}.koreni-page .et_pb_row{width:88%!important;padding-top:14px!important;padding-bottom:14px!important}.koreni-page .et_pb_module{margin-bottom:18px!important}.koreni-post-card h3{min-height:0}.koreni-post-card img{height:185px!important}.koreni-articles-row{display:block}.koreni-contact .et_pb_contact_field{padding:0 0 14px!important}.home .et_pb_section:first-of-type{padding-top:34px!important;padding-bottom:44px!important}.home .et_pb_section:first-of-type .et_pb_contact_form_container{max-width:100%;margin-left:auto!important;margin-right:auto!important}}
@media(max-width:480px){.koreni-page .et_pb_section{padding-top:42px!important;padding-bottom:42px!important}.koreni-page .et_pb_row{width:90%!important}.koreni-post-card img{height:172px!important}.koreni-post-card .inner{padding:22px!important}.koreni-feature-bg .koreni-card{min-height:0}.koreni-contact textarea{min-height:150px!important}}
/* KORENI homepage legacy section alignment */
.home #main-header .nav li a{font-family:Montserrat,Arial,sans-serif!important;font-weight:700!important;letter-spacing:0!important}
.home .et_pb_section{overflow:hidden}
.home .et_pb_section_0{min-height:0!important;padding-bottom:42px!important}
.home .et_pb_section_0 .et_pb_row{padding-bottom:0!important}
.home .et_pb_section_0 .et_pb_column{display:flex;flex-direction:column;justify-content:center}
.home .et_pb_section_0 .et_pb_contact_form_container{margin-top:10px!important;margin-bottom:8px!important}
.home .et_pb_section_0 .et_pb_contact_field{padding-bottom:16px!important}
.home .et_pb_section_0 .et_pb_contact_submit{max-width:760px!important;margin-top:4px!important}
.home .et_pb_section_1,.home .et_pb_section_2,.home .et_pb_section_3,.home .et_pb_section_4,.home .et_pb_section_5{padding-top:56px!important;padding-bottom:56px!important}
.home .et_pb_section_1 .et_pb_row,.home .et_pb_section_2 .et_pb_row,.home .et_pb_section_3 .et_pb_row,.home .et_pb_section_4 .et_pb_row,.home .et_pb_section_5 .et_pb_row{padding-top:16px!important;padding-bottom:16px!important;max-width:1180px!important}
.home .et_pb_section_1 .et_pb_button_module_wrapper,.home .et_pb_section_2 .et_pb_button_module_wrapper,.home .et_pb_section_3 .et_pb_button_module_wrapper,.home .et_pb_section_4 .et_pb_button_module_wrapper,.home .et_pb_section_5 .et_pb_button_module_wrapper{margin-top:18px!important;text-align:left!important}
.home .et_pb_section_1 .et_pb_button,.home .et_pb_section_2 .et_pb_button,.home .et_pb_section_3 .et_pb_button,.home .et_pb_section_4 .et_pb_button,.home .et_pb_section_5 .et_pb_button{display:inline-flex!important;align-items:center;justify-content:center;min-width:190px;min-height:48px;border-radius:4px!important;font-weight:800!important;line-height:1.1!important;white-space:nowrap}
.home .et_pb_section_1 .et_pb_module,.home .et_pb_section_2 .et_pb_module,.home .et_pb_section_3 .et_pb_module,.home .et_pb_section_4 .et_pb_module,.home .et_pb_section_5 .et_pb_module{margin-bottom:18px!important}
.home .et_pb_section_1 .et_pb_module:last-child,.home .et_pb_section_2 .et_pb_module:last-child,.home .et_pb_section_3 .et_pb_module:last-child,.home .et_pb_section_4 .et_pb_module:last-child,.home .et_pb_section_5 .et_pb_module:last-child{margin-bottom:0!important}
.home .et_pb_section_1 .et_pb_blurb,.home .et_pb_section_2 .et_pb_blurb,.home .et_pb_section_3 .et_pb_blurb,.home .et_pb_section_4 .et_pb_blurb,.home .et_pb_section_5 .et_pb_blurb{height:100%}
@media(max-width:980px){.home .et_pb_section_0{padding-top:28px!important;padding-bottom:34px!important}.home .et_pb_section_0 .et_pb_contact_submit{max-width:100%!important}.home .et_pb_section_1,.home .et_pb_section_2,.home .et_pb_section_3,.home .et_pb_section_4,.home .et_pb_section_5{padding-top:42px!important;padding-bottom:42px!important}.home .et_pb_section_1 .et_pb_row,.home .et_pb_section_2 .et_pb_row,.home .et_pb_section_3 .et_pb_row,.home .et_pb_section_4 .et_pb_row,.home .et_pb_section_5 .et_pb_row{padding-top:10px!important;padding-bottom:10px!important}.home .et_pb_section_1 .et_pb_button,.home .et_pb_section_2 .et_pb_button,.home .et_pb_section_3 .et_pb_button,.home .et_pb_section_4 .et_pb_button,.home .et_pb_section_5 .et_pb_button{width:100%;max-width:330px;white-space:normal}.home .et_pb_section_1 .et_pb_button_module_wrapper,.home .et_pb_section_2 .et_pb_button_module_wrapper,.home .et_pb_section_3 .et_pb_button_module_wrapper,.home .et_pb_section_4 .et_pb_button_module_wrapper,.home .et_pb_section_5 .et_pb_button_module_wrapper{text-align:center!important}}
/* KORENI nav cleanup */
#top-menu li.page-item-151,.nav li.page-item-151,.et_mobile_menu li.page-item-151{display:none!important}
/* KORENI gap and submit button fix */
.home .et_pb_section_1 .et_pb_row_1{padding-bottom:46px!important;margin-bottom:34px!important;overflow:visible!important}
.home .et_pb_section_1 .et_pb_row_1 .et_pb_text_inner{max-width:1040px;margin-left:auto;margin-right:auto}
.home .et_pb_section_1 .et_pb_row_1 h2,.home .et_pb_section_1 .et_pb_row_1 p{margin-bottom:18px!important}
.home .et_pb_section_1 .et_pb_row_2{margin-top:0!important;clear:both!important}
.home .et_pb_section_1 .et_pb_row_2 .et_pb_column{align-self:flex-start}
.home .et_pb_section_1 .et_pb_row_2 .et_pb_button_module_wrapper{margin-left:0!important;text-align:left!important}
.koreni-contact .et_contact_bottom_container{display:flex!important;justify-content:center!important;padding:0 12px!important;margin-top:12px!important}
.koreni-contact .et_pb_contact_submit,#koreni-interesovanje-form .et_pb_contact_submit,#koreni-contact-form .et_pb_contact_submit{width:360px!important;max-width:360px!important;min-width:260px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;margin-left:auto!important;margin-right:auto!important}
.home .et_pb_section_7 .et_contact_bottom_container{justify-content:center!important}
.home .et_pb_section_7 .et_pb_contact_field{padding-bottom:16px!important}
.home .et_pb_section_7 textarea{min-height:150px!important}
@media(max-width:980px){.home .et_pb_section_1 .et_pb_row_1{padding-bottom:30px!important;margin-bottom:24px!important}.home .et_pb_section_1 .et_pb_row_2{margin-top:0!important}.koreni-contact .et_contact_bottom_container{padding:0!important}.koreni-contact .et_pb_contact_submit,#koreni-interesovanje-form .et_pb_contact_submit,#koreni-contact-form .et_pb_contact_submit{width:100%!important;max-width:330px!important;min-width:0!important}.home .et_pb_section_7 textarea{min-height:135px!important}}
/* KORENI direct Divi form submit centering */
#koreni-interesovanje-form .et_contact_bottom_container,#koreni-contact-form .et_contact_bottom_container{display:flex!important;float:none!important;clear:both!important;width:100%!important;justify-content:center!important;text-align:center!important;margin:14px 0 0!important;padding:0!important}
#koreni-interesovanje-form .et_pb_contact_submit,#koreni-contact-form .et_pb_contact_submit{float:none!important;margin:0 auto!important;width:360px!important;max-width:360px!important;min-width:260px!important}
@media(max-width:980px){#koreni-interesovanje-form .et_pb_contact_submit,#koreni-contact-form .et_pb_contact_submit{width:100%!important;max-width:330px!important;min-width:0!important}}
.koreni-articles-row .et_pb_column .koreni-post-card{width:100%}
.koreni-articles-row [class*='et_pb_column_1_4'] .koreni-post-card img{height:180px!important;object-fit:cover!important;object-position:center top!important}
.koreni-articles-row [class*='et_pb_column_1_4'] .koreni-post-card h3{font-size:20px!important;min-height:76px}
@media(max-width:980px){.koreni-articles-row [class*='et_pb_column_1_4'] .koreni-post-card img{height:190px!important}.koreni-articles-row [class*='et_pb_column_1_4'] .koreni-post-card h3{min-height:0}}
/* KORENI article cards four-up */
.koreni-articles-row .et_pb_column{display:flex;margin-bottom:24px}
.koreni-articles-row .koreni-post-card{display:flex!important;flex-direction:column;height:100%;overflow:hidden}
.koreni-post-card img{width:100%;height:180px;object-fit:cover;display:block}
.koreni-post-card img[src*="poziv-upis"]{object-position:50% 22%;background:#f7f5f2}
.koreni-post-card .inner{display:flex;flex:1;flex-direction:column}
@media(max-width:980px){.koreni-articles-row .et_pb_column{width:50%!important;margin-right:0!important;padding:0 12px}.koreni-post-card img{height:220px}}
@media(max-width:640px){.koreni-articles-row .et_pb_column{width:100%!important;padding:0}.koreni-post-card img{height:210px}}
/* KORENI articles row width polish */
.koreni-articles-row{width:min(92%,1180px)!important;max-width:1180px!important}
.koreni-articles-row .koreni-card h3{line-height:1.14}
.koreni-articles-row .koreni-card p{line-height:1.55}
@media(min-width:981px){.koreni-articles-row .koreni-link-button{min-width:0;width:100%;padding-left:18px!important;padding-right:18px!important}.koreni-articles-row .koreni-card .inner{padding-left:26px;padding-right:26px}}
/* KORENI articles desktop columns */
@media(min-width:981px){.koreni-articles-row .et_pb_column{width:23.5%!important;margin-right:2%!important}.koreni-articles-row .et_pb_column:last-child{margin-right:0!important}}
/* KORENI newsletter signup */
.koreni-newsletter-module{margin-top:28px!important}
.koreni-newsletter{background:#fff;border:1px solid rgba(26,63,112,.14);border-radius:8px;box-shadow:0 18px 48px rgba(16,36,63,.10);padding:26px;max-width:760px}
.koreni-newsletter-copy{margin-bottom:18px}
.koreni-newsletter-copy .koreni-eyebrow{color:#d10019!important;font-size:12px;letter-spacing:2px;text-transform:uppercase;font-weight:800}
.koreni-newsletter h3{font-family:Montserrat,Arial,sans-serif!important;color:#1a3f70!important;font-size:26px!important;line-height:1.18!important;font-weight:800!important;margin:7px 0 8px!important;padding:0!important}
.koreni-newsletter p{color:#334155!important;font-size:15px!important;line-height:1.62!important;margin:0!important;padding:0!important}
.koreni-newsletter-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
.koreni-newsletter-grid label:nth-child(3){grid-column:1/-1}
.koreni-newsletter label span{display:block;color:#1a3f70;font-weight:800;font-size:12px;text-transform:uppercase;letter-spacing:1.4px;margin-bottom:7px}
.koreni-newsletter input[type="text"],.koreni-newsletter input[type="email"]{width:100%;height:52px;border:1px solid rgba(26,63,112,.22);border-radius:5px;background:#fdfcfb;color:#10243f;font:500 15px/1.2 Montserrat,Arial,sans-serif;padding:0 15px;box-sizing:border-box}
.koreni-newsletter input:focus{outline:none;border-color:#1a3f70;box-shadow:0 0 0 3px rgba(26,63,112,.12)}
.koreni-newsletter-consent{display:flex!important;gap:10px;align-items:flex-start;margin:14px 0 18px!important;color:#545454!important;font-size:13px!important;line-height:1.45!important}
.koreni-newsletter-consent input{appearance:auto!important;-webkit-appearance:checkbox!important;margin-top:3px;min-width:16px}
.koreni-newsletter-consent span{display:block!important;margin:0!important;color:#545454!important;font-size:13px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}
.koreni-newsletter button{width:100%;height:56px;border:0;border-radius:5px;background:#d10019;color:#fff;font:800 15px/1 Montserrat,Arial,sans-serif;text-transform:uppercase;letter-spacing:1px;cursor:pointer;transition:all .2s ease}
.koreni-newsletter button:hover{background:#b80016;transform:translateY(-1px)}
.koreni-newsletter-message{border-radius:5px;padding:11px 13px;margin:0 0 14px;font-weight:700;font-size:14px}
.koreni-newsletter-message.success{background:#eef8f1;color:#146c2e;border:1px solid #cdebd5}
.koreni-newsletter-message.error{background:#fff0f1;color:#a40014;border:1px solid #ffd0d6}
.koreni-hp{position:absolute!important;left:-9999px!important;opacity:0!important}
@media(max-width:980px){.koreni-newsletter{padding:22px}.koreni-newsletter h3{font-size:23px!important}.koreni-newsletter-grid{grid-template-columns:1fr}}
@media(max-width:480px){.koreni-newsletter{padding:20px}.koreni-newsletter input[type="text"],.koreni-newsletter input[type="email"]{height:50px}.koreni-newsletter button{height:54px}}
/* Keep the light hero introduction readable. */
.home .et_pb_section_0 .et_pb_text_1,.home .et_pb_section_0 .et_pb_text_1 p,.home .et_pb_section_0 .et_pb_text_1 span{color:#4d5c70!important}
.koreni-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}
.koreni-photo-gallery a{display:block;overflow:hidden;border-radius:8px;background:#f7f5f2;box-shadow:0 18px 45px rgba(16,36,63,.14)}
.koreni-photo-gallery img{display:block;width:100%;aspect-ratio:4/3;height:auto;object-fit:cover;transition:transform .22s ease}
.koreni-photo-gallery a:hover img{transform:scale(1.035)}
@media(max-width:980px){.koreni-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.koreni-photo-gallery{grid-template-columns:1fr;gap:14px}}
.koreni-legal{--red:#d10019;--blue:#1a3f70;--ink:#10243f;--text:#4f5b6b;--soft:#f7f5f2;font-family:Montserrat,Arial,sans-serif;color:var(--text)}
.koreni-legal *{box-sizing:border-box}
.koreni-legal h1,.koreni-legal h2,.koreni-legal h3{font-family:Montserrat,Arial,sans-serif!important;letter-spacing:0;color:var(--blue)!important;font-weight:800;line-height:1.18}
.koreni-legal h1{font-size:clamp(38px,5vw,64px)}
.koreni-legal h2{font-size:30px;margin:44px 0 14px}
.koreni-legal h3{font-size:21px;margin:28px 0 10px}
.koreni-legal p,.koreni-legal li{font-size:17px;line-height:1.75}
.koreni-legal a{color:var(--red)!important}
.koreni-legal .eyebrow{display:block;color:var(--red);font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;margin-bottom:14px}
.koreni-legal .lead{font-size:21px;max-width:800px}
.koreni-legal .summary{background:#fff;border:1px solid #e2e7ed;border-left:4px solid var(--red);padding:24px;border-radius:6px;margin:30px 0}
.koreni-legal .summary p{margin:0}
.koreni-legal .contact{background:var(--soft);padding:26px;border-radius:6px;margin-top:34px}
.koreni-legal ul{padding-left:24px}
.koreni-legal .updated{font-size:14px;color:#748093}
.koreni-legal-hero{background:var(--soft)!important;padding:76px 0 56px!important}
.koreni-legal-body{background:#fff!important;padding:64px 0 80px!important}
.koreni-legal .et_pb_row{max-width:980px!important}
@media(max-width:767px){.koreni-legal h1{font-size:36px}.koreni-legal h2{font-size:26px}.koreni-legal p,.koreni-legal li{font-size:16px}.koreni-legal .lead{font-size:18px}.koreni-legal-hero,.koreni-legal-body{padding:48px 0!important}}
/* =========================================================================
   Grille d'actualites dynamique — shortcode [koreni_novosti]
   Reprend l'apparence des anciennes colonnes Divi 1_4 ecrites a la main.
   ========================================================================= */
.koreni-news-grid{display:grid;grid-template-columns:repeat(var(--koreni-news-cols,3),minmax(0,1fr));gap:26px;align-items:stretch}
.koreni-news-grid .koreni-post-card{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden;padding:0!important}
.koreni-news-grid .koreni-post-card img{width:100%;height:190px!important;object-fit:cover!important;object-position:center top!important;display:block}
.koreni-news-grid .koreni-post-card .inner{display:flex;flex:1;flex-direction:column;gap:8px;padding:26px!important}
.koreni-news-grid .koreni-post-card h3{font-size:20px!important;line-height:1.14;min-height:0;margin-bottom:8px!important}
.koreni-news-grid .koreni-post-card h3 a{color:var(--koreni-blue);text-decoration:none}
.koreni-news-grid .koreni-post-card h3 a:hover{color:var(--koreni-red)}
.koreni-news-grid .koreni-post-card p{line-height:1.55;margin-bottom:12px!important}
.koreni-news-grid .koreni-post-card .inner p:last-child{margin-top:auto;margin-bottom:0!important}
.koreni-news-grid .koreni-link-button{min-width:0;width:100%;padding-left:18px!important;padding-right:18px!important;margin-top:8px!important}
.koreni-news-empty{text-align:center;color:#7b8796}
@media(max-width:980px){.koreni-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.koreni-news-grid .koreni-post-card img{height:190px!important}}
@media(max-width:640px){.koreni-news-grid{grid-template-columns:1fr;gap:20px}
.koreni-news-grid .koreni-post-card img{height:200px!important}}

/* =========================================================================
   Lecteur video — shortcode [koreni_video]
   Par defaut calibre pour une video verticale (9:16).
   ========================================================================= */
.koreni-video{margin:0 auto;max-width:360px;width:100%;background:#000;border-radius:10px;overflow:hidden;box-shadow:0 20px 55px rgba(16,36,63,.18);line-height:0;padding:0}
.koreni-video video{display:block;width:100%;height:auto;max-height:72vh;outline:none}
.koreni-video figcaption{line-height:1.5;padding:12px 16px;background:#fff;color:#7b8796;font-size:14px;text-align:center}
.koreni-video.wide{max-width:900px}
@media(max-width:640px){.koreni-video{max-width:100%}
.koreni-video video{max-height:none}}

/* =========================================================================
   Couche de compatibilite avec le CSS additionnel du Customizer
   -------------------------------------------------------------------------
   Apparence > Personnaliser > CSS additionnel contient un ancien jeu de
   regles (blocs "HERO SECTION", "TYPOGRAPHY", "EYEBROW LABELS") qui force :
     .et_pb_section_0 p, .et_pb_section_0 h1/h2  -> blanc
     .koreni-eyebrow                             -> blanc
     h1..h6, .et_pb_text h2                      -> #1B2A4A
   Ces regles supposent que la 1re section de chaque page est un hero fonce.
   Ce n'est pas le cas des gabarits KORENI : resultat, du texte blanc sur
   fond clair (titres invisibles sur Kontakt, Nasa misija, articles...).
   On les neutralise ici, uniquement dans les blocs KORENI.
   L'ORDRE COMPTE : clair d'abord, puis fonce, puis hero a image de fond.
   ========================================================================= */

/* --- 1. Sections claires ------------------------------------------------ */
.koreni-page.et_pb_section p,
.koreni-page.et_pb_section li,
.koreni-page.et_pb_section .et_pb_text,
.koreni-legal.et_pb_section p,
.koreni-legal.et_pb_section li,
.koreni-legal.et_pb_section .et_pb_text{color:var(--koreni-text,#545454)!important;font-size:18px!important}
.koreni-legal.et_pb_section p,
.koreni-legal.et_pb_section li{color:#4f5b6b!important}
.koreni-page.et_pb_section h1,
.koreni-page.et_pb_section h2,
.koreni-page.et_pb_section h3,
.koreni-page.et_pb_section h4,
.koreni-legal.et_pb_section h1,
.koreni-legal.et_pb_section h2,
.koreni-legal.et_pb_section h3{color:#1a3f70!important}
.koreni-page.et_pb_section .koreni-lead,
.koreni-legal.et_pb_section .koreni-lead{color:#4d5c70!important;font-size:21px!important}
.koreni-page.et_pb_section .koreni-eyebrow,
.koreni-legal.et_pb_section .koreni-eyebrow{color:var(--koreni-red,#d10019)!important;font-size:13px!important;font-weight:800!important}
.koreni-page.et_pb_section .koreni-meta{color:#7b8796!important;font-size:13px!important}

/* --- 2. Sections foncees ------------------------------------------------ */
.koreni-dark.et_pb_section .et_pb_text,
.koreni-dark.et_pb_section p,
.koreni-dark.et_pb_section li,
.koreni-dark.et_pb_section h1,
.koreni-dark.et_pb_section h2,
.koreni-dark.et_pb_section h3,
.koreni-dark.et_pb_section h4{color:#fff!important}
.koreni-dark.et_pb_section .koreni-eyebrow{color:#b8c7da!important}
.koreni-dark.et_pb_section .koreni-lead{color:#e8eef6!important}

/* --- 3. Cartes : fond blanc, donc texte fonce --------------------------- */
.koreni-page.et_pb_section .koreni-card p,
.koreni-page.et_pb_section .koreni-card li,
.koreni-dark.et_pb_section .koreni-card p,
.koreni-dark.et_pb_section .koreni-card li{color:var(--koreni-text,#545454)!important}
.koreni-page.et_pb_section .koreni-card h3,
.koreni-dark.et_pb_section .koreni-card h3{color:var(--koreni-blue,#1a3f70)!important}
.koreni-page.et_pb_section .koreni-card .koreni-meta,
.koreni-dark.et_pb_section .koreni-card .koreni-meta{color:#7b8796!important}

/* --- 4. Hero avec image de fond : le texte doit rester blanc ------------ */
.koreni-blog-hero.et_pb_section h1,
.koreni-blog-hero.et_pb_section h2,
.koreni-blog-hero.et_pb_section p,
.koreni-blog-hero.et_pb_section .koreni-lead{color:#fff!important}

/* =========================================================================
   Variables disponibles partout
   -------------------------------------------------------------------------
   Les variables --koreni-* n'etaient definies que sur .koreni-page. Un
   bouton .koreni-link-button place ailleurs (ex. cartes "goal" de l'accueil)
   se retrouvait sans couleur de fond. Memes valeurs, aucun impact visuel
   sur l'existant.
   ========================================================================= */
:root{--koreni-red:#d10019;--koreni-blue:#1a3f70;--koreni-ink:#10243f;--koreni-text:#545454;--koreni-cream:#f7f5f2}

/* Bouton d'appel dans les cartes "objectifs" de l'accueil */
.goal-cta{margin-top:18px!important}
.goal-cta .koreni-link-button{min-width:0;white-space:normal;text-align:center}

/* =========================================================================
   Formulaire de contact — gouttiere entre les champs mi-largeur
   -------------------------------------------------------------------------
   Le CSS additionnel du Customizer contient :
     .et_pb_contact_field.et_pb_contact_field_half{width:48%}
     .et_pb_contact_field.et_pb_contact_field_half:first-child{margin-right:4%}
   Le ":first-child" ne vise que le TOUT PREMIER champ (Ime). Resultat :
   la 2e ligne (Email / Telefon) n'avait aucune gouttiere, les deux champs
   se touchaient et la ligne s'arretait a 96% de la largeur.
   On donne la gouttiere a tous les champs mi-largeur, sauf le dernier de
   chaque ligne et les champs forces en pleine largeur.
   Aucun reglage du module Divi n'est modifie.
   ========================================================================= */
.koreni-contact .et_pb_contact_field.et_pb_contact_field_half{margin-right:4%!important}
.koreni-contact .et_pb_contact_field.et_pb_contact_field_last{margin-right:0!important}
.koreni-contact .et_pb_contact_field[data-id="mesto"],
.koreni-contact .et_pb_contact_field[data-id="interesovanje"],
.koreni-contact .et_pb_contact_field[data-id="poruka"]{margin-right:0!important}
@media(max-width:767px){.koreni-contact .et_pb_contact_field.et_pb_contact_field_half{width:100%!important;margin-right:0!important}}

/* =========================================================================
   Mur de sponsors — emplacements libres "Vaš logo ovde"
   Un emplacement rempli : <a class="koreni-sponsor-slot filled"><img ...></a>
   ========================================================================= */
.koreni-sponsor-logos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:22px}
.koreni-sponsor-logos a.koreni-sponsor-slot,
.koreni-sponsor-logos .koreni-sponsor-slot{display:flex;align-items:center;justify-content:center;text-align:center;min-height:130px;padding:18px;background:#fff;border:2px dashed #cdd5e0;border-radius:8px;color:#8a97a8!important;font-size:13px!important;font-weight:800!important;text-transform:uppercase;letter-spacing:.08em;line-height:1.35;text-decoration:none!important;transition:border-color .18s ease,color .18s ease,box-shadow .18s ease}
.koreni-sponsor-logos a.koreni-sponsor-slot:hover{border-color:var(--koreni-red);color:var(--koreni-red)!important;box-shadow:0 14px 34px rgba(16,36,63,.10)}
.koreni-sponsor-logos .koreni-sponsor-slot.filled{border-style:solid;border-color:#e5e9ef;padding:22px}
.koreni-sponsor-logos .koreni-sponsor-slot img{max-width:100%;max-height:74px;width:auto;object-fit:contain;display:block}
@media(max-width:980px){.koreni-sponsor-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}
@media(max-width:640px){.koreni-sponsor-logos{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.koreni-sponsor-logos .koreni-sponsor-slot{min-height:110px}}

/* =========================================================================
   Rangees de cartes : hauteur egale et bouton aligne en bas
   -------------------------------------------------------------------------
   A appliquer en ajoutant module_class="koreni-cards-row" a la ligne Divi.
   Le paragraphe du bouton porte class="koreni-card-cta".
   Classe dediee plutot qu'un selecteur large : les autres rangees du site
   (hero 3_5/2_5, etc.) ne doivent pas passer en flex.
   ========================================================================= */
.koreni-cards-row{display:flex;flex-wrap:wrap;align-items:stretch}
.koreni-cards-row .et_pb_column{display:flex;align-items:stretch}
.koreni-cards-row .et_pb_column > .et_pb_module{width:100%;height:100%;display:flex;flex-direction:column}
.koreni-cards-row .et_pb_column > .et_pb_module > .et_pb_text_inner{display:flex;flex-direction:column;flex:1 1 auto}
.koreni-cards-row .koreni-card .koreni-card-cta{margin-top:auto!important;margin-bottom:0!important}
@media(max-width:980px){.koreni-cards-row .et_pb_column{margin-bottom:26px!important}}

/* Titres de cartes : reserver la hauteur de deux lignes pour que les
   descriptions demarrent toutes a la meme hauteur (ex. "Materijalna podrška"
   passe sur deux lignes alors que "Donacija" tient sur une).
   Uniquement quand les cartes sont cote a cote : empilees, ce serait du vide. */
@media(min-width:981px){
.koreni-cards-row h3{min-height:2.7em}
}

/* Boutons dans les cartes : la regle de base impose min-width:190px et un
   padding de 22px, concu pour de pleines largeurs. Dans une carte en 1/4 de
   rangee l'interieur ne fait que ~184px, donc "POSTANI SPONZOR" debordait.
   On les met a la largeur de la carte, avec un texte un peu plus compact. */
.koreni-cards-row .koreni-card-cta .koreni-link-button{width:100%;min-width:0!important;
padding-left:12px!important;padding-right:12px!important;font-size:13px!important;
letter-spacing:.02em!important;line-height:1.2!important;white-space:normal;text-align:center}
/* Entre 981 et 1340px les colonnes 1/4 sont trop etroites pour "POSTANI
   SPONZOR" sur une ligne : il passe sur deux. On reserve la hauteur de deux
   lignes pour tous les boutons de la rangee, sinon ils n'ont pas la meme
   hauteur cote a cote. */
@media(min-width:981px) and (max-width:1340px){
.koreni-cards-row .koreni-card-cta .koreni-link-button{min-height:63px}
}

/* =========================================================================
   Bandeau de logos defilant — shortcode [koreni_traka]
   Le contenu est duplique : l'animation translate de -50% pour boucler sans
   saut. Pause au survol, animation coupee si l'utilisateur a demande moins
   de mouvement (prefers-reduced-motion).
   ========================================================================= */
.koreni-traka{background:#fff;border-top:1px solid #e9ecf1;border-bottom:1px solid #e9ecf1;padding:20px 0 24px}
.koreni-traka p.koreni-traka__naslov{text-align:center;margin:0 0 14px!important;font-size:12px!important;font-weight:800!important;
letter-spacing:.14em;text-transform:uppercase;color:#8a97a8!important}
.koreni-traka__okvir{overflow:hidden;position:relative;
-webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.koreni-traka__piste{display:flex;width:max-content;animation-name:koreni-defile;animation-timing-function:linear;
animation-iteration-count:infinite}
.koreni-traka__groupe{display:flex;align-items:center;gap:26px;padding-right:26px}
.koreni-traka__item{flex:0 0 auto;display:flex;align-items:center;justify-content:center;
min-width:190px;height:88px;padding:12px 18px;border-radius:8px;background:#fff}
.koreni-traka__item img{max-height:60px;max-width:160px;width:auto;object-fit:contain;display:block}
a.koreni-traka__libre{border:2px dashed #cdd5e0;color:#8a97a8!important;font-size:12px!important;font-weight:800!important;
letter-spacing:.08em;text-transform:uppercase;text-decoration:none!important;text-align:center;line-height:1.3;
transition:border-color .18s ease,color .18s ease}
a.koreni-traka__libre:hover{border-color:var(--koreni-red,#d10019);color:var(--koreni-red,#d10019)!important}
.koreni-traka:hover .koreni-traka__piste{animation-play-state:paused}
@keyframes koreni-defile{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(max-width:640px){.koreni-traka__item{min-width:150px;height:76px}
.koreni-traka__item img{max-height:50px;max-width:124px}}
@media(prefers-reduced-motion:reduce){.koreni-traka__piste{animation:none;width:100%;overflow-x:auto}}

/* Credit du pied de page : le lien a la meme couleur que le texte, donc rien
   ne signale qu'il est cliquable. Soulignement discret. */
#footer-info a{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;
text-decoration-color:rgba(255,255,255,.45);transition:color .18s ease,text-decoration-color .18s ease}
#footer-info a:hover{color:#fff!important;text-decoration-color:#fff}

/* Le CSS additionnel du Customizer contient "#footer-info{display:none!important}",
   ajoute a l'epoque pour masquer le credit "Designed by Elegant Themes".
   Ce credit est maintenant celui de KORENI : on le reaffiche. Specificite
   superieure (deux ID) car la regle du Customizer est inline, donc plus tardive. */
#footer-bottom #footer-info{display:block!important;text-align:center;padding:0 16px}
@media(min-width:981px){#footer-bottom #footer-info{text-align:left}}

/* =========================================================================
   Filtre par categorie au-dessus du grid des novosti (shortcode filter="1")
   ========================================================================= */
.koreni-news-filter{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 34px}
.koreni-filter-pill{-webkit-appearance:none;appearance:none;display:inline-flex;align-items:center;min-height:42px;padding:11px 20px;background:#fff;border:2px solid #e2ded7;border-radius:999px;color:var(--koreni-ink);font-family:Montserrat,Arial,sans-serif;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;line-height:1;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.koreni-filter-pill:hover{border-color:var(--koreni-red);color:var(--koreni-red)}
.koreni-filter-pill.is-active{background:var(--koreni-red);border-color:var(--koreni-red);color:#fff}
.koreni-filter-pill:focus-visible{outline:3px solid rgba(209,0,25,.35);outline-offset:2px}
.koreni-news-grid .koreni-post-card[hidden]{display:none!important}
@media(max-width:980px){.koreni-news-filter{gap:8px;margin-bottom:26px}.koreni-filter-pill{min-height:38px;padding:9px 16px;font-size:12px}}
