.gr {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1rem 4rem;
    color: var(--tx);
    line-height: 1.6;
}

.gr-intro {
    margin-bottom: 3rem;
    padding: 1.5rem 1.5rem 1rem;
}

.gr-intro h1 {
    font-size: clamp(2.2rem, 6vw, 3.4rem);
    margin: 0 0 .5rem;
    color: var(--heading);
}

.gr-lead {
    font-size: 1.2rem;
    color: var(--p);
    margin: 0 0 1rem;
}

.gr-intro p {
    margin: 0 0 1rem;
}

.gr-intro-flag {
    height: clamp(20px, 4vw, 40px);
    border-radius: 4px;
    overflow: hidden;
}

.gr-stays h2 {
    font-size: 1.6rem;
    margin: 0 0 1.25rem;
}

.gr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 720px) {
    .gr-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.gr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    color: var(--tx);
    background: var(--card);
    border: 1px solid var(--bd);
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .2s, border-color .2s;
}

.gr-card:hover,
.gr-card:focus-within {
    transform: translateY(-3px);
    border-color: var(--p);
}

.gr-card>img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    background: var(--pl);
}

.gr-card-body {
    padding: 1rem 1.15rem 1.2rem;
}

.gr-card-body h3 {
    margin: 0 0 .25rem;
    font-size: 1.2rem;
}

.gr-card-body .gr-loc {
    margin-bottom: .6rem;
}

.gr-card-body p {
    margin: 0;
}

.gr-short {
    opacity: .75;
    font-size: .95rem;
}

.gr-open {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.gr-open:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 3px;
    border-radius: 4px;
}

.gr-loc::before,
.gr-close::before,
.gr-nav::before,
.gr-btn.web::before,
.gr-btn.phone::before,
.gr-btn.whatsapp::before,
.gr-btn.viber::before,
.gr-btn.email::before {
    content: "";
    flex: none;
    width: 20px;
    height: 20px;
    background: currentColor;
    -webkit-mask-image: var(--m);
    mask-image: var(--m);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
}

.gr-close::before {
    width: 24px;
    height: 24px;
}

.gr-nav::before {
    width: 32px;
    height: 32px;
}

.gr-loc::before {
    width: 16px;
    height: 16px;
}

.gr-loc {
    --m: url('../img/icons/ui/location-pin.svg');
}

.gr-close {
    --m: url('../img/icons/ui/close.svg');
}

.gr-nav.prev {
    --m: url('../img/icons/ui/arrow-left.svg');
}

.gr-nav.next {
    --m: url('../img/icons/ui/arrow-right.svg');
}

.gr-btn.web {
    --m: url('../img/icons/contact/web.svg');
}

.gr-btn.phone {
    --m: url('../img/icons/contact/phone.svg');
}

.gr-btn.whatsapp {
    --m: url('../img/icons/contact/whatsapp.svg');
}

.gr-btn.viber {
    --m: url('../img/icons/contact/viber.svg');
}

.gr-btn.email {
    --m: url('../img/icons/contact/email.svg');
}

.gr-loc {
    display: flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    color: var(--p);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
}

.gr-loc:hover span {
    text-decoration: underline;
}

.gr-loc:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
    border-radius: 4px;
}

.gr-owner {
    margin: 4px 0 8px;
    font-size: .9rem;
    opacity: .85;
    display: flex;
    align-items: center;
    gap: 6px;
}

.gr-owner .ico {
    width: 16px;
    height: 16px;
    background: currentColor;
    -webkit-mask: var(--icon) center / contain no-repeat;
    mask: var(--icon) center / contain no-repeat;
}

.gr-badge {
    position: absolute;
    top: .7rem;
    left: .7rem;
    z-index: 2;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border-radius: 10px;
    font-size: .8rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.gr-badge b {
    padding: .3rem .5rem;
    background: var(--pd);
    color: #fff;
    font-size: .95rem;
}

.gr-badge span {
    padding: .3rem .6rem;
    display: flex;
    align-items: center;
    background: var(--glass-strong);
    color: var(--tx);
    font-weight: 600;
}

.gr-badge:hover b {
    background: var(--p);
}

.gr-badge:hover span {
    text-decoration: underline;
}

.gr-badge:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
}

.gr-dialog {
    width: min(760px, calc(100% - 2rem));
    max-width: none;
    max-height: calc(100% - 2rem);
    padding: 0;
    overflow-y: auto;
    background: var(--card);
    color: var(--tx);
    border: 1px solid var(--bd);
    border-radius: 20px;
    box-shadow: var(--shadow);
    cursor: auto;
}

.gr-dialog::backdrop {
    background: rgba(10, 26, 36, .65);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

body:has(dialog[open]) {
    overflow: hidden;
}

.gr-close,
.gr-nav {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--glass-strong);
    color: var(--tx);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

@media (hover: hover) {

    .gr-close:hover,
    .gr-nav:hover {
        background: var(--p);
        color: #fff;
    }
}

.gr-close:focus-visible,
.gr-nav:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
}

.gr-close {
    position: absolute;
    top: .7rem;
    right: .7rem;
    z-index: 3;
    width: 40px;
    height: 40px;
}

.gr-carousel {
    position: relative;
}

.gr-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gr-track::-webkit-scrollbar {
    display: none;
}

.gr-track img {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    scroll-snap-align: center;
    background: var(--pl);
}

.gr-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
}

.gr-nav.prev {
    left: .7rem;
}

.gr-nav.next {
    right: .7rem;
}

.gr-count {
    position: absolute;
    right: .7rem;
    bottom: .7rem;
    padding: .15rem .6rem;
    border-radius: 999px;
    background: var(--glass-strong);
    color: var(--tx);
    font-size: .8rem;
    font-weight: 600;
}

.gr-info {
    padding: 1.25rem 1.4rem 1.6rem;
}

.gr-info h3 {
    margin: 0 0 .2rem;
    font-size: 1.5rem;
    color: var(--heading);
}

.gr-info .gr-loc {
    margin-bottom: 1rem;
}

.gr-info p {
    margin: 0 0 1rem;
}

.gr-info ul {
    margin: .6rem 0 0;
    padding-left: 1.2rem;
}

.gr-info li {
    margin-bottom: .2rem;
}

.gr-more {
    margin: 0 0 1rem;
}

.gr-more summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--p);
    width: fit-content;
}

.gr-more summary:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
    border-radius: 4px;
}

.gr-contact {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--bd);
}

.gr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 42px;
    padding: 0 1.1rem;
    border-radius: 999px;
    background: var(--p);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--p);
}

.gr-btn.alt {
    background: transparent;
    color: var(--p);
}

.gr-btn:hover {
    background: var(--pd);
    border-color: var(--pd);
    color: #fff;
}

.gr-btn:focus-visible {
    outline: 2px solid var(--p);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .gr-card {
        transition: none;
    }

    .gr-track {
        scroll-behavior: auto;
    }
}

/* Telefon/tablet: bez plavičastog pravougaonika koji browser iscrta na tap
   (tastaturni fokus ostaje vidljiv zbog :focus-visible pravila iznad) */
.gr-card,
.gr-dialog,
.gr-track,
.gr-nav,
.gr-close,
.gr-open {
    -webkit-tap-highlight-color: transparent;
}

.gr-track img {
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}