:root {
    --sremac-bordo: #59177a;
    --sremac-bordo-dark: #3e1056;
    --sremac-bordo-soft: #f5ebf7;
    --sremac-ivory: #fbf8f2;
    --sremac-paper: #fffdf9;
    --sremac-sand: #e9ddcb;
    --sremac-text: #24211f;
    --sremac-muted: #706a64;
    --sremac-line: #e7dfd4;
    --sremac-container: 1800px;
    --hero-curtain-width: 62%;
    --hero-curtain-top-clip: 24%;
    --hero-curtain-left: 52.88%;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--sremac-text);
    background: var(--sremac-ivory);
    font-family: "DM Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

/* Header */

.site-header {
    --utility-bar-height: 43px;

    position: sticky;
    z-index: 50;
    top: calc(-1 * var(--utility-bar-height));
    overflow: visible;
    background: var(--sremac-paper);
    border-bottom: 1px solid var(--sremac-line);
}

/* Gornja servisna traka */

.site-utility-bar {
    border-bottom: 1px solid var(--sremac-line);
    background: #f7f1e8;
}

.site-utility-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--sremac-container);
    min-height: 42px;
    margin: 0 auto;
    padding: 7px 22px;
}

.site-utility-bar__contact,
.site-utility-bar__links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-utility-bar__contact {
    color: var(--sremac-muted);
    font-size: 12px;
}

    .site-utility-bar__contact a:hover {
        color: var(--sremac-bordo);
    }

.site-utility-bar__contact-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

    .site-utility-bar__contact-item + .site-utility-bar__contact-item::before {
        position: absolute;
        top: 50%;
        left: -9px;
        width: 3px;
        height: 3px;
        border-radius: 50%;
        background: #b9afa3;
        content: "";
        transform: translateY(-50%);
    }

.site-utility-bar__icon {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8px;
}

.site-utility-bar__links {
    gap: 18px;
}

    .site-utility-bar__links a {
        color: var(--sremac-text);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        white-space: nowrap;
    }

        .site-utility-bar__links a:hover {
            color: var(--sremac-bordo);
        }

.site-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--sremac-text);
    cursor: pointer;
    font-family: inherit;
    font-size: 25px;
    line-height: 1;
}

    .site-search-button:hover {
        background: var(--sremac-bordo-soft);
        color: var(--sremac-bordo);
    }

/* Glavno zaglavlje */

.site-header__main {
    background: var(--sremac-paper);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    max-width: var(--sremac-container);
    min-height: 112px;
    margin: 0 auto;
    /*padding: 17px 22px;*/
}

.site-header__brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 13px;
    color: var(--sremac-text);
    text-decoration: none;
}

    .site-header__brand:hover .site-header__school-name {
        color: var(--sremac-bordo);
    }

.site-header__logo {
    display: block;
    width: 150px;
    height: 100px;
    object-fit: contain;
}

.site-header__logo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 76px;
    border: 1px solid rgba(89, 23, 122, 0.25);
    background: var(--sremac-bordo);
    color: #ffffff;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 30px;
    font-weight: 700;
}

.site-header__brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.site-header__school-type {
    color: var(--sremac-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.05;
    white-space: nowrap;
}

.site-header__school-name {
    margin-top: 1px;
    color: var(--sremac-bordo);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 27px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.site-main {
    max-width: var(--sremac-container);
    margin: 0 auto;
    padding: 0 22px 72px;
}

/* Standardne unutrašnje stranice */
.standard-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 0 42px;
}

.standard-page__content {
    max-width: 100%;
    padding-top: 56px;
}

    .standard-page__content p {
        margin: 0 0 18px;
        color: #3f3a35;
        line-height: 1.75;
    }

        .standard-page__content p:empty {
            min-height: 1.65em;
        }

        .standard-page__content p:last-child {
            margin-bottom: 0;
        }

    .standard-page__content h1,
    .standard-page__content h2,
    .standard-page__content h3,
    .standard-page__content h4 {
        color: var(--sremac-text);
        font-family: "Source Serif 4", Georgia, serif;
        line-height: 1.16;
    }

    .standard-page__content h1 {
        margin: 0 0 26px;
        font-size: clamp(36px, 5vw, 58px);
    }

    .standard-page__content h2 {
        margin: 42px 0 14px;
        font-size: clamp(28px, 3vw, 38px);
    }

    .standard-page__content h3,
    .standard-page__content h4 {
        margin: 30px 0 12px;
        font-size: 24px;
    }

    .standard-page__content ul,
    .standard-page__content ol {
        margin: 0 0 18px;
        padding-left: 24px;
    }

    .standard-page__content li {
        margin-bottom: 7px;
    }

    .standard-page__content img {
        height: auto;
        border-radius: 3px;
    }

/* Footer */

.site-footer {
    position: relative;
    overflow: hidden;
    background: #f2e3f3;
    border-top: 1px solid var(--sremac-line);
}

.site-footer__visual {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 47px;
    z-index: 1;
    width: 34%;
    min-width: 390px;
    background-image: linear-gradient( 90deg, rgba(247, 237, 247, 0.14) 0%, rgba(247, 237, 247, 0.34) 55%, rgba(251, 248, 244, 0.96) 100% ), url("/images/slika_footer_levo.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;
    opacity: 0.26;
    filter: grayscale(100%) sepia(18%) saturate(105%) hue-rotate(256deg) brightness(1.12) contrast(0.72);
    pointer-events: none;
}

.site-footer__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr);
    gap: 48px;
    max-width: var(--sremac-container);
    margin: 0 auto;
    padding: 58px 28px 46px;
    padding-left: calc(34% + 42px);
    background: transparent;
}

