/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Astra Child Theme
 Author:       Tvoje Ime
 Author URI:   https://tvoj-sajt.com/
 Template:     astra
 Version:      1.0.0
 Text Domain:  astra-child
*/

/*------------------------------------------*/
/*     GENERAL
/*------------------------------------------*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-smoothing: antialiased;
}

.ast-skip-link,
a.ast-skip-link {
    display: none !important;
}

.ast-skip-link {
  position: absolute !important;
  left: -9999px !important;
}

/* Astra - potpuno uklanjanje skip to content (mobile bug fix) */
.ast-skip-link {
    position: absolute !important;
    top: -10000px !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.page-template-template-pocetna .ast-container {
  flex-direction: column;
}

section {
  padding: 90px 0;
}

.align-items-center {
  align-items: center;
}

.d-flex {
  display: flex;
}

.text-center {
  text-align: center;
}

.gray-bg {
  background-color: #f3f4f2;
}

.page-template-template-pocetna {
  --gutter-x: 24px;
  --gutter-y: 0px;
}

/* Container – Bootstrap-like širine */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: calc(var(--gutter-x) * 0.5);
  padding-right: calc(var(--gutter-x) * 0.5);
  max-width: 100%;
}

/* sm ≥ 576px */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
/* md ≥ 768px */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
/* lg ≥ 992px */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
/* xl ≥ 1200px */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
/* xxl ≥ 1400px */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* ========== Grid ========== */
/* .row koristi „negativne margine“ – gutter ne menja širinu kolona */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--gutter-x) * -0.5);
  margin-right: calc(var(--gutter-x) * -0.5);
  margin-top: calc(var(--gutter-y) * -1);
}

/* Kolone dobijaju padding = pola guttera (horizontalno) i gutter-y (vertikalno) */
.col {
  padding-left: calc(var(--gutter-x) * 0.5);
  padding-right: calc(var(--gutter-x) * 0.5);
  padding-top: var(--gutter-y);
}

/* Mobile-first: po difoltu pune širine */
[class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

/* ========== Breakpoints i širine kolona (12-col) ========== */
/* SM ≥ 576px */
@media (min-width: 576px) {
  .col-sm-1 {
    flex: 0 0 8.333%;
    max-width: 8.333%;
  }
  .col-sm-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
  .col-sm-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-sm-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .col-sm-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
  }
  .col-sm-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-sm-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
  }
  .col-sm-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }
  .col-sm-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-sm-10 {
    flex: 0 0 83.333%;
    max-width: 83.333%;
  }
  .col-sm-11 {
    flex: 0 0 91.666%;
    max-width: 91.666%;
  }
  .col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Offsets (SM) */
  .offset-sm-1 {
    margin-left: 8.333%;
  }
  .offset-sm-2 {
    margin-left: 16.666%;
  }
  .offset-sm-3 {
    margin-left: 25%;
  }
  .offset-sm-4 {
    margin-left: 33.333%;
  }
  .offset-sm-5 {
    margin-left: 41.666%;
  }
  .offset-sm-6 {
    margin-left: 50%;
  }
  .offset-sm-7 {
    margin-left: 58.333%;
  }
  .offset-sm-8 {
    margin-left: 66.666%;
  }
  .offset-sm-9 {
    margin-left: 75%;
  }
  .offset-sm-10 {
    margin-left: 83.333%;
  }
  .offset-sm-11 {
    margin-left: 91.666%;
  }
}

/* MD ≥ 768px */
@media (min-width: 768px) {
  .col-md-1 {
    flex: 0 0 8.333%;
    max-width: 8.333%;
  }
  .col-md-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-md-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .col-md-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
  }
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-md-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
  }
  .col-md-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }
  .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-md-10 {
    flex: 0 0 83.333%;
    max-width: 83.333%;
  }
  .col-md-11 {
    flex: 0 0 91.666%;
    max-width: 91.666%;
  }
  .col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Offsets (MD) */
  .offset-md-1 {
    margin-left: 8.333%;
  }
  .offset-md-2 {
    margin-left: 16.666%;
  }
  .offset-md-3 {
    margin-left: 25%;
  }
  .offset-md-4 {
    margin-left: 33.333%;
  }
  .offset-md-5 {
    margin-left: 41.666%;
  }
  .offset-md-6 {
    margin-left: 50%;
  }
  .offset-md-7 {
    margin-left: 58.333%;
  }
  .offset-md-8 {
    margin-left: 66.666%;
  }
  .offset-md-9 {
    margin-left: 75%;
  }
  .offset-md-10 {
    margin-left: 83.333%;
  }
  .offset-md-11 {
    margin-left: 91.666%;
  }
}

