/*
Theme Name: Brooklyn Child
Theme URI: http://www.unitedthemes.com
Description: Creative Portfolio
Version: 1.0.0
Author: United Themes
Author URI: http://www.unitedthemes.com
Template: brooklyn
*/



/* Navigazione tra post con frecce SVG laterali fisse e tooltip */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    z-index: 9999;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-indent: -9999px;
    overflow: hidden;
	color: rgba(15, 46, 78, 1)!important;
}

.nav-arrow.prev {
    left: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230F2E4EFF' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

.nav-arrow.next {
    right: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230F2E4E' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px;
}

.nav-arrow:hover {
    background-color: rgba(238, 41, 106, 1);
}

.nav-arrow:hover.prev {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230F2E4E' viewBox='0 0 24 24'%3E%3Cpath d='M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z'/%3E%3C/svg%3E");
}

.nav-arrow:hover.next {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230F2E4E' viewBox='0 0 24 24'%3E%3Cpath d='M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z'/%3E%3C/svg%3E");
}

.nav-arrow::after {
    content: attr(title);
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleX(0);
    white-space: nowrap;
    background: #0073aa;
    color: #fff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.nav-arrow.prev::after {
    left: 60px;
    transform-origin: left;
}

.nav-arrow.next::after {
    right: 60px;
    transform-origin: right;
}

.nav-arrow:hover::after {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
}

@media screen and (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 40px;
    }
    .nav-arrow.prev {
        left: 10px;
    }
    .nav-arrow.next {
        right: 10px;
    }
    .nav-arrow::after {
        font-size: 12px;
    }
}
