/* Eduka — theme overrides (after core style.css). Fonts: templates/fonts.html */
:root {
  --content-max-width: 1000px;
  --eduka-blue: #14294b;
  --eduka-gold: #9b8a5c;
  --eduka-bronze: #9e785b;
  --eduka-roze: #FFE9E9;
  --eduka-violet: #B4ADB9;
  --eduka-light-green: #a5a786;
  --eduka-summer-school-green: #7e8a4f;
  --eduka-light-grey: #e3e1dc;
  --eduka-font: 'Roboto', Helvetica, Arial, sans-serif;
  --eduka-font-display: 'Playfair Display', Georgia, serif;
}

* { 
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0); 
  -moz-tap-highlight-color: rgba(0, 0, 0, 0);
}

iframe {
  max-width: 100%;
}

html, body {
  overscroll-behavior: none;
}

body {
  color: black;
  background: #f1efed;
  font-family: 'Roboto', sans-serif, Arial;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: .03em;
}

a, a:visited {
  font-weight: normal;
  color: var(--eduka-blue);
/*  text-decoration: underline;*/
}



h1,
h2,
h3 {
  font-family: "Playfair Display";
  font-weight: normal;
  color: #14294b;
}

h2 {
  font-size: 36px;
  position: relative;
  padding-bottom: .3em;
}


p {
  line-height: 140%;
  color: #6b6559;

}

.video-container {
  height: 300px;
  width: 300px;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  z-index: 0;
}

/* Just styling the content of the div, the *magic* in the previous rules */
.video-container .caption {
  z-index: 1;
  position: relative;
  text-align: center;
  color: #dc0000;
  padding: 10px;
}

.wrapper {
  padding-top: 110px;
}

/* Full fixed header (logo + menu). !important beats core/theme inline measure races. */
@media (min-width: 769px) {
  html {
    --header-offset: 110px !important;
  }
}

.breadcrumbs {
  font-size: .6rem;
}

.carousel {
  position: relative;
}

.content {
  background: transparent;
  color: #252525;
  max-width: 100%;
  padding-bottom: 0;
}

.content img {
  width: 100%;
  max-width: 100%;
}

.content.post {
  max-width: 1000px;
}

.content strong {
  font-weight: normal;
  color: #023142;
}

/* Old shop width — core section uses --content-max-width (1200px).
.content section {
  width: 1000px;
  max-width: 100%;
  margin: auto;
}
*/

/* Core `.content section { padding: 0 }` — vertical rhythm on segments */
.content section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/* Wide CMS tables: scroll wrapper (theme.js); overflow on <table> leaks on Safari/iOS */
.content .table-scroll {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.content .table-scroll table {
  width: max-content;
  max-width: none;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  /* Stop one wide child (e.g. table) from expanding the whole page + header */
  html, body {
    overflow-x: hidden;
    overflow-x: clip;
  }
}

.content section.medium {
  width: 1440px;
  max-width: 100%;
  margin: auto;
}

.content.home section {
  padding: 1rem 0;
}

.content section.full {
  max-width: 100%;
  width: 100%;
  position: relative;
}

.content section.wide {
  max-width: 1920px;
  width: 100%;
  position: relative;
}

.content section > p {
  margin-top: 1em;
  margin-bottom: 1em;
}

.home section.full:last-child {
  padding-bottom: 0;
}

.content h1,
.content h2,
.content h3 {
  color: black;
  position: relative;
}

.content h1,
.content h2 {
  text-align: center;
}


.page-vesti h2 {
  font-size: 1.1rem;
  line-height: 1.2em;
  margin-top: .5rem;
  margin-bottom: .5rem;
}

.page-vesti .post-date {
  text-align: right;
}

.page-vesti .posts {
  grid-template-columns: repeat(3, 1fr);
}

.page-vesti .post {
  padding: .5rem;
  display: flex;
  flex-direction: column;
}

.page-vesti .post .post-image-container { order: 1; }
.page-vesti .post .post-date { order: 2; }
.page-vesti .post > a { order: 3; }
.page-vesti .post .post-description { order: 4; }

.page-vesti .post .post-image-container img {
  margin: 0;
}

.page-medjunarodni-partneri .post {
  padding: .5em;
  text-align: center;
}

.page-medjunarodni-partneri .post-description {
  display: none;
}

/* PHP landings (CMS paste + layout blank): escape core .content section max-width */
.page-landing-mo .content section,
.page-landing-vatel .content section,
.page-landing-letnja .content section {
  max-width: none;
}

.header {
  /*background: #14294b;*/
  background: whitesmoke;
  color: #fff;
  border-bottom: none;
  height: auto;
  min-height: 110px;
  transition: top .45s ease;
  -webkit-box-shadow: 0px 8px 11px -4px rgba(0,0,0,0.34); 
  box-shadow: 0px 8px 11px -4px rgba(0,0,0,0.34);
}

.header ul .top {
  border: none;
}

.header ul li:hover {
  background: transparent;
}

.header ul li:hover > a:first-child{
  opacity: .8;
  transition: opacity .3s;
}

#menu-container {
  background: whitesmoke;
}

/*.header ul li:not(.top):before {
  content: "";
  position: absolute;
  width: 4px;
  left: 1em;
  height: 0;
  top: 0;
  background: #ddcbab;
  transition: opacity .5s;
  opacity: .2;
}

.header ul li:not(.top):hover:before {
  content: "";
  position: absolute;
  width: 4px;
  height: 100%;
  top: 0;
  opacity: 1;
}*/

.parent-div .arrow {
    position: absolute;
    top: 0.35em;
    right: 2px;
/*    transform: rotate(-90deg);*/
}


.arrow {
  transform: rotate(-90deg);
}
.arrow img {
  width: 20px;
}

.arrow-open {
  transform: rotate(0);
}


.posts {
  display: grid;
  grid-template-columns: repeat(2, 50%);
}

.posts .post {
  background-color: white;
  box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.2);
}

.header ul a {
  /*color: white;*/
  color: var(--eduka-bronze);
  font-weight: 300;
  line-height: 1.2em;
  padding: 0;
  font-size: 12px;
}

.header ul {
  width: 100%;
  text-align: center;
  font-size: 16px;
  bottom: 0;
}

/*.parent-div .parent-subcategories:not(.parent-div-in .parent-subcategories):before {
  content: '';
  z-index: -50;
  background: #14294b;
  position: absolute;
  top: 0;
  height: 150%;
  min-height: 60vh;
  width: 10000px;
  left: -5000px;
}*/

.parent-div .subitems-container {
  /*position: relative;
  background: red;
  min-height: 300px;*/
}

/*.header .parent-div-in {
    position: relative;
    right: auto;
    top: 0;
    width: auto;
    min-width: 100%;
}*/

.header .parent-div-in {
position: absolute;
    left: 100%;
    top: 0;
    width: auto;
    min-width: 100%;
  }

.header .parent-subcategories {
/*  width: 1000px;*/
  width: auto;
  min-width: 180px;
  /*background: #14294b;*/
  background: whitesmoke;
  padding-top: .5em;
  padding-bottom: .5em;
}

.header .parent-subcategories li {
  background: transparent;
  line-height: 1em;
  padding: .5em;
  padding-left: 1em;
  padding-right: 1em;
  position: relative;
}

.header .parent-div {
  box-shadow: none;
  -webkit-box-shadow: none;
}


.header .logo {
  text-align: center;
  margin-top: 0;
}

.header .logo img {
  height: 3.5em;
  margin: .2em;

}

.main-title {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /*transform: translateY(-50%);*/
  text-align: center;
  /*text-shadow: 0px 0px 10px rgba(0, 0, 0, 200);*/
/*  background: #000000cc;*/
}

.main-title h1 {
  color: var(--eduka-bronze) !important;
  margin-bottom: 10px;
  line-height: 60px;
  font-size: 2.4rem;
}

.main-title p {
  color: var(--eduka-bronze);
  font-family: 'Playfair Display';
  font-size: 1.8rem;
  font-style: italic;
}


.main-title h2 {
  font-family: 'Helvetica Neue';
  margin-top: 0;
  color: var(--eduka-bronze) !important;
  font-weight: 300;
  letter-spacing: 4px;
  font-size: 16px;
  text-transform: uppercase;
  padding-bottom: 1em;
}

/*
 * CMS injects into <footer class="footer"> (not #footer).
 * Use body > footer.footer so we beat core body > footer / body > footer.footer a.
 * Match foseduka: bronze bg, soft-white type, blue newsletter button.
 */
body > footer.footer,
#footer {
  background: var(--eduka-bronze);
  color: #14294b;
  position: relative;
  padding: 0 1em 1em;
  text-align: center;
  font-size: .8em;
  overflow: hidden;
}

body > footer.footer a,
#footer a {
  color: #ffffff90;
  font-weight: 300;
  display: block;
  text-decoration: none;
  margin-bottom: .4em;
  transition: color .3s;
}

body > footer.footer a:hover,
#footer a:hover {
  color: #fff;
}

body > footer.footer h2,
#footer h2 {
  font-size: 14px;
  margin: 0 0 .5em;
  font-weight: 600;
  color: #ffffff90;
  line-height: 1.25;
}

body > footer.footer p,
#footer p {
  font-size: 10px;
  margin: 0;
  color: #ffffff90;
  line-height: 1.4;
}

body > footer.footer .footer-container,
#footer .footer-container {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: none;
  margin: 2em auto 0;
  text-align: left;
}

