@media (max-width: 1200px) {
    header {
        padding: 15px 20px;
    }
    .logo {
        flex-basis: auto;
    }
    .logo img {
        height: 20px;
    }
    .head-icons {
        margin-left: auto;
    }
    .ponudnik-summary {
        padding-right: 40px;
    }
    .hc1,
    .aBtn {
        display: none;
    }
    .hc3 {
        flex-basis: auto;
    }
    .main-navi,
    .responsive-nav {
        display: block;
        width: 40px;
        height: 40px;
        color: #fff;
        text-align: center;
        cursor: pointer;
        line-height: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        background-color: #000;
    }
    .responsive-nav img {
        height: 20px;
        width: 20px;
    }
    .p_icon {
        width: 100%;
        height: 40px;
        margin: 50px 0 50px 0;
        display: flex;
        justify-content: space-between;
    }
    .p_icon a {
        margin: 0;
        padding: 0;
    }
    .p_icon img {
        height: 30px;
    }
    .panel {
        background-color: #000;
        z-index: 200000;
        position: fixed;
        overflow-y: scroll;
        overflow-x: hidden;
        width: 100%;
        top: 72px;
        min-height: 100vh;
        height: 100vh;
        display: flex;
        justify-content: center;
        text-align: center;
        left: -100%;
        transition: all .5s ease;
        -webkit-transition: all .5s ease;
        -moz-transition: all .5s ease;
        -ms-transition: all .5s ease;
        -o-transition: all .5s ease;
    }
    .obvestilo {
        background-color: #459744;
        color: #fff;
        padding: 15px 20px;
        margin-bottom: 0
    }
    .full-btn {
        width: 100%;
        text-align: center;
        background-color: white;
        font-size: 1em !important;
        padding: 5px 10px !important;
    }
    a.btnB:hover {
        color: black !important;
    }
    .sFlex {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .search-close {
        height: 15px;
        cursor: pointer;
        margin-left: 40px;
    }
    .lanSelect {
        margin: 0 0 20px 0;
        line-height: 0;
        width: auto;
        height: auto;
        position: relative;
        cursor: pointer;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }
    .lanSelect img {
        height: 20px;
        margin: 0 10px 0 0;
    }
    .panelVis {
        left: 0;
        transition: .5s ease;
        -webkit-transition: .5s ease;
        -moz-transition: .5s ease;
        -ms-transition: .5s ease;
        -o-transition: .5s ease;
        overflow-y: scroll;
        overflow-x: hidden;
    }
    .flex-nav {
        display: flex;
        color: white;
        justify-content: center;
        width: 100%;
        align-items: flex-start;
        margin-top: 3em;
    }
    .closeP {
        height: 40px;
        cursor: pointer;
        margin-top: 10px;
    }
    .mid-navi {
        margin: 0 5em;
        padding-right: 5em;
        text-align: left;
        line-height: 25px;
        border-right: 1px solid #ddd;
        height: auto;
        font-size: .8em;
        font-weight: 500;
    }
    .btnB {
        display: inline-block;
        background-color: #fff;
        color: #000 !important;
        padding: 10px;
        margin-top: 10px;
        font-weight: 600;
        text-decoration: none;
        font-size: 14px;
        border: 1px solid #fff;
    }
    .c2 {
        width: 100%;
        margin-top: 25px;
        display: flex;
    }
    .c2 img {
        width: 30px;
        margin: 0 5px;
    }
    .mid-navi a {
        text-decoration: none;
        color: white;
    }
    .mid-navi a:hover {
        color: inherit !important;
    }
    .btnB:hover {
        background-color: #000;
        border: 1px solid #fff;
    }
    .end-navi {
        margin-top: 20px;
    }
    .end-navi a {
        color: #ddd !important;
    }
    .panel ul {
        margin: 0 0 0 0 !important;
        padding: 0;
        width: auto;
        width: 300px;
    }
    .panel li {
        margin: 0 0;
        padding: 0;
        display: flex;
        align-items: flex-start;
    }
    .panel li a {
        color: #fff;
        text-decoration: none;
        font-size: 1.4em;
        display: inline-block;
        font-weight: 700;
        height: 50px;
    }
    .subRole li a {
        height: 40px;
        font-weight: 400;
    }
    .panel li :hover a {
        color: #ddd !important;
        text-decoration: none;
    }
    .panel a:link,
    .panel a:visited {
        color: #fff;
    }
    .rwdMore {
        flex: 1;
        cursor: pointer;
    }
    .panel li div:first-child {
        flex: 4;
        text-align: left;
        height: auto;
    }
    .rwdMore img {
        height: 13px !important;
        margin-top: 5px;
    }
    .subRole {
        height: 0;
        overflow: hidden;
    }
    .shown {
        height: auto;
        margin-bottom: 1.2em;
    }
    .subRole a {
        font-weight: 300;
        padding-left: 10px;
        font-size: 1em !important;
        color: #fff !important;
    }
    .finRole a {
        font-weight: 300;
        padding-left: 20px;
    }
    .prime-foot {
        display: none;
    }
    .end-navi {
        margin-top: 0;
    }
    .fLogo {
        width: 100px;
        margin-top: -45px;
    }
}

@media (max-width: 1000px) {
    .featured-list a {
        flex-basis: 50%;
    }
    .list-item {
        height: 350px;
    }
    .scl {
        flex-basis: 100%;
        width: 100%;
        margin-top: 55px !important;
        justify-content: center;
        display: flex;
    }
    .posebna_ponudba h2 {
        font-size: 1.8em;
    }
    .heading {
        font-size: 1.8em !important;
    }
    .izpostave {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .intro p {
        font-size: 1.1em;
        line-height: 1.3em;
    }
    .izpostava-content h2 {
        font-size: 1.2em;
        line-height: 1.2em;
    }
    .izpostava-content p {
        font-size: .9em;
        line-height: 1.3em;
    }
    body {
        font-size: 14px;
    }
    .section h1 {
        font-size: 1.8em;
        text-align: center;
        margin-bottom: 1em;
    }
    .ponudnik {
        flex-direction: column;
    }
    .ponudnik-summary {
        flex: 1;
        padding-right: 0;
    }
    .ponudnik-summary h1 {
        font-size: 2em;
    }
    .ponudnik-summary p {
        font-size: 1.1em;
    }
    .ponudnik-info {
        flex: 1;
        margin-top: 2em;
    }
    .contact-info {
        margin-bottom: 2em;
        border-top: 5px solid #122247;
        padding-left: 0;
        padding-top: 25px;
        border-left: none;
    }
    .inquiry {
        border-top: 5px solid #aad25e;
        padding-left: 0;
        padding-top: 25px;
        border-left: none;
    }
    .share-content {
        width: 100%;
        margin: 60px 0 0 0;
        text-align: center;
    }
    .sub-show {
        grid-template-columns: repeat(1, 1fr);
        align-items: center;
        margin-bottom: 3em;
    }
    .sub-content {
        background-image: none;
    }
    .sub-title {
        width: 100%;
        margin-left: 0%;
        margin-bottom: 2em;
        padding: 1em;
    }
    .sub-img {
        height: 350px;
        background-position: center;
    }
    .sub-img h1 {
        width: 100%;
        font-size: 1.5em;
        padding: 130px 0 0 20px;
        background-size: 70%;
    }
    .blog-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .sub-content {
        width: 100%;
        margin: 0 0 50px 0;
        font-size: 1em;
        line-height: 1.5em;
    }
    .sub-content h2 {
        font-size: 2em;
        font-weight: 500;
        margin: .8em 0;
        color: #000;
        line-height: normal;
    }
    .sub-content h3 {
        font-size: 1.6em;
        font-weight: 500;
        margin: .8em 0;
        color: #000;
        line-height: normal;
    }
    .sub-content h4 {
        font-size: 1.4em;
        font-weight: 500;
        margin: .4em 0;
        color: #000;
        line-height: normal;
    }
    blockquote {
        float: left;
        width: 100%;
        font-size: 1.2em;
        line-height: 1.5em;
        font-weight: 500;
    }
    blockquote p {
        width: 100%;
        margin-left: 0%;
    }
    .blog_content {
        margin: 0 auto;
        width: 90%;
        max-width: 100%;
        border: 0px solid #ddd;
        padding: 0;
        margin-bottom: 60px;
    }
    .feautred-img {
        width: 100%;
        height: 450px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    video {
        width: 100% !important;
        height:450px;
       margin: 0 0;
       object-fit: cover;
    }
    .product-item {
        flex-basis: 48%;
    }
    .category-item {
        flex-basis: 50%;
        height: 250px;
    }
}

@media (max-width: 850px) {
    
    .feautred-img {
        width: 100%;
        height: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    video {
        width: 100% !important;
        height:350px;
       margin: 0 0;
       object-fit: cover;
    }
 
.feautred-summary {
  position: absolute;
  bottom: 0%;             /* dvignemo malo nad dno */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 95%;          /* ni več čez celo širino */
  padding: 0;      /* malo več zraka */
}
    
    
    .product-item-details h3 {
        font-size: 1em;
    }
    .product-price {
        padding-top: .5em;
        font-size: 1.1em;
    }
    .vavcer {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .vavcer>div {
        flex: 1;
        max-width: auto;
        min-width: auto;
        text-align: center;
        margin-bottom: 10px;
        font-size: .8em !important;
    }
    .vavcer img {
        height: 40px;
    }
    .showDesc h1 {
        font-size: 1.6em;
    }
    .showImg {
        flex-basis: 100%;
        flex: auto;
        order: 2;
    }
    .showDesc {
        order: 1;
        flex-basis: 100%;
        flex: auto;
        margin-top: 0;
        margin-bottom: 30px;
    }
    .c1 {
        display: none;
    }
    .mid-navi {
        margin: 0 25px 0 0;
        padding-right: 25px;
    }
    .panel ul {
        width: 200px;
    }
    .panel li a {
        color: #fff;
        text-decoration: none;
        font-size: 1em;
    }
    .feautred-img-sub {
        height: 250px;
    }
    .kon-info {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;
    }
    .date {
        width: 150px;
        border-right: none;
        background-image: url("../images/_body/calendar.svg");
    }
    .guest {
        width: 100px;
        background-image: url("../images/_body/family.svg");
    }
    .form-btn {
        font-size: .8em;
        background-color: #000;
        color: white;
        cursor: pointer;
        transition: all .5s;
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
        border: 0px solid #fff;
    }
    .pon {
        flex: 1;
        min-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .posebna_ponudba_img {
        flex: 1;
    }
    .posebna_ponudba_summary {
        flex: 2;
    }
    .foot-cont>div {
        margin: 0 1em;
        color: white;
        font-weight: 500;
        font-size: 1em;
        text-align: center;
        min-width: 150px;
        margin-bottom: 15px;
    }
    .izpostava {
        height: 250px;
    }
    .list-item {
        height: 250px;
    }
    .subCatItem {
        height: 250px;
    }
    .featured-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .subCats {
        grid-template-columns: repeat(2, 1fr);
    }
    .event {
        width: 31%;
        margin: 0 1%;
        flex-direction: column;
    }
    .dateTag {
        width: auto;
        height: auto;
        text-align: left;
        display: inline-block;
        margin-right: 0;
        padding: 5px;
    }
    .dateTag h5 {
        font-size: 14px;
        line-height: 16px;
        display: inline-block;
        margin-left: 4px;
    }
    .dateTag small {
        color: black;
        font-size: 14px;
        line-height: auto;
    }
    .eventInfo {
        flex: 1;
    }
    .info-card>div {
        display: flex;
        color: white;
        align-items: center;
        flex-wrap: wrap;
        margin: 10px;
        font-weight: 600;
        font-size: .9em;
    }
    .info-card div img {
        height: 15px;
        margin-right: 8px;
    }
    .fIcon {
        width: 35px;
        height: 35px;
    }
    .fIcon img {
        height: 15px;
    }
    .section-bottom {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
    }
    .gp-set {
        height: 250px;
    }
    .bi-right {
        height: 250px;
        margin-bottom: 2em;
    }
    .thirds {
        display: flex;
        flex-direction: column;
    }
    .blanks {
        flex: 1;
        margin-right: 0;
        order: 2;
    }
    section.module.parallax {
        height: auto;
        padding: 100px 0;
    }
    section.module.parallax strong {
        background-color: rgba(91, 33, 10, 0.7);
        font-size: 1.3em;
    }
    section.module.parallax p {
        background-color: rgba(255, 255, 255, 0.7);
        font-size: .9em;
        line-height: 1.2em;
    }
    .cenikTable th:nth-child(1) {
        width: 150px;
    }
}

@media (max-width: 580px) {
    .showImg img {
        width: 100%;
    }
    .izpostava-content {
        padding: 3.5em 10px 1em 10px;
    }
    .pon {
        flex: 1;
        min-width: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        margin-top: 25px;
    }
    .posebna_ponudba_img {
        flex-basis: 100%;
        width: 100%;
        height: 250px !important;
    }
    .posebna_ponudba_summary {
        flex-basis: 100%;
        width: 100%;
    }
    .logos {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
    .logos img {
        height: 50px;
    }
    .feautred-summary strong {
        font-size: 1em;
        line-height: 1.4em;
        font-weight: 400;
        padding: 10px 15px;
    }

    .feautred-summary p {
        background-color: rgba(255, 255, 255, 0.9);
        font-size: 1em;
        line-height: 1.5em;
        font-weight: 400;
        padding: 10px;
        display: block;
        color: black;
        text-align: center;
    }

    .imgRight {
        float: right;
        width: 100%;
        max-width: 100%;
        height: auto;
        clear: right;
        box-sizing: border-box;
        margin: 0 0 1em 0;
    }
    .imgLeft {
        float: left;
        width: 100%;
        max-width: 100%;
        height: auto;
        clear: left;
        box-sizing: border-box;
        margin: 0 0 1em 0;
    }
    .event {
        width: 48%;
        margin: 0 1%;
    }
    .mnenja {
        grid-auto-flow: row;
    }
    .mnenja-title {
        margin: 0 auto;
    }
    .marks {
        width: 100%;
        margin-top: 20px;
        text-align: center;
    }
    .bull {
        float: none;
        display: inline-block;
        margin-right: 5px;
        margin-left: 5px;
    }
    .blog-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 370px) {
    .rez-input {
        padding-left: 0;
        background-image: none;
    }
    .featured-list {
        grid-template-columns: repeat(1, 1fr);
    }
    .subCats {
        grid-template-columns: repeat(1, 1fr);
    }
    .event {
        width: 100%;
        margin: 0 0 10px 0;
    }
}

/* ==========================================================================
   DOGODKI - program dneva in prijava na dogodek (dodano 21. 9. 2026)
   ========================================================================== */

@media (max-width: 1000px) {

    .ep-img {
        flex: 0 0 200px;
        min-height: 150px;
    }

    .ep-item {
        gap: 20px;
    }
}

@media (max-width: 850px) {

    .ep-item {
        flex-wrap: wrap;
        gap: 15px;
        padding: 20px 0;
    }

    .ep-time {
        flex: 0 0 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
        padding-top: 0;
    }

    .ep-time-line {
        width: 14px;
        height: 1px;
        margin: 0;
    }

    .ep-img {
        flex: 0 0 100%;
        width: 100%;
        min-height: 200px;
    }

    .ep-body {
        flex: 0 0 100%;
    }

    .ep-foot {
        gap: 10px;
    }

    .ep-actions {
        margin-left: 0;
        width: 100%;
    }

    .ep-btn {
        flex: 1 1 auto;
        text-align: center;
    }

    .ps-box {
        padding: 30px 20px 25px 20px;
    }

    #fPrijavaDogodek {
        grid-template-columns: 1fr;
    }

    .ps-modal {
        padding: 20px 10px;
    }
}

@media (max-width: 580px) {

    .ep-title {
        font-size: 1.3em;
    }

    .ep-name {
        font-size: 1.1em;
    }

    .ep-btn-big {
        padding: 14px 25px;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 850px) {

    .pd-box {
        padding: 30px 20px 25px 20px;
    }

    .pd-foot .ep-actions {
        margin-left: 0;
        width: 100%;
    }
}