/* LG ≥ 992px */
@media (min-width: 992px) {
  .col-lg-1 {
    flex: 0 0 8.333%;
    max-width: 8.333%;
  }
  .col-lg-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
  }
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .col-lg-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .col-lg-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
  }
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .col-lg-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
  }
  .col-lg-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
  }
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  .col-lg-10 {
    flex: 0 0 83.333%;
    max-width: 83.333%;
  }
  .col-lg-11 {
    flex: 0 0 91.666%;
    max-width: 91.666%;
  }
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Offsets (LG) */
  .offset-lg-1 {
    margin-left: 8.333%;
  }
  .offset-lg-2 {
    margin-left: 16.666%;
  }
  .offset-lg-3 {
    margin-left: 25%;
  }
  .offset-lg-4 {
    margin-left: 33.333%;
  }
  .offset-lg-5 {
    margin-left: 41.666%;
  }
  .offset-lg-6 {
    margin-left: 50%;
  }
  .offset-lg-7 {
    margin-left: 58.333%;
  }
  .offset-lg-8 {
    margin-left: 66.666%;
  }
  .offset-lg-9 {
    margin-left: 75%;
  }
  .offset-lg-10 {
    margin-left: 83.333%;
  }
  .offset-lg-11 {
    margin-left: 91.666%;
  }
}

/* ========== Utility: brzo menjanje guttera po sekciji/row-u ========== */
.g-0 {
  --gutter-x: 0px;
  --gutter-y: 0px;
}
.g-1 {
  --gutter-x: 8px;
  --gutter-y: 8px;
}
.g-2 {
  --gutter-x: 16px;
  --gutter-y: 16px;
}
.g-3 {
  --gutter-x: 24px;
  --gutter-y: 24px;
} /* default */
.g-4 {
  --gutter-x: 32px;
  --gutter-y: 32px;
}
.g-5 {
  --gutter-x: 48px;
  --gutter-y: 48px;
}

/* Samo horizontalno ili vertikalno (opciono) */
.gx-4 {
  --gutter-x: 32px;
}
.gy-4 {
  --gutter-y: 32px;
}

/* Sitna pomoć za liste: ukloni default margine da nema „rupica“ na mobilnom */
.col > ul {
  margin: 0;
}

/*
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;

  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

.col {
  padding: 15px;
}

.col {
  padding-left: calc( 24px * 0.5);
  padding-right: calc( 24px * 0.5);
  box-sizing: border-box;
}


[class*="col-"] {
  flex: 0 0 100%;
  max-width: 100%;
}

.container {
  max-width: 1140px;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * .5);
  padding-left: calc(var(--bs-gutter-x) * .5);
  margin-right: auto;
  margin-left: auto;
}


@media (min-width: 576px) {
  .col-sm-1  { flex: 0 0 8.33%;  max-width: 8.33%; }
  .col-sm-2  { flex: 0 0 16.66%; max-width: 16.66%; }
  .col-sm-3  { flex: 0 0 25%;    max-width: 25%; }
  .col-sm-4  { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-sm-5  { flex: 0 0 41.66%; max-width: 41.66%; }
  .col-sm-6  { flex: 0 0 50%;    max-width: 50%; }
  .col-sm-7  { flex: 0 0 58.33%; max-width: 58.33%; }
  .col-sm-8  { flex: 0 0 66.66%; max-width: 66.66%; }
  .col-sm-9  { flex: 0 0 75%;    max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.33%; max-width: 83.33%; }
  .col-sm-11 { flex: 0 0 91.66%; max-width: 91.66%; }
  .col-sm-12 { flex: 0 0 100%;   max-width: 100%; }
}


@media (min-width: 768px) {
  .col-md-1  { flex: 0 0 8.33%;  max-width: 8.33%; }
  .col-md-2  { flex: 0 0 16.66%; max-width: 16.66%; }
  .col-md-3  { flex: 0 0 25%;    max-width: 25%; }
  .col-md-4  { flex: 0 0 33.33%; max-width: 33.33%; }
  .col-md-5  { flex: 0 0 41.66%; max-width: 41.66%; }
  .col-md-6  { flex: 0 0 50%;    max-width: 50%; }
  .col-md-7  { flex: 0 0 58.33%; max-width: 58.33%; }
  .col-md-8  { flex: 0 0 66.66%; max-width: 66.66%; }
  .col-md-9  { flex: 0 0 75%;    max-width: 75%; }
  .col-md-10 { flex: 0 0 83.33%; max-width: 83.33%; }
  .col-md-11 { flex: 0 0 91.66%; max-width: 91.66%; }
  .col-md-12 { flex: 0 0 100%;   max-width: 100%; }
  .container { max-width: 720px; }
  .offset-md-1  { margin-left: 8.33%; }
  .offset-md-2  { margin-left: 16.66%; }
  .offset-md-3  { margin-left: 25%; }
  .offset-md-4  { margin-left: 33.33%; }
  .offset-md-5  { margin-left: 41.66%; }
  .offset-md-6  { margin-left: 50%; }
}


@media (min-width: 992px) {
  .col-lg-6  { flex: 0 0 50%; max-width: 50%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
  .container { max-width: 960px; }
}

@media (min-width: 1200px) {
  .container { max-width: 1140px; }
}

@media (min-width: 1400px) {
  .container { max-width: 1320px; }
}

@media (max-width: 768px) {
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

*/
/*------------------------------------------*/
/*     HEADER
/*------------------------------------------*/