body > footer.footer .footer-left,
#footer .footer-left {
  width: 35%;
  box-sizing: border-box;
  text-align: left;
  position: relative;
  min-height: 220px;
}

body > footer.footer .footer-right,
#footer .footer-right {
  width: 65%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  text-align: left;
}

body > footer.footer .footer-right > div,
#footer .footer-right > div {
  padding-right: .5em;
  padding-bottom: 2em;
}

body > footer.footer .footer-left-top,
#footer .footer-left-top {
  text-align: center;
}

body > footer.footer .footer-left-bottom,
#footer .footer-left-bottom {
  text-align: left;
  position: absolute;
  left: 0;
  bottom: 0;
}

body > footer.footer .footer-left-top img,
#footer .footer-left-top img {
  height: 100px;
  width: auto;
  margin: 0 auto;
  display: inline-block;
}

body > footer.footer .footer-left-bottom img,
#footer .footer-left-bottom img {
  height: 60px;
  width: auto;
  display: inline-block;
  margin-right: .5em;
}

body > footer.footer input,
#footer input {
  border-radius: 1000px;
  border: none;
  padding: .5em;
  color: #14294b;
}

body > footer.footer .footer-quote,
#footer .footer-quote {
  margin-top: 1em !important;
  font-size: 1.2em !important;
  font-style: italic;
  color: #ffffff90;
}

body > footer.footer button,
#footer button {
  background: var(--eduka-blue);
  color: #fff;
  padding: .5em 1em;
  cursor: pointer;
  border-radius: 1000px;
  margin-left: 2px;
  border: none;
  margin-top: .5em;
}

/* Core wraps CMS HTML in section max-width — footer stays full-bleed */
body > footer.footer > section,
body > footer.footer section.full {
  max-width: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.home-overlay-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
}

.home-overlay-text h3 {
  color: white;
  font-size: 3em;
}

.home-overlay-text .home-overlay-button {
  color: white;
  border: 1px solid white;
  background: none;
  font-size: 1.3em;
  display: inline-block;
  padding: 0.5em 2em;
  cursor: pointer;
}

.home-news {
  padding: 10%;
  padding-block: 1em;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1em;
}

.home-news img {
  aspect-ratio: 1/1;
}

.home-news h3 {
  margin-top: .1em;
  color: white;
  padding-bottom: .5em;
}

.home-news h3:after {
  content: '';
  position: absolute;
  width: 5em;
  height: 2px;
  background: white;
  left: 0;
  bottom: 0;
}

.home-news p {
  color: white;
}

/*.home-news h3:after {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--eduka-gold);

}*/

.home-why-eduka {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: baseline;
}

.home-why-eduka-container {
  position: relative;
}

.home-why-eduka-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.home-why-eduka .post img {
  width: 50%;
}

.home-why-eduka .post {
  text-align: center;
  height: 15em;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1em;
  box-sizing: border-box;
}

.home-why-eduka .post h3 {
  font-size: 24px;
  margin: 0;
  color: white;
  font-weight: 200;
}

.home-why-eduka .post span {
  font-size: 48px;
  display: block;
}

.home-why-eduka p {
  color: white;
}

.header-login {
  width: 4em;
}


/*@media screen and (max-width: 531px) {
    .container { display: flex; flex-flow: column; }
    .five { order: 1; }
    .four { order: 2;  }
    .three { order: 3; }
    .two { order: 4; }
    .one { order: 5 }
}*/

.page-sidebar {
  margin-top: 3em;
}

.post-event h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.sidebar a {
  font-weight: 400;
  max-width: 80%;
  display: inline-block;
  color: #8a93a0;
}

.sidebar a:visited {
  color: #8a93a0;
}

.sidebar {
  padding-bottom: 1em;
}

/*.page-sidebar:after {
  content: '';
  background: #bec0c4;
  position: absolute;
  top: 0;
  right: 1em;
  height: 100%;
  width: 1px;
}*/

.page-content {
  width: 100%;
  padding-bottom: 2rem;
}

.page-content-top > *:first-child {
  margin-top: 0;
}

.page-content-top h2, .page-content-top h3 {
  text-align: center;
}

.home-programs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2em;
}

.home-program {
  position: relative;
  background: #14294b;
  cursor: pointer;
  overflow: hidden;
}

.home-program:hover img {
  opacity: 0;
}

.home-program h3 {
  color: white;
  font-size: 1.2em;
  margin-bottom: 0;
}

/*.home-program h3 {
  color: white;
  font-size: 32px;
  margin-bottom: 0;
  font-weight: bold;
}*/

.home-program li {
  text-align: left;
}

.home-program p, .home-program ul {
  display: none;
  opacity: 0;
  transition: opacity .5s;
}

.home-program p {
  margin-top: 0;
  color: var(--eduka-gold);
}

.home-program:hover p, .home-program:hover ul {
  display: block;
  opacity: 1;
}

.home-program:hover .text-content {
  height: 300px;
}

.home-program:before {
  content: '';
  background: white;
  width: 1px;
  height: 0px;
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 1;
  transition: height 1s;
}

.home-program:hover:before {
  height: 100px;
}

.home-program .text-content{
  position: absolute;
  text-align: center;
  top: 50%;
  width: 80%;
  left: 10%;
  height: 200px;
  overflow-y: hidden;
  transform: translateY(-50%);
  transition: height 1s;
  color: white;
}

.home-program img {
  width: 100%;
  aspect-ratio: 1/1;
  display: block;
  transition: opacity .5s;
  object-fit: cover;
}

.home-upis {
/*  background: var(--eduka-gold);*/
/*  color: white;*/
  padding: 2em;
  text-align: center;
}

.home-upis a {
    display: inline-block;
    background: var(--eduka-blue);
    color: white;
    padding: .5em 1em;
    font-size: 2em;
}

/*.home-upis h2 {
  color: var(--eduka-blue);
}*/

.program-post {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
/*  background: #a59160;*/
  background: #9e785b;
}

.program-post .post-image-container img{
  aspect-ratio: 4/3;
  object-fit: cover;
}

.program-post .program-post-content {
    padding: 2em;
    text-align: left;
}

.program-post p {
  color: white;
}

.program-post h2 {
  color: white;
  text-align: left;
  font-size: 3em;
}

.program-post-content a, .button-blue {
  display: inline-block;
  background: var(--eduka-blue);
  color: white;
  padding: .5em 1em;
}

.slick-slider {
  width: 100%;
  overflow: hidden;
}

.submit-container {
  text-align: center;
  padding: 1em;
}

.submit-container .button-blue {
  font-size: 1em;
  cursor: pointer;
}



/*.program-post h2{
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  color: white;
  transform: translateY(-100%);
  font-size: 32px;
}*/

.home-become {
  line-height: 1.1em;
  padding: 0;
  text-align: center;
  font-size: 72px;
  font-style: italic;
  color: var(--eduka-blue);
  font-family: 'Playfair Display';
}

.upis form {
  padding-bottom: 2em;
}


.upis .form-section {
  padding-inline: 15%;
}

.upis-form-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}

form input[type='number'], form input[type='tel'], form input[type='email'], form input[type='date']{
    width: 100%;
    box-sizing: border-box;
    padding: .5em;
    font-size: 1em;
    border: 1px solid #ddd;
    border-radius: .3em;
    margin-bottom: .5em;
    height: 2.3em;
}

form .terms-accepted-label {
  font-size: .6em;
}

section.home-quote {
  position: relative;
  text-align: center;
  margin-bottom: 2em;
  padding-block: 4em;
}

section.home-quote.home-quote-top {
  margin-top: 2em;
  padding-top: 3em;
  padding-bottom: 3em;
}

.home-quote img {
  position: absolute;
  top: 0;
  left: 50%;
  height: 100%;
  width: auto;
  opacity: .2;
  transform: translateX(-50%);
  z-index: -1;
}

.news-bck-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

.page-mission .page-block-left{
  margin-bottom: 2em;
}


.page-block-left {
  padding: 5%;
  padding-right: 55%;
  box-sizing: border-box;
  position: relative;
  min-height: 600px;
  background: #e3e1dc;
}

