/**
Theme Name: Kreativija
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kreativija
Template: astra
*/


.uagb-post-grid.uagb-post__columns-3:not(.is-grid) article {
  width: 32% !important;
}

.storitev {
  width: 1400px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}



@media (max-width: 1400px) {
  .storitev {
  padding-left: 20px !important;
  padding-right: 20px !important;
}
}


@media (max-width: 800px) {
  .storitev {
  width: 98% !important;
	margin: 0 auto !important;
}

}


.ast-pagination {
  padding-bottom: 2em;
}


/* H2 */

h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  text-align: center;
  position: relative;
}

/* leve in desne črte */
h2::before,
h2::after {
  content: "";
  flex: 1;
  max-width: 50%;
  height: 1px;
}

/* leva: transparent → bela */
h2::before {
  background: linear-gradient(
    to right,
    transparent,
    rgba(255,255,255,0.8)
  );
}

/* desna: bela → transparent */
h2::after {
  background: linear-gradient(
    to left,
    transparent,
    rgba(255,255,255,0.8)
  );
}



.page-id-6 {
    background: #000;
}

/* NASLOV NA STRANEH */



@media (min-width: 545px) {
  .single.ast-page-builder-template .post-navigation {
    max-width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
}



.entry-content :where(h1, h2, h3, h4, h5, h6) {
  margin-top: 10px !important;
}






/* GRID VIDEOV UVODNA STRAN */



@media (min-width: 1200px) {
  .ast-plain-container.ast-no-sidebar #primary {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }
}

.yt-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px;
}

.yt-grid > .yt-hover {
    flex: 1 1 calc(25% - 18px) !important;
    max-width: 100% !important;
}

.yt-grid.use-3cols > .yt-hover {
    flex: 1 1 calc(33.333% - 16px) !important;
    max-width: 100% !important;
}


@media (max-width: 1024px) {
    .yt-grid > .yt-hover,
    .yt-grid.use-3cols > .yt-hover {
        flex: 1 1 calc(50% - 16px) !important;
    }
}

@media (max-width: 640px) {
    .yt-grid > .yt-hover,
    .yt-grid.use-3cols > .yt-hover {
        flex: 1 1 100% !important;
    }
}


.yt-hover iframe {
    pointer-events: none;
}

.yt-hover {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.yt-hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: black;
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.2s ease;
}

.yt-hover:hover::before {
    opacity: 0;
}



.glavne-storitve-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 30px;
}

@media (max-width: 1280px) {
	.glavne-storitve-grid {
		grid-template-columns: repeat(3, 1fr) !important;
	}
}

@media (max-width: 1000px) {
	.glavne-storitve-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 600px) {
	.glavne-storitve-grid {
		grid-template-columns: 1fr !important;
	}
}


.uagb-block-dec74222:not(.is-grid).uagb-post__items article {
  padding-right: 0 !important;
  padding-left: 0 !important;
  margin-bottom: 20px;
  border-radius: 10px;
  margin-left: 10px;
  margin-right: 10px;
}



@media (max-width: 600px) {
.uagb-post-grid.uagb-post__columns-3:not(.is-grid) article {
  width: 99% !important;
}
	}

.storitev-kartica {
	background: #383838;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 20px rgba(255,255,255,0.06);
	padding-bottom: 15px;
	transition: 0.3s ease;
}

.storitev-kartica:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 28px rgba(255,255,255,0.1);
}

.storitev-slika-img,
.storitev-video-wrap video {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
	border-radius: 10px 10px 0 0;
}

