.about {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.about h1 {
    margin: 0 0 24px;
    font-size: clamp(2rem, 6vw, 2.8rem);
    color: var(--heading);
}

.about-card {
    padding: 24px 20px;
}

.about-card p {
    margin: 0 0 16px;
    line-height: 1.65;
}

.about-card p:last-child {
    margin-bottom: 0;
}


/* galerija: karusel kao na stranici Grčka */
.about-gallery {
    padding: 0;
    overflow: hidden;
}

.about-carousel {
    position: relative;
}

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

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

.about-track img {
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
    scroll-snap-align: center;
    background: var(--pl);
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}

.about-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
    background: var(--glass-strong);
    color: var(--tx);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
    -webkit-tap-highlight-color: transparent;
}

.about-nav:active {
    transform: translateY(-50%) scale(.95);
}

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

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

.about-nav::before {
    content: "";
    width: 32px;
    height: 32px;
    background: currentColor;
    -webkit-mask: var(--m) center / contain no-repeat;
    mask: var(--m) center / contain no-repeat;
}

@media (hover: hover) {
    .about-nav:hover {
        background: var(--p);
        color: #fff;
        filter: none;
    }
}

.about-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;
}

@media (prefers-reduced-motion: reduce) {
    .about-track {
        scroll-behavior: auto;
    }
}

/* mreže */
.about-social {
    text-align: center;
}

.about-social h2 {
    justify-content: center;
}

.about-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.about-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pd);
    color: #fff;
    transition: background .12s, transform .12s;
}

.about-link::before {
    content: "";
    width: 24px;
    height: 24px;
    background: currentColor;
    -webkit-mask: var(--m) center / contain no-repeat;
    mask: var(--m) center / contain no-repeat;
}

.about-social {
    margin-top: 2rem !important;
}

.about-link.instagram {
    --m: url('../img/icons/contact/instagram.svg');
}

.about-link.facebook {
    --m: url('../img/icons/contact/facebook.svg');
}

.about-link:hover {
    background: var(--p);
}

.about-link:active {
    transform: scale(.95);
}

.about-link:focus-visible {
    outline: 3px solid rgba(37, 148, 203, .55);
    outline-offset: 2px;
}

/* tema je u zaglavlju: guramo je udesno */
header #theme-toggle {
    margin-left: auto;
}