.page-block-left img {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.page-block-right {
  padding: 5%;
  padding-left: 55%;
  box-sizing: border-box;
  position: relative;
  min-height:600px;
  background: #e3e1dc;
}

.page-block-right img {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.section-page p {
  margin-top: 2em;
  margin-bottom: 2em;
}

.page-program .section-page {
  max-width: 100%;
}

.page-program p {
  max-width: 1000px;
  margin: auto;
  margin-block: 1em;
}

.page-program .page-block-left p {
  max-width: auto;
}
.page-program .page-block-right p {
  max-width: auto;
}

.page-program h2 a {
  color: black;
  text-decoration: underline;
}

.page-program h3 {
  text-align: left;
}


.bck-white {
  background: #fff;
}
.bck-brown {
  background: #9e785b;
}
.bck-blue {
  background: var(--eduka-blue);
}
.bck-gold {
  background: var(--eduka-gold);
}

.input-error {
  border-color: red !important;
}

#submit-error {
  color: darkred;
}


.page-courses-top {
  display: grid;
  grid-template-columns: 50% 50%;
  background: var(--eduka-bronze);
  color: white;
  text-align: left;
}

.page-courses .section-page {
    max-width: 100%;
}
.page-courses .page-sidebar {
    display: none;
}

.page-courses .page-title {
  display: none;
}

/*.page-courses p, .page-courses h2, .page-courses h3, .page-courses h4, .page-courses ul, .page-courses ol  {
  max-width: 1000px;
  margin: auto;
  margin-top: 1em;
  margin-bottom: 1em;
}*/


.page-courses section.full {
  background: var(--eduka-bronze);
}

/*
 * Core: nested section inside section.full still gets --content-max-width + mobile side padding.
 * CMS often wraps heroes as section.full > section > … — that left bronze “padding” around images.
 * Match foseduka: inner section stays full-bleed.
 */
.page-content > section.full > section {
  max-width: none;
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}

.page-courses-top h1 {
  color: white;
  padding-left: 2rem;
  padding-right: 2rem;
  font-size: 3rem;
  margin: 0;
  text-align: left;
  margin-top: 1em;
  margin-bottom: 1em;
}
.page-courses-top h2 {
  color: white;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: left;
  font-size: 1.7rem;
}

.page-courses-top > div {
  min-height: 400px;
}

.page-courses-top div:last-child {
  position: relative;
  min-height: 100%;
  overflow: hidden;
}

.page-courses-top img {
  position: absolute;
  inset: 0;
  display: block;
  height: 100%;
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.page-courses-top p {
  color: white;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-top: 1em;
  margin-bottom: 1em;
}

.page-courses-top p:last-of-type {
  text-align: center;
  padding: .5em;
  font-size: 1.2em;
  font-family: "Playfair Display";

}

.page-courses-top a {
  color: white;
  padding: 2rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

.page-courses-top a:nth-child(4n+1) {
  background: var(--eduka-blue);
}
.page-courses-top a:nth-child(4n+2) {
  background: var(--eduka-roze);
  color: var(--eduka-blue);
}
.page-courses-top a:nth-child(4n+3) {
  background: var(--eduka-bronze);
}
.page-courses-top a:nth-child(4n+4) {
  background: var(--eduka-violet);
}



.page-courses-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1rem;
}

.page-courses-cards div {
  padding: 1em;
  border-radius: 1em;
  text-decoration: none;
  text-align: center;
  color: white;
}

.page-courses-cards div p {
  color: inherit;

}
.page-courses-cards div h3 {
  color: inherit;
}

.page-courses-cards div ul {
  text-align: left;
  color: inherit;
  padding-left: 1em;
  font-size: .8em;
}

.page-courses-cards h3 {
  font-size: 2rem;
  margin-bottom: 0;
}

.page-courses-cards a {
  margin-top: auto;
}

.page-courses-cards p:first-of-type {
  font-size: 3rem;
  font-family: 'Playfair Display';
  margin-bottom: 0;
  margin-top: 0;
}
.page-courses-cards p:last-of-type {
  margin-top: 0;
}


.page-courses-cards div:nth-child(4n+1) {
  background: var(--eduka-blue);
}
.page-courses-cards div:nth-child(4n+2) {
  background: var(--eduka-roze);
  color: var(--eduka-blue);
}
.page-courses-cards div:nth-child(4n+3) {
  background: var(--eduka-bronze);
}
.page-courses-cards div:nth-child(4n+4) {
  background: var(--eduka-violet);
  color: var(--eduka-blue);
}


.segment-profesor {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.segment-profesor-image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  
}

.segment-profesor-image img {
  filter: grayscale(100%);
}

.segment-profesor-name {
  background: gray;
  color: white;
  padding: 1em;
  min-height: 4em;
}

.slick-slide:nth-child(odd) .segment-profesor-image {
  order: 2;
}
.slick-slide:nth-child(odd) .segment-profesor-name {
  order: 1;
}

.predmeti {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5em;
  padding: .5em;
  padding-bottom: 2em;
}

.predmeti-4 {
  grid-template-columns: repeat(4, 1fr);
}

.predmeti-2 {
  grid-template-columns: repeat(2, 1fr);
}

.predmeti-1 {
  grid-template-columns: repeat(1, 1fr);
}

.grid-1 {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.grid-4-2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.predmeti div {
  background: lightgray;
  border-radius: .5em;
  padding-bottom: 2em;
}

.predmeti h3 {
  text-align: center;
}

.predmeti ul {
  padding-left: 2em;
  padding-right: 2em;
}

.page .marker {
  padding-left: 1em;
  display: block;
  position: relative;
}

.page li {
  line-height: 140%;
  margin-top: .5em;
}

.page ul {
  margin-bottom: 2em;
}

.page .marker:before {
  content: '';
  position: absolute;
  left: .5em;
  top: 0;
  height: 100%;
  width: 2px;
  background: var(--eduka-blue);
  background: linear-gradient(var(--eduka-blue), #14294b00);
}

.button-upis-container {
  text-align: center;
  font-size: 1.2em;
}

.button-upis {
  display: inline-block;
  margin: 2em;
  padding: .5em 1em;
  background: var(--eduka-blue);
  color: white;
  border-radius: 3px;

}

a.button-upis:visited {
  color: white;
}

.button-upis img,
.button-upis svg {
  width: 1em;
  height: 1em;
  position: relative;
  display: inline-block;
  vertical-align: -0.15em;
  margin-left: 0.2em;
}

.page-contact .grid-2 {
  align-items: stretch;
}

.page-contact .contact-contacts {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.page-contact .contact-contacts > div {
  text-align: left;
  display: grid;
  grid-template-columns: 2em 1fr;
  align-items: center;
  gap: 1.5em;
}
.page-contact .contact-contacts img {
  display: block;
  width: 100%;
}


.page-courses-header {
  position: relative;
  color: white;
}

.page-courses-header h1 {
  font-size: 2em;
}

.page-courses-header p, .page-courses-header h1, .page-courses-header h2 {
  color: white;
  text-align: left;
}

.page-courses-header section {
  padding: 2em;
  box-sizing: border-box;
}

.page-courses-header img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  object-fit: cover;
  display: inline-block;
  z-index: -1;
}

.page-courses-buttons {
  gap: .5em;
  padding-top: .5em;
  padding-bottom: .5em;
}

.page-courses-buttons div {
  color: white;
  background: var(--eduka-blue);
  padding: .5em;
  cursor: pointer;
  text-align: center;
  font-family: 'Playfair Display';
}

.page-courses-buttons div.selected {
  background: var(--eduka-bronze);
}

.page-courses-content {
  padding: 2em;
  border: 1px solid black;
  margin-bottom: 2em;
}

.page-courses-content > div {
  display: none;
  width: 100%;
}

.page-courses-content > div:first-child {
  display: block;
}

.page-courses-content a {
  background: var(--eduka-blue);
  color: white;
  padding: .5em 2em;
  display: inline-block;
}

.page-courses-content img {
  width: 20%;
  border-radius: 1000px;
}

/*.posts.posts-category-nastavno-osoblje {
  grid-template-columns: repeat(6, 1fr);
}

.posts.posts-category-nastavno-osoblje .post {
  background: #00000000;
  box-shadow: none;
}

.posts.posts-category-nastavno-osoblje .post-image-container {
  border-radius: 1000px;
  overflow: hidden;
  aspect-ratio: 1/1;
  width: 100%;
}

.posts.posts-category-nastavno-osoblje .post-date {
  display: none;
}

.posts.posts-category-nastavno-osoblje h2 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  margin-top: .5em;
}

.posts.posts-category-nastavno-osoblje .post-description p{
  font-size: .8rem;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}*/


.page-stuff .posts {
  grid-template-columns: repeat(6, 1fr);
  display: grid;
  margin-bottom: 5em;
}

.page-stuff .post {
  background: #00000000;
  box-shadow: none;
    background: #00000000;
    box-shadow: none;
    display: inline-block;
    box-sizing: border-box;
    /* width: 15%; */
    vertical-align: top;
}

.page-stuff .post-image-container {
  /*border-radius: 1000px;*/
  overflow: hidden;
  aspect-ratio: 2/3;
  width: 100%;
}

.page-stuff .post .post-image-container img {
  aspect-ratio: 2/3;
}

.page-stuff .post-date {
  display: none;
}

.page-stuff .posts h2 {
  font-size: 1rem;
  margin: 0;
  line-height: 1.2;
  margin-top: .5em;
}

.page-stuff .posts .post-description p{
  font-size: .8rem;
  margin: 0;
  line-height: 1.2;
  text-align: center;
}


/* class is on body — scope everything to .content so header logos are untouched */
.post-stuff .content .page-header {
  position: relative;
}

.post-stuff .content .post-title,
.post-stuff .content .page-title {
    text-align: left;
    padding-left: 30%;
    box-sizing: border-box;
}

.post-stuff .content .post-date,
.post-stuff .content .breadcrumbs {
  padding-left: 30%;
  box-sizing: border-box;
}

.post-stuff .content .post-content,
.post-stuff .content .page-content {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.post-stuff .content .post-content > *,
.post-stuff .content .page-content > * {
  padding-left: 20%;
  width: 70%;
  box-sizing: border-box;
  margin: auto;
}

.post-stuff .content .page-header img {
  position: absolute;
  left: 0;
  width: 25%;
  top: 1em;
  /*border-radius: 1000px;*/
  padding: 0;
}

.page-stuff .posts.struktura  { 
  grid-template-columns: repeat(3, 1fr);
  /*padding-left: 25%;*/
  /*padding-right: 25%;*/
  box-sizing: border-box;
}

.posts.posts-category-medjunarodni-partneri {
    grid-template-columns: repeat(4, 1fr);
  }

.posts.posts-category-medjunarodni-partneri h2{
    font-size: 1.2rem;
  }

.posts.posts-category-medjunarodni-partneri .post img {
  object-fit: contain;
  aspect-ratio: 3/2;
}

.sidebar-eduka-news a {
  display: block;
  width: 100%;
  max-width: none;

}

.sidebar-eduka-news img {
  width: 100%;
  aspect-ratio: 4/2;
  object-fit: cover;
}

.sidebar-eduka-news h3 {
  font-size: 1em;
}

.sidebar-eduka-news {
  padding-bottom: 2em;
}

.post.post-category-novosti h2 {
  font-size: 1.4em;
  margin: .3em;
}

.post.post-category-novosti img {
  margin-bottom: .5em;
}

.page-hero-image img {
  width: 100%;
}

.page-upis h3 {
  text-align: left;
}

/* Page already has h1 Upis — form h2 would duplicate */
.page-upis .upis-form h2 {
  display: none;
}


.page-raspored .grid-2 {
  gap: 2em;
  padding-bottom: 3em;
}

.page-raspored .grid-2 div {
  border: 1px solid var(--eduka-blue);
  text-align: center;
  padding: 1em;
}

.button-blue {
  background: var(--eduka-blue);
  color: white;
  padding: .5em 3em;
  cursor: pointer;
  position: relative;
}

.button-blue:after {
  content: "";
    background: url(../images/arrow-top-right.svg) no-repeat center center;
    display: inline-block;
    height: 1em;
    width: 1em;
    background-size: contain;
} 

.button-blue:visited {
  color: white;
}

.page-science .button-blue {
  min-width: 20%;
  text-align: center;
}

.post .post-date {
  font-size: .6em;
}

.post .post-image-container img {
  display: inline-block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.post .post-description {
  font-size: .8em;
  padding: 0 .5em 1em .5em;
}

.post-page-content-container a:hover {
  text-decoration: none;
}



.page-landing .page-landing-top h2 {
  text-align: left;
  color: var(--eduka-blue);

}

.page-landing p {
  color: var(--eduka-blue);s
}

.page-landing .page-landing-top p {
}

.page-landing .page-landing-top h2 span {
  font-size: 2em;
}

.page-landing .page-landing-top h2 strong {
  font-weight: bold;
}

.page-landing .page-landing-top h2 {
  font-weight: normal;
}

.page-landing .page-landing-top {
  position: relative;
  padding-right: 40%;
  padding-bottom: 1em;
}

.page-landing .page-landing-top img {
  position: absolute;
  width: 30%;
  bottom: 0;
  right: -1em;
}

.page-landing section {
  box-sizing: border-box;
}


.page-landing-text {
  background: var(--eduka-blue);
  color: white;
  text-align: center;
  padding: 2em 20%;
}

.page-landing-text p {
  color: white;
  text-align: left;
}


.page-landing-middle {
  padding-right: 30%;
  position: relative;
  padding-top: 3em;
  padding-bottom: 2em;
}

.page-landing-middle img {
  position: absolute;
  width: 40%;
  bottom: 0;
  right: -1em;
  /*max-height: 100%;*/
}

.page-landing-middle h2 {
  text-align: left;
  color: var(--eduka-blue);
}


.page-landing .page-content-top .grid-2 {
  background: var(--eduka-bronze);
  color: white;
}

.page-landing .page-content-top .grid-2 p {
  color: white;
  text-align: left;
}

.page-landing .page-content-top .grid-2 h3 {
  color: white;
  text-align: left;
  font-size: 1.6em;
}

.page-landing .page-content-top .grid-2 img {
  display: block;
}

.page-landing .page-content-top .grid-2 a {
  display: inline-block;
  color: white;
  background: transparent;
  padding: .5em 2em;
  border: 1px solid white;
  margin-top: 1em;
}

.page-landing h1 {
  display: none;
}


.page-landing-bottom-text > div:last-child a {
  display: inline-block;
  color: white;
  background: var(--eduka-bronze);
  padding: .5em 2em;
  margin-top: 1em;
}

/*.page-landing .page-content-top .grid-2 div {
  text-align: left;
}*/

.page-landing .page-content-top .grid-left div:last-child {
  padding: 2em;
  box-sizing: border-box;
}

.page-landing .page-content-top .grid-right div:first-child {
  padding: 2em;
  box-sizing: border-box;
}

.page-landing .grid-left .button-container {
  padding: 0 !important;
  text-align: right;
}

.page-landing .grid-right .button-container {
  padding: 0 !important;
  text-align: left;
}

.page-landing .page-content-top .grid-2.grid-right {
  background: var(--eduka-blue);
}

.page-landing strong {
  color: inherit;
}

.page-landing-text-image {
  color: var(--eduka-blue);
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  margin-top: 2em !important;
  margin-bottom: 2em !important;
}

.page-landing-text-image img {
  width: 30%;
}

.page-landing-text-image > div:last-child {
  text-align: center;
}

.page-landing-text-image p {
  color: var(--eduka-blue);
}

.page-landing-banner {
  text-align: center;
  background: var(--eduka-blue);
  padding: 1em;
}

.page-landing-banner p {
  color: white;
  font-family: 'Playfair Display';
  font-size: 2.6em;
}

.page-landing-banner p span {
  font-style: italic;
}

.page-landing .section-page p {
  margin-top: .5em;
  margin-bottom: .5em;
}


.page-landing-bottom-text {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-gap: 1em;
  align-items: center;
  margin-top: 2em !important;
  margin-bottom: 2em !important;
}



.page-landing-bottom-text > div:last-child {
  text-align: right;
}

.page-landing-text {
  position: relative;
}
.page-landing img.image-left {
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  display: block;
  opacity: .5;
  width: auto;
}

.page-landing img.image-right {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  display: block;
  opacity: .5;
  width: auto;
  transform: rotate(180deg);
}

.page-landing-banner {
  position: relative;
}

.home-concurs a {
  margin: 0;
}

.home-concurs h2 {
  text-decoration: underline;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em;
}


.page-vatel .mba-details {
  margin-top: 5em;
}

  .page-vatel h1.page-title {
    display: none !important;
  }

.post-category-nastavno-osoblje.personel-no-image .post-page-image-container {
  display: none;
}
.post-category-nastavno-osoblje.personel-no-image {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.post-category-nastavno-osoblje.personel-no-image .post-description {
  display: inline-block;
}

.post-category-nastavno-osoblje.personel-no-image a {
  display: inline-block;
}

.post-category-nastavno-osoblje.personel-no-image h2 {
  display: inline-block;
}

.post-category-nastavno-osoblje.personel-no-image .post-page-content-container {
  display: flex;
  align-items: baseline;
}

.post-category-nastavno-osoblje.personel-no-image .post-description p {
  display: inline;

}


.page-landing-3-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 3em;
}


.page-landing-3-boxes img {
  height: 3em;
  width: auto;
}

.page-landing-3-boxes div {
  text-align: left;
  padding: 1em;
}

.page-landing-3-boxes h3 {
  text-align: left;
  color: var(--eduka-blue);
}

.page-landing-3-boxes > div:first-child h3 {
  text-align: left;
  color: white;
}

.page-landing-3-boxes > div:last-child h3 {
  text-align: left;
  color: white;
}

.page-landing-3-boxes p {
  color: var(--eduka-blue);
}


.page-landing-3-boxes > div:first-child {
  color: white;
  background: var(--eduka-blue);
}

.page-landing-3-boxes > div:last-child {
  color: white;
  background: #931B1B;
}

.page-landing-3-boxes > div:last-child p {
  color: white;
  background: #931B1B;
}

.page-landing-3-boxes > div:first-child p {
  color: white;
  /*background: var(--eduka-blue);*/
}


.landing-2-bottom {
  text-align: center;
  margin: 2em !important;
    margin-bottom: 5em !important;
}

.page-landing-2 .grid-2 img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

/*.page-landing-3-boxes p {
  color: white;
}*/

.landing-2-button {
  display: inline-block;
  color: white !important;
  background: var(--eduka-gold);
  padding: .5em 2em;
}

.landing-2-nuber-limited {
      font-size: 1.4em;
    font-weight: bold;
    font-family: 'Playfair Display';
}

.page-landing-2 .page-landing-middle img {
  width: 33%;
}

.page-landing.page-landing-2 .page-landing-top img {
  width: 45%;
}


.landing-2-arrow {
  width: auto !important;
  height: 1em;
  top: 0.2em;
  position: relative !important;
}


.landing-2-mid-paragraphs {
  text-align: center;
  padding: 3em;
}

.home-logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 1em;
  padding: 0;
}

.home-logos img {
  max-width: 50%;
    /*padding: 2em;*/
    margin: auto;
}

.home-logos img:first-child {
  text-align: right;
}

.banner-item-desktop img {
  /*aspect-ratio: 5 / 2;*/
  width: 100%; 
  height: 100%;
  object-fit: cover;
}

.banner-item.banner-item-desktop img {
  width: 50% !important;
}

.banner-item.banner-item-desktop.banner-main img {
  width: 100% !important;
}

.banner-item {
  position: relative;
}

.banner-item.banner-item-desktop {
  aspect-ratio: 5/2;
}

/*.banner-item.banner-item-desktop img {
  width: 50%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: auto !important;
}*/

.banner-item .banner-content {
  position: absolute;
  width: 50%;
  height: 100%;
  background: var(--eduka-blue);
  color: white;
  padding: 1em;
  box-sizing: border-box;
  right: 0;
  top: 0;
}

.banner-item.banner-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /*aspect-ratio: auto !important;*/
}

.banner-item.banner-summer-school .banner-content {
  background: var(--eduka-summer-school-green);
}

.banner-item.banner-vatel .banner-content {
  background: var(--eduka-blue);
}

.banner-item.banner-vatel .banner-content .button-blue {
  border: 1px solid white;
}


.banner-item.banner-seminari .banner-content {
  background: #647275;
}
.banner-item.banner-upis .banner-content {
  background: var(--eduka-bronze);
}

.banner-item .banner-content p {
  color: white;
}

.banner-item .banner-content h2 {
  color: white;
  font-size: 3em;
}

.banner-item.banner-main .banner-content {
  position: absolute;
  width: 100%;
  background: transparent;
  text-align: center;
  /*color: white;*/
  padding: 1em;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}



.banner-item.banner-main .banner-content h1 {
  color: var(--eduka-bronze);
  font-family: 'Playfair Display';
}
.banner-item.banner-main .banner-content p {
  color: var(--eduka-bronze);
  font-family: 'Playfair Display';
    font-size: 1.8rem;
    font-style: italic;
}


.banner-content-wrapper {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 1em;
}

.banner-item.banner-main .banner-content-wrapper {
  position: relative;
  top: 0;
  transform: none;
}

/* Home banner — foseduka desktop: aspect 5/2; split image + panel; main = full bleed */
.home-banner .banner-body {
  aspect-ratio: 5 / 2;
  overflow: hidden;
}

.home-banner .banner-body picture {
  display: block;
  height: 100%;
}

.home-banner .banner-body img {
  width: 50%;
  height: 100%;
  object-fit: cover;
}

.home-banner .banner-content {
  background: var(--eduka-bronze);
  width: 50%;
  left: 50%;
  right: auto;
  top: 0;
  bottom: auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  color: #fff;
  padding: 1em;
}

.home-banner .banner-content :is(h1, h2, h3, h4, p, a) {
  color: #fff;
}

.home-banner .banner-content h2 {
  font-size: 3em;
}

/* Main hero (post-2130) — full image, centered bronze type like foseduka .banner-main */
.home-banner .post-2130 img {
  width: 100%;
}

.home-banner .post-2130 .banner-content {
  width: 100%;
  left: 50%;
  top: 25%;
  height: auto;
  transform: translate(-50%, -50%);
  background: transparent;
  text-align: center;
  display: block;
  color: var(--eduka-bronze);
}

.home-banner .post-2130 .banner-content :is(h1, h2, h3, h4, p, a) {
  color: var(--eduka-bronze);
}

.home-banner .post-2130 .banner-content h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  line-height: 1.25;
  margin: 0 0 10px;
}

.home-banner .post-2130 .banner-content p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.8rem;
  font-style: italic;
  margin: 0;
}

.home-banner .post-2131 .banner-content { background: #9E785B; }
.home-banner .post-2132 .banner-content { background: #14294b; }
.home-banner .post-2132 .banner-content a {
  border: 1px solid white;
  text-decoration: none;
}

.home-banner .post-2132 .banner-content a:hover {
  text-decoration: underline;
}
.home-banner .post-2134 .banner-content { background: #B4ADB9; }
.home-banner .post-2140 .banner-content { background: #9e785b; }







/*SUMMER SCHOOL*/

.summer-school-bullets {
  gap: 1em;
  margin-bottom: 2em;
  padding-bottom: 3em;
}

.summer-school-bullet {
  display: grid;
  grid-template-columns: 3em auto;
  gap: 1em;
}

.summer-school-bullet > div:first-child {
  position: relative;
  border-radius: 1000px;
  background: var(--eduka-summer-school-green);
  box-sizing: border-box;
  aspect-ratio: 1/1;
}

.summer-school-bullet img {
  position: absolute;
  width: 60%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%); 
}

.summer-school-bullet p:first-child {
  font-weight: bold;
}

.summer-school-bullet p {
  margin: 0;
  padding: 0;
}

.summer-school-bullet p:last-child {
  line-height: 1.2em;
  min-height: 3.6em;
}

/* Body gets page-summer-school (old shop put it on main) — keep CTA blue off header/footer. */
.page-summer-school .page-content a {
  background: var(--eduka-blue);
  color: white;
  padding: .5em 2em;
  display: inline-block;
}

.page-summer-school .button-email a {
  color: #6b6559;
  background: #E3E4D4;
  padding: 0;
}

.page-summer-school .syllabi ul li a {
  color: #ffffff;
  background: #7e8a4f;
  padding: 0;
}

.page-summer-school .summer-school-profesors a {
  color: var(--eduka-blue);
  background: transparent;
  padding: 0;
}

.page-summer-school .summer-school-profesors a span {
  font-size: 1.2em;
}

.page-summer-school .logo-home img {
  height: 5em;
  padding: 1em;
  width: auto;
}

.page-summer-school .logo-home .grid-2 {
  align-items: center;
  display: flex;
  justify-content: center;
  gap: 2em;
}

/* Old markup: .section-page; new: .page-content > section */
.page-summer-school .section-page section,
.page-summer-school .page-content > section {
  max-width: 800px;
}

.page-summer-school .section-page section.full,
.page-summer-school .page-content > section.full {
  max-width: none;
}

.page-summer-school .summer-school-subjects {
  background: var(--eduka-summer-school-green);
  /*border-radius: .5em;*/
  padding-top: 1em;
  padding-bottom: 1em;
  box-sizing: border-box;
  color: white;
}


.page-summer-school .summer-school-subjects ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1em 3em;
  font-size: 1.2em;
  list-style: none;
}

.page-summer-school .summer-school-subjects a {
  text-decoration: underline;
}

/*.page-summer-school .summer-school-subjects li {
  border: 1px solid white;
  border-radius: .3em;
  padding: ;
}*/

.page-summer-school .summer-school-profesors {
  font-size: .8em;
}

.page-summer-school .summer-school-profesors strong {
  display: block;
  font-size: 1.2em;
}

.page-summer-school .summer-school-subjects div {
  max-width: 1000px;
  margin: auto;
}

.page-summer-school .summer-school-subjects h2 {
  color: white;
}

.page-summer-school .section-page,
.page-summer-school .page-content {
  max-width: none;
  width: 100%;
}

.page-summer-school .section-page .section,
.page-summer-school .page-content > .section {
  max-width: 1000px;
}

.page-summer-school .section-page .section.full,
.page-summer-school .page-content > .section.full {
  max-width: none;
  width: 100%;
}


.carousel-cont .slick-prev,
.carousel-cont .slick-next {
  display: none !important;
}


.summer-school-bullets {
  background: #e3e4d4;
  box-sizing: border-box;
  border-radius: .5em;
  padding: 1em;
  font-size: .8em;
  margin-bottom: 2em !important;
}

.page-summer-school .summer-school-bullets {
  padding: 1em;
}


.header ul li {
  padding: 0 .5em;
}


.carousel-cont .slick-prev, .carousel-cont .slick-next {
  display: block !important;
}
.slick-next {
  right: 10px !important;
  /*border: 2px solid white !important;
  border-radius: 1000px !important;*/
  padding: 2em !important;
  min-width: 30px;
  min-height: 30px;
  opacity: .8;
  font-weight: 500;
  
}

.slick-next:before {
    content: "►" !important;
    line-height: .2em !important;
    padding-left: .2em !important;
    font-size: 30px !important;
}

.slick-prev {
  left: 10px !important;
  /*border: 2px solid white !important;
  border-radius: 1000px !important;*/
  padding: 2em !important;
  min-width: 30px;
  min-height: 30px;
  /*content: ">";*/
  z-index: 3;
  opacity: .8;
  font-weight: 500;
}

.slick-prev:before {
    content: "◄" !important;
    line-height: .2em !important;
    padding-left: -.2em !important;
    font-size: 30px !important;
}




/* GALLERY galerija */

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .5em;
  margin-bottom: 3em;
}

.gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: .1em;
  cursor: pointer;
  margin: 0;
}

.gallery img:hover {
  opacity: .8;
}
/*
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  z-index: 9999;
}*/
/*
.lightbox-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  text-align: center;
    padding: .5em;
}


.lightbox-overlay img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 90%;
  max-height: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  border-radius: .3em;
}


.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2rem;
  background: rgba(0,0,0,0.5);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  transform: none;
  font-size: 1.5rem;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
*/
/* gallery end */



.professor-info {
  display: none;
}


.pager .pager-selected {
  background: var(--eduka-blue);
}

.pager li {
  border-color: var(--eduka-blue);
  color: var(--eduka-blue);
}

.button-link {
  border: 2px solid var(--eduka-blue);
  background: transparent;
  color: var(--eduka-blue);
  padding: .5em;
  font-size: 1.1em;
  display: inline-block;
    margin-bottom: .5rem;
    margin-top: .5rem;
}

.button-link img {
  max-height: 1em;
  display: inline;
  width: auto !important;
  position: relative !important;
  top: .2em !important;
  margin: 0;
}


.home-quote-upis {
  font-size: 1.8rem;
  font-style: normal;
  text-decoration: underline;
}

.summer-school-profesors a {
  text-decoration: underline;
}

.summer-school-profesors ul {
  list-style: none;
  
}

.summer-school-profesors li {
  margin-bottom: 1em;
}


.accordeon-arrow {
  float: right;
  font-size: .5em;
}

.accordeon h3, .accordeon h2 {
  text-align: left;
  border-top: 1px solid grey;
  padding-top: .5em;
  cursor: pointer;
}

.accordeon h3:hover, .accordeon h2:hover {
  opacity: .8;
}

.accordeon h3:first-child, .accordeon h2:first-child {
  border: none;

}

.page-vatel-lp .faq {
  background: var(--eduka-light-grey);
  padding: 2em;
  border-radius: .5em;
  box-sizing: border-box;
}


.benefits .grid-3, .benefits .grid-4 {
  gap: 0;
  margin: 0;
  align-items: stretch;
}

.benefits .grid-3 div {
  padding: 2em 1em;
  margin: 0;
  text-align: center;
  width: 100%;
  height: 100%;
  /*aspect-ratio: 2/1;*/
  box-sizing: border-box;

  /*display: flex;
  align-items: center;     
  justify-content: center; 
  text-align: center;
  
  flex-direction: column;*/
}

.benefits .grid-3 p {
  margin: 0;
}

.benefits .grid-3 div:nth-child(odd) {
  background: var(--eduka-light-grey);
}
.benefits .grid-3 div:nth-child(even) {
  background: var(--eduka-blue);
  color: white;
}

.benefits .grid-3 div:nth-child(even) p {
  color: white;
}




.why-vatel .grid-2 img {
  aspect-ratio: 4/3;
  object-fit: cover;
}



.why-vatel .grid-2 > div {
  background: var(--eduka-bronze);
  color: white;
  width: 100%;
  height: 100%;
  padding: 1em 2em;

  display: flex;
  flex-direction: column;
  align-items: center;     /* vertikalno */
  justify-content: center; /* horizontalno */
  text-align: center;
  box-sizing: border-box;
}

.why-vatel .grid-2 > div:nth-child(odd) {
  background: var(--eduka-light-grey);
  
}

.why-vatel .grid-2 p {
  text-align: center;
  color: white;
  margin: 0;
}
.why-vatel .grid-2 h3 {
  text-align: center;
  color: white;
  margin: 0;
  margin-bottom: .5em;
  font-size: 1.6em;
  font-weight: bold;
}

.why-vatel .grid-2 > div:nth-child(odd) p, .why-vatel .grid-2 > div:nth-child(odd) h3 {
  color: var(--eduka-blue);
  
}

.page-vatel-lp .grid-2.info {
  gap: 1em;
}

.page-vatel-lp .grid-2.info > div {
  padding-bottom: 4em;
  position: relative;
}

.page-vatel-lp .grid-2.info > div:last-child {
  background: var(--eduka-bronze);
}

.page-vatel-lp .grid-2.info > div:last-child * {
  color: white;
}

.page-vatel-lp .grid-2.info .button-upis {
  margin: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.5em;
}

.page-vatel-lp .grid-2.info > div {
  background: var(--eduka-light-grey);
  /*border: 1px solid var(--eduka-blue);*/
  border-radius: .5em;
}

.page-vatel-lp .vatel-lp-top {
  background: var(--eduka-bronze);
}

.page-vatel-lp .vatel-lp-top h1, .page-vatel-lp .vatel-lp-top p {
  color: white;
}

.page-vatel-lp .vatel-lp-top img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.page-vatel-lp .vatel-lp-top > div {
  padding: 1em;
}

.page-vatel-lp .vatel-lp-top .button-upis {
  margin: 0;
}


.page-vatel-lp .careers ul {
  columns: 2;
  column-gap: 1em;
}

.page-vatel-lp .programs {
  gap: 1em;
}

.page-vatel-lp .programs > div {
  background: var(--eduka-light-grey);
  padding: .5em;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 5em;
}

.page-vatel-lp .programs > div .info >div:last-child a {
  position: absolute;
  margin: 0;
  bottom: 2em;
  left: 50%;
  transform: translateX(-50%);
}

.page-vatel-lp .careers .grid-4 > div {
  background: var(--eduka-light-grey);
  text-align: center;
  border-radius: .3em;
  padding: .5em;
  padding-top: 1em;
  padding-bottom: 1em;
  box-sizing: border-box;
  /*display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  column-gap: 1em;*/
}

.page-vatel-lp .careers .grid-4 {
  gap: 1em;
  margin-bottom: 2em;

}

.page-vatel-lp .careers .grid-4 p {
  margin: 0;
}

.benefits img {
  height: 2em;
  display: block;
  margin-bottom: 1em;
}

.careers img {
  height: 2em;
  display: block;
  margin-bottom: 1em;
}

/*
#form-upis {
  padding: 2em;
  border: 1px solid #bfbfbf;
  border-radius: .5em;
  background: #e6ebe7;
  margin-top: 1em;
  margin-bottom: 1em;
}

#form-upis button.button-blue {
  border-radius: .3em;
}

#form-upis h2 {
  margin: 0;
}

#form-upis p {
  margin: 0;
  margin-bottom: 2em;
}
*/





























@media screen and (max-width: 1000px) {

  .page-vatel-lp .careers ul {
    columns: 1;
  }

  .page-vatel-lp .faq {
    padding: .5em;
  }

  .why-vatel .grid-2 img:not(:first-child) {
    display: none;
  }


  .page-vatel-lp .grid-2.info .button-upis {
    position: relative;
    margin-top: 2em;
  }

  .page-vatel-lp .grid-2.info>div {
    padding-bottom: 1em;
  }

  .grid-2.vatel-lp-top > :first-child {
    order: 2;
  }

  .grid-2.vatel-lp-top > :last-child {
    order: 1;
  }


  .banner-content-wrapper {
    padding: 0;
  }

  /* Home banner mobile — foseduka: ~80vh, image top / panel bottom */
  .home-banner .banner-body {
    aspect-ratio: auto;
    height: 80vh;
  }

  .home-banner .banner-body img {
    width: 100%;
    height: 50%;
  }

  .home-banner .banner-content {
    width: 100%;
    left: 0;
    top: 50%;
    height: 50%;
  }

  .home-banner .banner-content h2 {
    font-size: 1.6em;
    margin: 0;
  }

  .home-banner .post-2130 img {
    height: 100%;
  }

  .home-banner .post-2130 .banner-content {
    width: 100%;
    left: 50%;
    top: 25%;
    height: auto;
    transform: translate(-50%, -50%);
    background: transparent;
  }

  .home-banner .post-2130 .banner-content h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .home-banner .post-2130 .banner-content p {
    font-size: 1.2rem;
  }

  .banner-item-mobile {
    height: 80vh !important;
  }

  .banner-item .banner-item-mobile img {
    height: 50%;
    width: 100%;
    object-fit: cover;
  }

  .banner-item-mobile .banner-content {
    height: 50%;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0;
  }

  .banner-item-mobile h2 {
    font-size: 1.6em;
    margin: 0;
    padding: 0;
  }

  .banner-item .banner-content h2 {
    color: white !important;
    font-size: 1.6em;
  }

  .summer-school-bullet p:last-child {
    min-height: auto;
  }

  .home-logos img {
    max-width: 80%;
  }

  .page-landing-3-boxes {
    grid-template-columns: repeat(1, 1fr);
  }

  .posts.posts-category-nastavno-osoblje {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts.posts-category-medjunarodni-partneri {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-stuff .posts.struktura {
    padding-left: 0;
    padding-right: 0;
  }


  .page-courses-content {
    padding: .5em;
  }

  .page-courses-content h2 {
    font-size: 1em;
  }

  .page-courses-content ul {
    padding-left: 1em;
  }

  .section-page {
    display: flex; flex-flow: column;
  }
  .page-content { 
    order: 1; 
    width: 100%;
  }
  .page-sidebar { 
    order: 2;  
    width: 100%;
    padding: 0;
  }

  .page-sidebar img {
    max-height: 10em;
  }


  .content.home h1 {
    font-size: 2em;
  }

  /* Header mobile chrome lives in bridge @media (max-width: 768px) — do not shrink here (769–1000). */
  .header .logo {
    text-align: center;
  }


  .home-overlay-text h3 {
    font-size: 1em;
  }

  /*.carousel h1::after{
    background: #cc6218;
      bottom: -10px;
      content: "";
      height: 5px;
      left: 40%;
      position: absolute;
      width: 20%;
  }*/

  .posts {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }

  .page-block-left, .page-block-right {
    padding: 0;
  }

  .page-block-left img, .page-block-right img {
    width: 100%;
    position: relative;
  }

  .home-programs {
    grid-template-columns: repeat(1, 1fr);
    gap: 4px;
  }

  .home-program img {
    /*display: none;*/
    position: absolute;
        top: 0;
        left: 0;
        opacity: .2;
  }

  .home-program .text-content {
    position: relative;
    text-align: center;
    top: auto;
    width: 100%;
    left: 0;
    height: auto;
    overflow-y: hidden;
    transform: none;
    transition: height 1s;
    color: white;
  }

  .home-programs a:first-child .home-program {
    background: var(--eduka-blue);
  }
  .home-programs a:nth-child(2) .home-program {
    background: #9e785b;
  }
  .home-programs a:nth-child(3) .home-program {
    background: #ecddd0;
  }
  .home-programs a:nth-child(3) .home-program h3{
    color: var(--eduka-blue);
  }

  .home-programs a:nth-child(4) .home-program {
    background: #b1aa9e;
  }

  .home-programs a:nth-child(5) .home-program {
    background: #9ba3a0;
  }

  .home-programs a:nth-child(6) .home-program {
    background: #a5a786;
  }
  .home-programs a:nth-child(7) .home-program {
    background: #647275;
  }
  .home-programs a:nth-child(8) .home-program {
    background: #8b7f6f;
  }

  .home-programs a:nth-child(7) .home-program h3 {
    /*background: #647275;*/
    margin-left: 0;
    margin-right: 0;
  }
  .home-programs a:nth-child(8) .home-program h3 {
    /*background: #8b7f6f;*/
    margin-left: 0;
    margin-right: 0;
  }




  

  .home-program h3 {
    margin: 1em;
  }

  .main-title h1 {
    font-size: 32px;
    line-height: 1.2em;
  }

  .program-post {
    grid-template-columns: repeat(1, 1fr);
    gap: .5em;
    font-size: 12px;
  }

  #carousel-programs {
    background: #9e785b;
  }

  .home-news {
    grid-template-columns: repeat(1, 1fr);
  }

  .content.home section {
    padding: 1em 0;
  }

  .home-upis a {

    font-size: 1.4em;
  }

  .home-why-eduka {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 1em;
    margin-bottom: .5em;
  }

  .home-why-eduka .post h3 {
    font-size: 14px;
  }

  .home-why-eduka .post h3 span {
    font-size: 28px;
  }

  .home-why-eduka .post {
    text-align: center;
    height: auto;
    display: flex;
    align-items: normal;
    justify-content: center;
    padding: 2em 1em;
    box-sizing: border-box;
    font-size: 10px;
  }

  .home-become {
    font-size: 36px;
  }



  .upis-form-content {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 1em;
  }

  .upis .form-section {
    padding: 0;
  }


  .header ul a {
    font-size: 16px;
  }

  .header ul li {
    line-height: 1.8em;
    padding-right: .2em;
  }

  .menu .arrow {
    float: right;
  }

  .header ul .top {
    margin-right: .5em;
  }

  .header .parent-subcategories {
    background: transparent;
    min-width: auto;
  }

  .header .parent-subcategories li {
    padding-left: .5em;
    padding-top: 1em;
  }

  .header .parent-div-in {
    position: relative;
    left: 0;
  }


  .page-courses-top {
    grid-template-columns: 100%;
  }

  .page-courses-top h1 {
    font-size: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-courses-top h2 {
    font-size: 1.35rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .page-courses-top > div {
    min-height: 0;
  }

  .page-courses-top div:last-child {
    min-height: 0;
  }

  /* Desktop uses absolute + max-width:none; on mobile that lets the 1024px asset blow past the viewport */
  .page-courses-top img {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .page-courses-top div:first-child {
    order: 2;
  }
  .page-courses-top div:last-child {
    order: 1;
  }

  .page-courses-cards {
    grid-template-columns: repeat(1, 1fr);
  }


  body > footer.footer .footer-container,
  #footer .footer-container {
    display: block;
  }

  body > footer.footer .footer-right,
  #footer .footer-right {
    text-align: center;
    grid-template-columns: 1fr;
    width: 100%;
  }

  body > footer.footer p,
  #footer p {
    font-size: .9rem;
  }

  body > footer.footer .footer-left-bottom,
  #footer .footer-left-bottom {
    position: relative;
    margin-top: 2em;
    margin-bottom: 2em;
    bottom: auto;
    left: 0;
    text-align: center;
  }

  body > footer.footer .footer-left,
  #footer .footer-left {
    width: 100%;
    min-height: 0;
    text-align: center;
  }

  .predmeti {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .predmeti-4 {
    grid-template-columns: repeat(1, 1fr);
  } 



  .menu .arrow {
    position: absolute;
    right: .5em;
    z-index: 2;
  }

  .menu .arrow img {
    width: 20px;
  }

  .header .parent-subcategories li {
    padding-right: 2em;
  }

  .parent-div .arrow {
    top: .8em;
  }

  #hamburger img {
    height: 1.6em;
    /* margin-top: 0.5em; */
  }

  .slick-prev, .slick-next {
    width: 40px !important;
    height: 40px !important;
  }

  .slick-prev:before, .slick-next:before {
    font-size: 36px !important;
    opacity: .5 !important;
  }

  .slick-next {
    right: 0px !important;
  }
  .slick-prev {
    left: 0px !important;
    z-index: 1;
  }

  /*.home-program p, .home-program ul {
    display: block;
    opacity: 1;
    transition: opacity .5s;
  }*/

  .carousel {
    aspect-ratio: 1/1;
  }

  .home-program h3 {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
  }

  .home-programs a:first-child .home-program {
    border-radius: .5em .5em 0 0;
  }
  .home-programs a:last-child .home-program {
    border-radius:  0 0 .5em .5em;
  }
  /*.home-program h3::after {
    content: ' ↗';
    font-size: .5em;
    text-decoration: none;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: bold;
  }*/

  iframe {
    max-height: 50vh;
  }


  .grid-2 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(1, 1fr);
  }
  .grid-4-2 {
    grid-template-columns: repeat(2, 1fr);
  }


  .page-stuff .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .button-upis-container a {
    padding: .5em;
  }

  .button-upis-container img,
  .button-upis-container svg {
    width: 1.2em;
    height: 1.2em;
    top: .2em;
  }

  .page-courses-header h1 {
    font-size: 1.6em;
  }

  .page-courses-content img {
    width: 80%;
  }


  .page-landing .page-landing-top {
    padding: 0;
  }

  .page-landing .page-landing-top img {
    position: relative;
    width: 60%;
    display: block;
    right: -40%;
  }

  .page-landing-middle {
    padding: 0;
  }

  .page-landing-middle img {

    position: relative;
    width: 80%;
    display: block;

  }

  .page-landing-text-image, .page-landing-bottom-text {
    grid-template-columns: 1fr;
  }

  .page-landing .grid-2.grid-right > div:first-child {
    order: 2;
  }

  .page-landing .grid-2.grid-right > div:last-child {
    order: 1;
  }

  .page-landing img.image-left, .page-landing img.image-right {
    display: none;
  }

  .page-landing .grid-left .button-container {
    padding: 0 !important;
    text-align: center;
  }

  .page-landing .grid-right .button-container {
    padding: 0 !important;
    text-align: center;
  }

  .page-landing-bottom-text > div:last-child {
    text-align: center;
  }


  .post-category-nastavno-osoblje.personel-no-image .post-page-content-container {
    display: block;
  }

  .post-category-nastavno-osoblje.personel-no-image {
    width: 100%;
    text-align: center;
  }

  .post-category-nastavno-osoblje.personel-no-image .post-description {
    display: block;
  }

  .post-stuff .content .page-header img {
    position: relative;
    top: 0;
    left: auto;
    width: 100%;
  }

  .post-stuff .content .post-content > *,
  .post-stuff .content .page-content > * {
    padding-left: 0;
    width: 100%;
  }

  .post-stuff .content .post-date,
  .post-stuff .content .breadcrumbs,
  .post-stuff .content .post-title,
  .post-stuff .content .page-title {
    padding-left: 0;
  }

  .landing-2-bottom {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .landing-2-button .landing-2-arrow {
            display: inline !important;
        right: 0 !important;
  }

  .page-landing.page-landing-2 .page-landing-top img {
    width: 80%;
  }

  .page-landing-2 .page-landing-middle img {
    width: 50%;
    right: -5em;
  }

  .landing-2-mid-paragraphs {
    padding: 2em 0;
  }

  .post-stuff .content .post-title,
  .post-stuff .content .page-title {
    text-align: center;
    padding: 0;
  }

  /* Companion of the old .content section { width: 1000px } rule.
  .content section {
    width: 100%;
    box-sizing: border-box;
  }
  */

  .page-summer-school .summer-school-subjects ul {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    padding: .5em;
  }

  .home-program { 
    padding: 1em;
  }

  .page-vesti .posts {
    grid-template-columns: 1fr;
  }



}










/* —— new-shop bridge: header/menu like foseduka.edu.rs —— */
/* Core uses body > header .header-nav — beat that specificity. */

body > header.header,
.header {
  /* keep core position:fixed; only layout the inner stack */
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  box-sizing: border-box;
  /* auto so logo+menu stay inside the box (fixed 110 + overflow was covering breadcrumbs) */
  height: auto;
  min-height: 110px;
  width: 100%;
  left: 0;
  right: 0;
  padding: 0;
  overflow: visible;
}

.header .logo {
  width: 100%;
  text-align: center;
  margin: 0;
  padding: 0.15em 0;
}

.header .logo a {
  display: inline-block;
}

.header .logo img {
  height: 3.5em;
  margin: 0.2em;
  width: auto;
  max-width: none;
}

#menu-container {
  width: 100%;
  margin-top: auto; /* pin menu strip to bottom of header */
  background: whitesmoke;
  box-sizing: border-box;
}