.storitev-naslov {
  font-size: 20px;
  margin: 14px;
  color: #fff;
  line-height: 1.3;
  height: calc(2 * 1.3em);

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.storitev-opis {
  margin: 0 14px 14px;
  color: #ccc;
  font-size: 13px;

  line-height: 20px;
  height: 60px;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.storitev-gumb {
	margin-left: 14px;
	background: #E0B030;
	color: #000 !important;
	padding: 4px 14px;
	border-radius: 6px;
	display: inline-block;
	text-decoration: none;
	transition: background 0.3s;
	text-decoration: none !important;
	font-weight: bold;
}

.storitev-gumb:hover {
	background: #f4d849;
}


.storitev-video-wrap {
    position: relative;
}

.storitev-video-wrap video {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
	border-radius: 10px 10px 0 0 !important;
}


/* omogoči prikaz kontrol */
.storitev-kartica {
    overflow: visible !important;
}

/* kontrole pokaži samo ob hoveru */
.storitev-video-wrap video::-webkit-media-controls {
    opacity: 0;
    transition: opacity 0.3s;
}

.storitev-video-wrap:hover video::-webkit-media-controls {
    opacity: 1;
}



.astra-advanced-hook-1538 {
	width: 100%;
	max-width: 1400px !important;
	margin: 0 auto;
}




/* regije in kraji pri storitvi */


/* NAVIGACIJA */


.az-filter button {
	margin: 0 3px;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
	color: #000;
}


/* ===========================================
   🟦 Glavni wrapper
=========================================== */
.storitev-lokacije-wrapper {
    margin: 15px 10px;
    padding: 20px;
    background: #383838;
    border-radius: 14px;
}

/* ===========================================
   🟧 Regija blok
=========================================== */
.storitev-lokacija-regija {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #666;
}

.storitev-lokacija-regija:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===========================================
   🟨 Naslov regije
=========================================== */
.storitev-lokacija-regija h3 {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: #fff;
    letter-spacing: -0.3px;
}

/* ===========================================
   🟩 Kraji – lep seznam
=========================================== */
.storitev-lokacije-kraji {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px 5px;
}

.storitev-lokacije-kraji li a {
    display: inline-block;
    background: #ddd;
    padding: 5px 10px;
    border-radius: 5px;
    border: 1px solid #dedede;
    font-size: 14px;
    color: #000;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* Hover efekti */
.storitev-lokacije-kraji li a:hover {
    background: #e9f5ff;
    border-color: #c1e6ff;
    color: #006bb9;
    transform: translateY(-1px);
}

/* ===========================================
   🟪 Mobile optimizacija
=========================================== */
@media (max-width: 600px) {
    .storitev-lokacije-wrapper {
        padding: 20px;
    }

    .storitev-lokacija-regija h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .storitev-lokacije-kraji li a {
        font-size: 14px;
        padding: 6px 12px;
    }
}


/* kontaktni obrazec */


/* 2-stolpčni grid */
.kontakt-obrazec {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* enotni stil polj */
.kontakt-obrazec input,
.kontakt-obrazec textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    background: #ffffff;
}

/* textarea naj gre čez celo širino */
.kontakt-obrazec textarea {
    grid-column: 1 / 3;
    min-height: 100px;
}

/* gumb čez celotno širino */
.kontakt-obrazec .kontakt-btn {
    grid-column: 1 / 3;
    padding: 12px;
    font-size: 16px;
}

/* mobitel: 1 stolpec */
@media (max-width: 768px) {
    .kontakt-obrazec {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .kontakt-obrazec textarea,
    .kontakt-obrazec .kontakt-btn {
        grid-column: 1 / 2;
    }
}



/* OZADJE PRELIV */

.ozadje {
  position: relative;
}

.ozadje::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0),
    rgba(0,0,0,1)
  );
}
	
	
	
	
/***********  SEZNAM KRAJEV - footer  **********/

.seznam-krajev-wrap {
  margin: 20px 0;
	padding: 0 20px;
	text-align: justify;
}

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

.seznam-krajev-item {
  margin-bottom: 5px; /* lepo razmaknemo */
	display: inline-block;
}

.seznam-krajev-item a {
  font-size: 15px;
  text-decoration: none;
  color: #ccc;
}

.seznam-krajev-item a:hover {
  color: #5376BA;
}

.seznam-krajev-count  {
  opacity: 0.7;
  margin-left: 3px;
  font-size: 12px;
}

/***********  SEZNAM REGIJ - footer  **********/

.seznam-regij-wrap {
  text-align: center;
}


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

.seznam-regij-item {
  display: inline-block;
  margin: 4px 5px 4px 0;
}

.seznam-regij-item a {
  display: inline-block;
  padding: 4px 10px;
  background: #f4f4f4;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  color: #000;
  transition: 0.2s ease;
}

.seznam-regij-item a:hover {
  background: #383838;
  color: #fff;
}

.seznam-count {
  opacity: 0.7;
  margin-left: 3px;
  font-size: 12px;
}


.entry-content h3 {
  margin-bottom: 5px !important;
}

/***********  menu footer  **********/

#menu-storitve a {
	color: #fff;
}

#menu-storitve a:hover {
	color: #ccc;
}




/***********  oznake  **********/

.oznake_popravilo_avtodaljincev a {
	color: #666;
	border: 1px solid #666;
	border-radius: 3px;
	padding: 2px 4px;
	margin: 5px 1px;
}

.oznake_popravilo_avtodaljincev a:hover {
	color: #fff;
	border: 1px solid #5376BA;
	background-color: #5376BA;
}
	
	
	
	










/* Aktiviraj Astro grid za taxonomy archive */
.tax-regija .ast-row,
.tax-kraj .ast-row {
  display: flex;
  flex-wrap: wrap;
}

/* 4 kolone */
.tax-regija .ast-article-post,
.tax-kraj .ast-article-post {
  width: 25%;
}

/* responsive */
@media (max-width: 1024px) {
  .tax-regija .ast-article-post,
  .tax-kraj .ast-article-post {
    width: 50%;
  }
}

@media (max-width: 600px) {
  .tax-regija .ast-article-post,
  .tax-kraj .ast-article-post {
    width: 100%;
  }
}


/* to velja zdaj tudi za /kraj/... in /regija/... */
.post-type-archive-storitev .ast-row {
  display: flex;
  flex-wrap: wrap;
}

.post-type-archive-storitev .ast-article-post {
  width: 25%;
}

@media (max-width: 1024px) {
  .post-type-archive-storitev .ast-article-post { width: 50%; }
}
@media (max-width: 600px) {
  .post-type-archive-storitev .ast-article-post { width: 100%; }
}



/* Prisili 4 kolone na taxonomy arhivih */
.tax-kraj .ast-grid-3,
.tax-regija .ast-grid-3 {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* odstranimo Astro md override */
.tax-kraj .ast-grid-md-1,
.tax-regija .ast-grid-md-1 {
    grid-template-columns: repeat(4, 1fr) !important;
}

.tax-kraj .ast-row,
.tax-regija .ast-row {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
  .tax-kraj .ast-row,
  .tax-regija .ast-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tax-kraj .ast-row,
  .tax-regija .ast-row {
    grid-template-columns: 1fr;
  }
}


/* odstrani full width za storitve na kraj/regija */
.tax-kraj .ast-full-width,
.tax-regija .ast-full-width {
    width: auto !important;
}

/* naj grid določa širino */
.tax-kraj .ast-article-post,
.tax-regija .ast-article-post {
    width: 100% !important;
}

.ast-grid-common-col {
  background-color: #383838;
  height: 100%;
	padding-bottom: 20px;
}

.ast-article-inner {
	padding: 0;
}

.ast-excerpt-container {
  padding: 0 10px;
	font-size: 15px;
}

.archive .entry-title {
  padding: 0 10px;
	font-weight: bold;
	font-size: 18px;
}