.ast-theme-transparent-header #masthead {
  position: fixed;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  z-index: 10000;
  transition: all 0.2s ease-in-out;
  height: auto;
  background-color: transparent;
}

.site-header.active {
  background: #fff;
  /*border-bottom: 1px solid #eee;*/
  -webkit-box-shadow: 0 0px 8px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 0px 8px rgba(0, 0, 0, 0.16);
  box-shadow: 0 0px 8px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: #0b3a2ecc;
}

.ast-logo-title-inline .ast-site-identity {
  padding: 0.3em 0;
}

/*------------------------------------------*/
/*     HERO
/*------------------------------------------*/

.hero {
  height: 850px;
  min-height: 850px;
  background-image: url(./images/acta-plan-solutions-baner.webp);
  background-image: url(./images/acta-plan-splutions-baner-test.jpg);

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 0;
  color: #ffffff;
  overflow: hidden;
  width: 100%;
  margin-top: 84px;
  margin-top: 60px;
}

.hero:before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(10 38 64 / 65%);
  background-color: rgb(7 49 88 / 79%);
}

.hero .container {
  z-index: 2;
  position: relative;
}

.hero .hero-title {
  font-size: clamp(36px, 10vw, 60px);
  line-height: calc(clamp(36px, 10vw, 60px) * 1.2);
  color: #0c8cff;
  font-weight: 700;
  text-transform: uppercase;
}

.hero .hero-title span {
  display: block;
  color: #fff;
}

.hero p {
  font-size: 28px;
  line-height: 32px;
  margin-top: 25px;
  font-weight: 500;
}

.hero img {
  position: absolute;
  bottom: -5px;
  right: 0;
  z-index: 1;
  width: auto;
}

ul.list {
  list-style: none;
  margin: 0px;
}

ul.list li {
  line-height: normal;
  position: relative;
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  color: #1e4091;
}

ul.list svg {
  width: 22px;
  height: 22px;
  fill: #386be2;
}