body > header .header-nav,
#menu-container .header-nav {
  flex: none;
  width: 100%;
  min-width: 0;
}

/* Top bar — li stretches full menu-strip height so dropdown top:100% = header bottom */
body > header .header-nav > ul,
#menu-container .header-nav > ul.menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  background: transparent;
}

body > header .header-nav > ul > li,
#menu-container .header-nav > ul.menu > li {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.15em;
  padding: 0.45em 0.5em;
  border: none;
}

body > header .header-nav li > a,
body > header .header-nav li > span:not(.menu-caret):not(.arrow),
#menu-container .header-nav li > a,
#menu-container .header-nav li > span:not(.menu-caret):not(.arrow) {
  color: var(--eduka-bronze);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.2em;
  padding: 0;
  text-decoration: none;
  white-space: nowrap;
}

/* EN / RS — always uppercase (desktop strip + mobile drawer) */
body > header a[data-lang],
body > header [data-lang-root="1"] > span:not(.menu-caret):not(.arrow),
body > header [data-lang-root="1"] > a {
  text-transform: uppercase;
}

body > header .header-nav li:hover > a:first-child,
#menu-container .header-nav li:hover > a:first-child {
  opacity: 0.8;
  background: transparent;
}

/* Theme arrow; hide core triangle caret on desktop */
body > header .menu-caret,
#menu-container .menu-caret {
  display: none !important;
}