.site-footer__column h2 {
    margin: 0 0 16px;
    color: var(--sremac-bordo);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 23px;
    font-weight: 600;
}

.site-footer__column p {
    margin: 0 0 12px;
    color: var(--sremac-muted);
    font-size: 14px;
    line-height: 1.65;
}

.site-footer__column a {
    display: block;
    width: fit-content;
    margin: 0 0 8px;
    color: #4e4842;
    font-size: 14px;
    text-decoration: none;
}

    .site-footer__column a:hover {
        color: var(--sremac-bordo);
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* Footer kontakt ikonice */

.site-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.site-footer__contact-item,
.site-footer__column a.site-footer__contact-item {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    color: #4e4842;
    font-size: 14px;
    line-height: 1.55;
    text-decoration: none;
}

    .site-footer__contact-item p {
        margin: 0;
        color: var(--sremac-muted);
        font-size: 14px;
        line-height: 1.65;
    }

    .site-footer__contact-item span {
        min-width: 0;
        overflow-wrap: anywhere;
    }

.site-footer__contact-icon {
    width: 17px;
    height: 17px;
    margin-top: 2px;
    color: var(--sremac-bordo);
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8px;
}

a.site-footer__contact-item:hover {
    color: var(--sremac-bordo);
    text-decoration: none;
}

    a.site-footer__contact-item:hover span {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.site-footer__bottom {
    position: relative;
    z-index: 3;
    background: var(--sremac-bordo-dark);
    color: rgba(255, 255, 255, 0.84);
}

.site-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: var(--sremac-container);
    min-height: 46px;
    margin: 0 auto;
    padding: 10px 28px;
    font-size: 12px;
}

.site-footer__bottom a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
}

    .site-footer__bottom a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

/* Responsive */

@media (max-width: 1100px) {
    .site-header__inner {
        gap: 22px;
        padding: 10px 16px;
    }

    .site-header__school-type {
        font-size: 18px;
    }

    .site-header__school-name {
        font-size: 24px;
    }

    .site-utility-bar__contact {
        gap: 11px;
        font-size: 11px;
    }

    .site-utility-bar__links {
        gap: 12px;
    }

    .site-footer__inner {
        gap: 30px;
    }
}

@media (min-width: 1101px) and (max-width: 1400px) {
    .site-header__inner {
        flex-wrap: wrap;
        row-gap: 8px;
    }
}

@media (max-width: 900px) {
    .site-utility-bar::before {
        display: none;
    }

    .site-utility-bar__contact a:nth-of-type(2) {
        display: none;
    }

    .site-footer__visual {
        display: none;
    }

    .site-footer__inner {
        grid-template-columns: repeat(2, 1fr);
        padding-left: 28px;
    }

    .site-header__inner {
        gap: 12px;
        min-height: 86px;
        padding: 10px 16px;
    }
}