@media (min-width: 767.98px) {
  .desk-only {
    display: block;
  }
  .mobile-only {
    display: none;
  }
  .hero .hero-title span br {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .hero {
    background-position: 80% 100%;
  }
}

@media (max-width: 767.98px) {
  .hero {
    height: calc(100vh - 64px - 34px);
    min-height: calc(100vh - 64px - 34px);
  }

  .hero.section {
    text-align: center;
  }

  .hero p {
    font-size: 24px;
    line-height: 30px;
  }
}

.list-wrapper {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

/* Simulacija Bootstrap col-md-7 (58.33%) i col-md-5 (41.67%) */
.list-left {
  width: 65%;
}

.list-right {
  width: 35%;
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .list-left,
  .list-right {
    width: 100%;
  }

  .list-wrapper {
    gap: 0;
    flex-wrap: wrap;
  }
}

.default-img img,
.default-img {
  border-radius: 20px;
  box-shadow: 40px 64px 160px -56px rgba(0, 0, 0, 0.23921568627450981);
}

section h3 {
  margin-bottom: 20px;
}

.subtitle {
  display: inline-block;
  color: #396de7;
  font-weight: 500;
  font-size: 16px;
  margin-bottom: 10px;
}

#main h1,
#main h2,
#main .wp-block-heading {
  position: relative !important;
  z-index: 1000 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
}

/*------------------------------------------*/
/*     PAGE CONTENT
/*------------------------------------------*/

.qimege-wrapp {
  position: relative;
}

.quote-box {
  background: #396de7;
  padding: 25px 25px 5px;
  border-radius: 20px;
  color: #fff;
  margin-top: 20px;
  text-align: center;
}

.qimege-wrapp .quote-box {
  max-width: 500px;
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 15px;
}

.section-quote {
  background-image: url(./images/acta-plan-citat-slika.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  position: relative;
  z-index: 0;
  color: #ffffff;
  overflow: hidden;
  width: 100%;
  padding: 65px 0;
  text-align: center;
}

svg.quote {
  width: 60px;
  height: 60px;
}

p.quote-text {
  font-size: 24px;
  line-height: normal;
}

.step-card {
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  height: 100% !important;
  align-items: center;
  position: relative;
}

.arch-line {
  position: absolute;
  top: 15px;
  width: 150px;
  right: 0;
  left: calc(100% + 24px);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}

.step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  display: inline-block;
  color: white;
  background-color: #0c8cff;
  font-size: 18px;
  border-radius: 50% !important;
  margin-bottom: 20px;
}

@media (min-width: 991.98px) {
  .hero {
    min-height: 850px;
  }
}

@media (max-width: 991.98px) {
  section {
    padding: 40px 0;
  }

  .arch-line {
    display: none;
  }

  .single-post h1.entry-title {
    font-size: 24px;
  }
}

@media (max-width: 767px) {
  .hero {
    margin-top: 45px;
  }

  header .custom-logo-link img {
    max-width: 65px;
    width: 65px;
  }

  .order-2 {
    order: 2;
    padding-top: 5px;
  }

  .order-1 {
    order: 1;
  }

  .about img.default-img {
    margin-top: 20px;
  }

  .qimege-wrapp .quote-box {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
  }

  .section-quote {
    padding: 30px 5px 10px;
  }

  p.quote-text {
    font-size: 18px;
  }

  footer section {
    padding: 25px 0;
  }

  footer#colophon aside.footer-widget-area {
    margin-top: auto;
    margin-bottom: auto;
  }

  .footer-widget-area .d-flex p img,
  .ast-builder-html-element p:first-child {
    display: none;
  }

  .footer-widget-area .ast-builder-html-element .d-flex {
    flex-direction: column;
  }
  .desk-only {
    display: none;
  }
  .mobile-only {
    display: block;
  }
}

.service-box {
  background: #f3f4f2;
  padding: 30px 25px 25px;
  border-radius: 20px;
  position: relative;
  height: 100%;
}

.service-box.first-in-row {
  background: #386be3;
  color: #fff;
}

.service-box .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  line-height: 55px;
  border-radius: 50%;
  background-color: #0c8cff;
  color: white;
  margin-bottom: 34px;
}

.service-box.first-in-row .icon {
  background-color: #c5cde159;
}

.service-box p {
  margin-bottom: 5px;
}

.service-box span {
  display: block;
  font-size: 16px;
  line-height: normal;
}

.service-box .icon svg {
  width: 25px;
  height: 25px;
}

.custom-gutter {
  --gutter-x: 15px;
  --gutter-y: 15px;
}

.equal-column .wp-block-uagb-container {
  display: flex;
  justify-content: space-between;
}

.img-with-shadow img {
  box-shadow:
    0 4px 8px #00000008,
    0 15px 15px #00000008,
    0 35px 21px #00000005,
    0 61px 25px #00000003;
  margin-bottom: 45px;
}

.eu-list .wp-block-uagb-info-box {
  background-color: #dedede;
}

.organization-lists {
  background: #386be3;
  background: #f3f4f2;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px 20px;
}

.blue-info-box {
  background: #396de7;
  padding: 25px 25px 5px;
  border-radius: 20px;
  color: #fff;
  margin-top: 5px;
  text-align: left;
}

.quote-and-img {
  padding-top: 0px;
}

/* .ast-comment-count,
.comments-link,
.uagb-post__comment {
  display: none !important;
}

.uagb-post__date::after {
  content: none !important;
  display: none !important;
} */

/* Astra archive: izjednači featured slike u listi/gridu */
.ast-archive-post .post-thumb img,
.ast-blog-post .post-thumb img,
.ast-article-post .post-thumb img {
  width: 100%;
  height: 260px; /* promeni po potrebi */
  object-fit: cover;
  display: block;
}