@media (min-width: 769px) {
  #menu-container .arrow {
    display: inline-flex;
    align-items: center;
    transform: rotate(-90deg);
    line-height: 0;
  }

  #menu-container .arrow img {
    width: 0.75em;
    height: auto;
    display: block;
  }

  #menu-container .header-nav > ul > li > .arrow {
    transform: rotate(0deg);
  }

  #menu-container .header-nav > ul > li:hover > .arrow,
  #menu-container .header-nav > ul > li.is-open > .arrow,
  #menu-container .header-nav > ul > li:focus-within > .arrow {
    transform: rotate(180deg);
  }

  /* Submenu arrows flush right (not glued to the label) */
  #menu-container .header-nav ul ul > li,
  body > header .header-nav ul ul > li {
    gap: 0.75em;
  }

  #menu-container .header-nav ul ul > li > .arrow,
  body > header .header-nav ul ul > li > .arrow {
    margin-left: auto;
    flex: 0 0 auto;
  }
}

/* Nested lists — column dropdowns (not another flex top bar) */
body > header .header-nav ul ul,
#menu-container .header-nav ul ul,
body > header .header-nav > ul > li > ul,
#menu-container .header-nav > ul > li > ul,
body > header .header-nav ul ul ul,
#menu-container .header-nav ul ul ul {
  display: none;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 0;
  padding-right: 0;
  background: whitesmoke !important;
  min-width: 180px;
  width: max-content;
  max-width: min(360px, 90vw);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  text-align: left;
  box-sizing: border-box;
}