@media (max-width: 700px) {
    .site-header {
        --utility-bar-height: 37px;
    }

    .site-utility-bar__inner {
        min-height: 36px;
        padding: 6px 16px;
    }

    .site-utility-bar__contact {
        min-width: 0;
    }

    .site-utility-bar__contact-item {
        min-width: 0;
    }

        .site-utility-bar__contact-item span {
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .site-utility-bar__contact a.site-utility-bar__contact-item {
        display: none;
    }

    .site-utility-bar__links a {
        display: none;
    }

        .site-utility-bar__links a:first-child {
            display: inline;
        }

    .site-header__inner {
        gap: 12px;
        min-height: 86px;
        padding: 10px 16px;
    }

    .site-header__brand {
        flex: 1 1 auto;
        gap: 10px;
        min-width: 0;
    }

    .site-header__logo,
    .site-header__logo-placeholder {
        width: 78px;
        height: 64px;
    }

    .site-header__school-type {
        font-size: 15px;
        white-space: normal;
    }

    .site-header__school-name {
        font-size: 19px;
        white-space: normal;
    }

    .site-main {
        padding: 0 16px 46px;
    }

    .standard-page__content {
        padding-top: 36px;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 42px 16px 34px;
    }

    .site-footer__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
        padding: 12px 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}


/* =========================================================
   GALERIJA: LISTA ALBUMA
   ========================================================= */

.gallery-list-page {
    padding: 64px 0 86px;
}

.gallery-list-page__header {
    margin-bottom: 34px;
}

.gallery-list-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--sremac-bordo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.gallery-list-page__header h1 {
    margin: 0;
    color: var(--sremac-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.gallery-albums-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.gallery-album-card {
    min-width: 0;
}

.gallery-album-card__link {
    position: relative;
    display: block;
    overflow: hidden;
    min-height: 245px;
    border-radius: 4px;
    background: #e4d8ce;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(55, 34, 28, 0.12);
}

.gallery-album-card__image {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.gallery-album-card__image--empty {
    background: linear-gradient(135deg, #8a6a8d 0%, #3f224f 100%);
}

.gallery-album-card__overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 16px;
    background: rgba(38, 22, 45, 0.72);
    transition: top 0.28s ease, min-height 0.28s ease, background-color 0.28s ease;
}

.gallery-album-card__title {
    display: block;
    color: #ffffff;
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.16;
    text-align: center;
}

.gallery-album-card__link:hover .gallery-album-card__image {
    transform: scale(1.06);
    filter: saturate(0.9) contrast(0.9);
}

.gallery-album-card__link:hover .gallery-album-card__overlay {
    top: 0;
    min-height: 100%;
    background: rgba(38, 22, 45, 0.78);
}

.gallery-list-page__empty {
    max-width: 680px;
    margin: 0;
    color: var(--sremac-muted);
    font-size: 16px;
    line-height: 1.7;
}

@media (max-width: 1350px) {
    .gallery-albums-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1050px) {
    .gallery-albums-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gallery-list-page {
        padding: 42px 0 58px;
    }

    .gallery-albums-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-album-card__link {
        min-height: 205px;
    }

    .gallery-album-card__overlay {
        min-height: 52px;
        padding: 12px;
    }

    .gallery-album-card__title {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .gallery-albums-grid {
        grid-template-columns: 1fr;
    }

    .gallery-album-card__link {
        min-height: 230px;
    }
}

/* =========================================================
   GALERIJA: ALBUM
   ========================================================= */

.gallery-album-page {
    padding: 64px 0 92px;
}

.gallery-album-page__header {
    max-width: 920px;
    margin-bottom: 38px;
}

.gallery-album-page__back {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--sremac-bordo);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .gallery-album-page__back:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.gallery-album-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--sremac-bordo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.gallery-album-page__header h1 {
    margin: 0;
    color: var(--sremac-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.gallery-album-page__count {
    margin: 18px 0 0;
    color: var(--sremac-muted);
    font-size: 15px;
}

.gallery-album-page__empty {
    max-width: 680px;
    margin: 0;
    color: var(--sremac-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Grid fotografija */

.gallery-photos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gallery-photo {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #e4d8ce;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(55, 34, 28, 0.10);
}

.gallery-photo__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease, filter 0.28s ease;
}

.gallery-photo:hover .gallery-photo__image {
    transform: scale(1.055);
    filter: contrast(0.94) saturate(0.92);
}

.gallery-photo::after {
    position: absolute;
    inset: 0;
    background: rgba(38, 22, 45, 0);
    content: "";
    transition: background-color 0.22s ease;
}

.gallery-photo:hover::after {
    background: rgba(38, 22, 45, 0.18);
}

/* Lightbox */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 42px 82px;
    background: rgba(20, 14, 14, 0.86);
}

    .gallery-lightbox.is-open {
        display: flex;
    }

body.gallery-lightbox-open {
    overflow: hidden;
}

.gallery-lightbox__figure {
    position: relative;
    z-index: 2;
    max-width: min(1180px, 88vw);
    max-height: 86vh;
    margin: 0;
}

.gallery-lightbox__image {
    display: block;
    max-width: 100%;
    max-height: calc(86vh - 54px);
    margin: 0 auto;
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox__caption {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.4;
}

    .gallery-lightbox__caption [data-gallery-counter] {
        flex: 0 0 auto;
        font-weight: 700;
    }

.gallery-lightbox__close {
    position: absolute;
    top: 22px;
    right: 28px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font-size: 34px;
    font-weight: 300;
    line-height: 1;
}

    .gallery-lightbox__close:hover {
        background: rgba(255, 255, 255, 0.18);
    }

.gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 72px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.10);
    color: #ffffff;
    cursor: pointer;
    font-size: 58px;
    font-weight: 200;
    line-height: 1;
    transform: translateY(-50%);
}

    .gallery-lightbox__nav:hover {
        background: rgba(255, 255, 255, 0.20);
    }

.gallery-lightbox__nav--prev {
    left: 24px;
}

.gallery-lightbox__nav--next {
    right: 24px;
}

@media (max-width: 1180px) {
    .gallery-photos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .gallery-album-page {
        padding: 42px 0 58px;
    }

    .gallery-album-page__header {
        margin-bottom: 28px;
    }

    .gallery-photos-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .gallery-lightbox {
        padding: 56px 18px 28px;
    }

    .gallery-lightbox__figure {
        max-width: 100%;
        max-height: 84vh;
    }

    .gallery-lightbox__image {
        max-height: calc(84vh - 70px);
    }

    .gallery-lightbox__caption {
        flex-direction: column;
        gap: 5px;
        font-size: 13px;
    }

    .gallery-lightbox__close {
        top: 12px;
        right: 14px;
        width: 38px;
        height: 38px;
        font-size: 30px;
    }

    .gallery-lightbox__nav {
        width: 42px;
        height: 58px;
        font-size: 46px;
    }

    .gallery-lightbox__nav--prev {
        left: 8px;
    }

    .gallery-lightbox__nav--next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .gallery-photos-grid {
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   VIDEO ALBUM
   ========================================================= */

.video-album-page {
    padding: 64px 0 92px;
}

.video-album-page__header {
    max-width: 920px;
    margin-bottom: 38px;
}

.video-album-page__back {
    display: inline-flex;
    margin-bottom: 24px;
    color: var(--sremac-bordo);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

    .video-album-page__back:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

.video-album-page__eyebrow {
    display: block;
    margin-bottom: 9px;
    color: var(--sremac-bordo);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
}

.video-album-page__header h1 {
    margin: 0;
    color: var(--sremac-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: clamp(42px, 5vw, 66px);
    font-weight: 500;
    letter-spacing: -0.05em;
    line-height: 1;
}

.video-album-page__count {
    margin: 18px 0 0;
    color: var(--sremac-muted);
    font-size: 15px;
}

.video-album-page__empty {
    max-width: 680px;
    margin: 0;
    color: var(--sremac-muted);
    font-size: 16px;
    line-height: 1.7;
}

/* Video grid */

.video-items-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px 22px;
}

.video-item-card {
    min-width: 0;
}

.video-item-card__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    background: #000000;
    box-shadow: 0 12px 26px rgba(55, 34, 28, 0.12);
}

.video-item-card__player,
.video-item-card__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    background: #000000;
}

.video-items-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.video-item-card {
    min-width: 0;
}

.video-item-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.video-item-card__iframe,
.video-item-card__player {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.video-item-card__title {
    margin: 14px 0 0;
    font-size: 1.1rem;
    line-height: 1.4;
}

@media (max-width: 991px) {
    .video-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .video-items-grid {
        grid-template-columns: 1fr;
    }
}

.video-item-card__embed-poster:hover .video-item-card__embed-image {
    transform: scale(1.06);
    filter: contrast(0.92) saturate(0.95);
}

.video-item-card__embed-poster:hover .video-item-card__embed-shade {
    background: rgba(20, 13, 12, 0.42);
}

.video-item-card__embed-poster:hover .video-item-card__embed-play {
    background: rgba(62, 16, 86, 0.96);
    transform: translate(-50%, -50%) scale(1.05);
}

.video-item-card__player {
    object-fit: contain;
}

.video-item-card__title {
    margin: 12px 0 0;
    color: var(--sremac-text);
    font-family: "Source Serif 4", Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.18;
}

@media (max-width: 1180px) {
    .video-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 18px;
    }
}

@media (max-width: 620px) {
    .video-album-page {
        padding: 42px 0 58px;
    }

    .video-album-page__header {
        margin-bottom: 28px;
    }

    .video-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .video-item-card__title {
        font-size: 20px;
    }
}

/* =========================================================
   STATIČNA CRVENA PODLOGA ISPOD DESNOG DELA UTILITY MENIJA
   ========================================================= */

.site-utility-bar__links {
    position: relative;
    z-index: 1;
    /*
       Sprečava da pseudo-element utiče na sadržaj ili klikove.
    */
    isolation: isolate;
}

    /*
   Statična crvena površina:
   - počinje malo levo od prvog linka;
   - pruža se do desne ivice ekrana;
   - nema animaciju;
   - nema nikakvu vezu sa pep-hero.js.
*/
.site-utility-bar {
    position: relative;
    overflow: hidden;
}

.site-utility-bar__links {
    position: relative;
    z-index: 1;
}

.site-utility-bar::before {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: calc(var(--hero-curtain-left) + 38px);
    z-index: 0;
    height: 60px;
    background-color: #59177a;
    clip-path: polygon( 24px 0, 100% 0, 100% 100%, 0 100% );
    transform: translateY(-50%);
    pointer-events: none;
}
