/*
    Theme name: DAB - AKOS
    Author: Urban Puhek, OnOff Kreativna Agencija
    Version: 1.0
    Author URI: https://www.linkedin.com/in/urban-puhek-2227261b7/
*/

body{
 margin: 0; 
}

.card{
  position: initial !important; 
}

.badge-clip,
.badge-clip-green{
  position: absolute !important;
  top: 0 !important;
  right: 10% !important;
  background: #06B6D4 !important;
  color: #fff !important;
  font-weight: 800 !important;
  padding: .6rem 1.1rem !important;
  line-height: 1 !important;
  padding-bottom: 20px !important;
  width: auto !important;
  
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 65%, 0 100%);
}

.badge-clip-green{
  background: #86DD25 !important;
}

.faq-searchbar{
  width: 60%;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.faq-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.dab-faq-wrapper{
  width: 75%;
  margin: auto;
}

.faq-search-icon {
  position: absolute;
  left: 0.75rem;
  width: 1.1rem;
  height: 1.1rem;
  color: #888;
  pointer-events: none;
}

.faq-search-wrapper input[type="search"] {
  width: 100%;
  padding: 0.75rem 0.9rem 0.75rem 2.3rem; /* prostor za ikono */
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.faq-search-wrapper input[type="search"]:focus {
    outline: none;
}

.faq-hidden {
  display: none !important;
}

.faq-no-results {
  display: none;
  padding: 0.75rem;
  border: 1px dashed #ccc;
  border-radius: 0.5rem;
  margin-top: 0.5rem;
  text-align: center;
}

.faq-no-results.show {
  display: block;
}

.dab-faq-item.faq-hidden {
  display: none !important;
}

.dab-faq-answer{
	text-align: left;
}

.dab-faq-question,
.dab-faq-item{
	width: 100%;
}

.dab-faq-question{
	display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
	padding: 16px;
	border: none !important;
	background: transparent;
	font-size: 16px !important;
	cursor: pointer;
}

.dab-faq-answer{
	padding: 0 16px;
}

.dab-faq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dab-faq-icon-minus {
  display: none;
}

.dab-faq-question.is-open .dab-faq-icon-plus {
  display: none;
}

.dab-faq-question.is-open .dab-faq-icon-minus {
  display: inline-flex;
}

.banner-posevnica{
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 350px !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%, 100% 0);
}

.glasba-posevnina{
  width: 100% !important;
  height: 50px !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 100% 0);
}

.footer-wrapper a:hover{
  color: #fff !important;
}

.rp-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

/* Kartica */
.rp-card{
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  overflow:hidden;
  border:1px solid #ececec;
}

/* Media (logo/placeholder) */
.rp-media{
  aspect-ratio:16/9;
  display:flex;
  align-items:center;
  justify-content:center;
}

.rp-media img{
  max-width:80%;
  max-height:80%;
  height:auto;
  width:auto;
  display:block;
}

/* Vsebina */
.rp-body{ 
	padding:14px; 
}

.rp-title{
  margin:0;
  font-weight:700;
  font-size:18px;
  line-height:1.2;
  color:#111;
}

.glasba-wrapper{
    transition: transform 0.3s ease !important;
}

.glasba-wrapper:hover{
    transform: scale(1.075);
    z-index: 2 !important;
}

.dab-faq-question-text{
	font-weight: 700;
}

@media (max-width: 1119px) {
  .posevnina{
    clip-path: polygon(0 100px, 100% 0, 100% 100%, 0% 100%);
  }
}

@media (max-width: 1023px) {
  .posevnina{
    clip-path: polygon(0 50px, 100% 0, 100% 100%, 0% 100%);
    background: linear-gradient(90deg, #00bdd2, #86dd25);
  }
  .banner-posevnica{
    display: none !important;
  }
	
  .faq-searchbar,
  .dab-faq-wrapper{
    width: 100%;
  }
}

@media (min-width:768px){
  .rp-grid{ grid-template-columns:repeat(3,1fr); }
}