body > header .header-nav > ul > li > ul,
#menu-container .header-nav > ul > li > ul {
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0;
  z-index: 60;
}

body > header .header-nav > ul > li:hover > ul,
body > header .header-nav > ul > li.is-open > ul,
body > header .header-nav > ul > li:focus-within > ul,
#menu-container .header-nav > ul > li:hover > ul,
#menu-container .header-nav > ul > li.is-open > ul,
#menu-container .header-nav > ul > li:focus-within > ul {
  display: block;
}

body > header .header-nav ul ul > li,
#menu-container .header-nav ul ul > li {
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 1em;
  line-height: 1em;
  background: whitesmoke;
  box-sizing: border-box;
}

body > header .header-nav ul ul > li > a,
body > header .header-nav ul ul > li > span:not(.menu-caret):not(.arrow),
#menu-container .header-nav ul ul > li > a,
#menu-container .header-nav ul ul > li > span:not(.menu-caret):not(.arrow) {
  color: var(--eduka-bronze);
  font-size: 12px;
  white-space: normal;
}

/* Flyout deeper levels to the right (old .parent-div-in) */
body > header .header-nav ul ul ul,
#menu-container .header-nav ul ul ul {
  position: absolute;
  top: 0;
  left: 100%;
  z-index: 61;
  background: whitesmoke !important;
}

body > header .header-nav ul ul > li:hover > ul,
body > header .header-nav ul ul > li.is-open > ul,
body > header .header-nav ul ul > li:focus-within > ul,
#menu-container .header-nav ul ul > li:hover > ul,
#menu-container .header-nav ul ul > li.is-open > ul,
#menu-container .header-nav ul ul > li:focus-within > ul {
  display: block;
}

body > header .header-nav ul ul > li.open-left > ul,
#menu-container .header-nav ul ul > li.open-left > ul {
  left: auto;
  right: 100%;
}


.page-eduka .content {
  min-height: 40vh;
}

/* Desktop: tools only for hamburger (hidden until mobile) */
body > header .header-bar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding: 0;
  gap: 0;
}

body > header .header-tools {
  position: absolute;
  right: 0.75em;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0;
}

body > header .header-hamburger {
  display: none;
}

@media (min-width: 769px) {
  #menu-container {
    display: block !important;
  }
}

body > header .header-hamburger img {
  width: 1.6em;
  height: auto;
}

/* Mobile — same drawer pattern as default shop; Eduka blue panel */
@media (max-width: 768px) {
  /* Flush drawer to header bottom (avoid gap from --header-offset measuring tall). */
  html {
    --header-offset: 70px !important;
  }

  .page-content {
    padding: .3rem;
  }

  body > header.header,
  .header {
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
  }

  /* Fill the 70px bar; drop desktop logo padding that pushed logos off vertical center */
  body > header .header-bar {
    height: 70px;
    min-height: 70px;
    align-items: center;
  }

  .header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .header .logo a {
    display: inline-flex;
    align-items: center;
    line-height: 0;
  }

  /* Same as foseduka: 60px glyph + 5px vertical margin inside 70px header */
  .header .logo img,
  body > header .header-logo {
    height: 60px;
    margin: 5px;
    vertical-align: middle;
  }

  body > header .header-tools {
    top: 0;
    bottom: 0;
    transform: none;
    display: flex;
    align-items: center;
    height: 70px;
    right: 0.5em;
  }

  /* Slightly larger than core tool glyph; square hit area centered in the bar */
  body > header .header-hamburger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
  }

  body > header .header-hamburger img,
  body > header .header-tool.header-hamburger img {
    width: 1.85rem;
    height: 1.85rem;
  }

  .wrapper {
    padding-top: 70px;
  }

  /* Desktop strip off; core also hides .header-nav */
  #menu-container {
    display: none !important;
  }

  body > header .header-drawer {
    display: block;
    top: 70px !important;
    background: var(--eduka-blue) !important;
    border-top: none;
    color: var(--eduka-bronze);
    /* caret ::after hit-area near the right edge was causing ~1–2px x-scroll */
    overflow-x: hidden;
  }

  body > header .header-drawer[hidden] {
    display: none !important;
  }

  body > header .header-drawer-nav > ul {
    display: block;
    padding: 0.5rem 0 1.5rem;
    text-align: left;
  }

  body > header .header-drawer-nav li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    position: static;
    padding: 0;
    background: transparent;
    min-width: 0;
  }

  body > header .header-drawer-nav li > a,
  body > header .header-drawer-nav li > span:not(.menu-caret):not(.arrow) {
    display: block;
    grid-column: 1;
    min-width: 0;
    padding: 0.7rem 1rem;
    color: var(--eduka-bronze) !important;
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.3;
    white-space: normal;
    text-align: left;
    text-decoration: none;
  }

  /* Drawer uses core triangle carets, not theme arrows */
  body > header .header-drawer-nav .arrow {
    display: none !important;
  }

  body > header .header-drawer-nav .menu-caret {
    display: inline-block !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    margin-right: 1rem;
    color: var(--eduka-bronze);
    opacity: 0.85;
    border-color: currentColor transparent transparent;
  }

  /* Keep touch target inside the drawer (core centers a 2.75rem box on the caret) */
  body > header .header-drawer-nav .menu-caret::after {
    left: auto;
    right: 0;
    transform: translateY(-50%);
  }

  body > header .header-drawer-nav li.is-open > .menu-caret {
    transform: rotate(180deg);
  }

  body > header .header-drawer-nav ul ul {
    display: none;
    grid-column: 1 / -1;
    position: static !important;
    width: auto;
    max-width: 100%;
    min-width: 0;
    border: 0;
    box-shadow: none !important;
    padding-left: 0.75rem;
    background: transparent !important;
  }

  body > header .header-drawer-nav ul ul > li {
    background: transparent !important;
  }

  body > header .header-drawer-nav li.is-open > ul {
    display: block;
  }
}

.banner-carousel-carousel-obrazovni-programi .slider-slide {
  position: relative;
}

.banner-carousel-carousel-obrazovni-programi .banner-content {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  text-align: left;
}

.banner-carousel-carousel-obrazovni-programi .banner-content a {
  display: inline-block;
  align-self: flex-start;
  background: var(--eduka-blue);
  color: #fff;
  padding: .5em 1em;
  text-decoration: none;
}

.banner-carousel-carousel-obrazovni-programi .banner-content a:visited {
  color: #fff;
}

.banner-carousel-carousel-obrazovni-programi .banner-content h3 {
  font-size: 3em;
  margin: 0 0 1em;
}

@media screen and (max-width: 1000px) {
  .banner-carousel-carousel-obrazovni-programi .banner-content {
    font-size: .7em;
  }

  .banner-carousel-carousel-obrazovni-programi .banner-content h3 {
    font-size: 2em;
  }
}

.posts-segment-zasto-eduka {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-top: 3em;
  padding-bottom: 3em;
}

@media (max-width: 1000px) {
  .posts-segment-zasto-eduka {
    grid-template-columns: repeat(2, 1fr);
  }
}

.posts-segment-zasto-eduka img {
  display: none;
}

.posts-segment-zasto-eduka .post-image-container {
  display: none;
}

.posts-segment-zasto-eduka .post {
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.posts-segment-zasto-eduka .post-title,
.posts-segment-zasto-eduka .post-date,
.posts-segment-zasto-eduka .post-description {
  display: none;
}

.posts-segment-zasto-eduka .post-content {
  padding: 1em;
  text-align: center;
}

.posts-segment-zasto-eduka .post-content h3 {
  color: white;
}

.posts-segment-zasto-eduka .post-content span {
  display: block;
  font-size: 2em;
}
