#header .logo img {
    height: 120px;
    max-height: 120px;
    width: 300px;
}

.rr-img-title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    color: white;
    background-color: black;
    padding-left: 1em;
    font-family: 'Oswald';
    font-size: 1em;
    text-decoration: none;
}

.toggle-password {
    z-index: 9999;
    position: absolute;
    top: 35%;
    right: 10px;
}

.toggle-password>i {
    display: none;
}

#remember_me {
    width: 50px;
}

.gallery-private {
    padding: 25px 0 60px 0;
}

.gallery-private__intro {
    margin-bottom: 30px;
    text-align: center;
}

.gallery-private__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.gallery-private-card {
    background: #111;
    color: #fff;
    display: flex;
    flex-direction: column;
    min-height: 320px;
    overflow: hidden;
    border-radius: 10px;
}

.gallery-private-card__media {
    background-size: cover;
    background-position: center;
    flex: 1;
}

.gallery-private-card__body {
    padding: 20px;
    background-color: #a54779;
}

.gallery-private-card__meta {
    font-size: 0.9rem;
    opacity: 0.85;
    color: #fff
}

.gallery-private__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
}

.gallery-private-detail {
    padding: 40px 0 80px;
}

.gallery-private-detail.container {
    width: 100%;
    padding: 20px;
}

@media (min-width: 1200px) {
    .gallery-private-detail.container {
        max-width: 1400px;
    }
}

.gallery-private-detail__info {
    max-width: 720px;
}

.gallery-private__loading {
    text-align: center;
    padding: 40px 0;
    font-style: italic;
}

.gallery-private-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.gallery-private-toolbar__actions {
    display: flex;
    gap: 10px;
}

.gallery-private-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-private-grid>.gallery-photo-card {
    flex: 0 0 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    min-width: 280px;
}

@media (max-width: 1024px) {
    .gallery-private-grid>.gallery-photo-card {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
    }
}

@media (max-width: 640px) {
    .gallery-private-grid>.gallery-photo-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

.gallery-photo-card {
    position: relative;
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    min-height: 320px;
    aspect-ratio: 4 / 3;
}

.gallery-photo-card--landscape {
    aspect-ratio: 4 / 3;
}

.gallery-photo-card--portrait {
    aspect-ratio: 4 / 3;
}

.gallery-photo-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-photo-card--portrait .gallery-photo-card__image {
    object-fit: contain;
    background: #000;
}

.gallery-photo-card--square {
    aspect-ratio: 1 / 1;
}

.gallery-photo-card--panorama {
    aspect-ratio: 16 / 9;
}

.gallery-photo-card__media {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-photo-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-photo-card__overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 16px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 55%, rgba(0, 0, 0, 0.95) 100%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gallery-photo-card__overlay-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-left: auto;
}

.gallery-photo-card__lightbox-link {
    display: none;
}

.gallery-photo-card__slideshow-button {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-photo-card__slideshow-button i {
    font-size: 0.9rem;
}

.gallery-photo-card__slideshow-button .sr-only {
    position: absolute;
}

.rating-form__stars {
    display: flex;
    gap: 8px;
    margin: 0;
}

.rating-form {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.rating-star {
    background: transparent;
    border: none;
    font-size: 3.4rem;
    color: #bbb;
    padding: 0;
    line-height: 1;
    transition: color 0.2s ease;
}

.rating-star.is-active {
    color: #c0392b;
}

.rating-form .rating-remove-button--inline {
    background: transparent;
    border: none;
    color: #c0392b;
    font-size: 1.4rem;
    padding-left: 6px;
}

.rating-star:focus {
    outline: 2px solid #e8c21b;
    outline-offset: 2px;
}

.gallery-photo-card__overlay .rating-star {
    color: rgba(255, 255, 255, 0.65);
}

.gallery-photo-card__overlay .rating-star.is-active {
    color: #ff4d67;
}

.gallery-photo-card__overlay .btn {
    border-color: rgba(255, 255, 255, 0.9);
    color: #fff;
}

.gallery-photo-card__overlay .btn:hover {
    background: #fff;
    color: #000;
}

.pswp__button--rating-button {
    align-items: center;
    border-radius: 10px;
    color: #fff;
    font-size: 0.95rem;
}

.pswp__button--rating-button::before {
    display: none !important;
}

.pswp__button--rating-button:hover {
    background: rgba(0, 0, 0, 0.85);
}

.pswp__button--rating-button .pswp-rating-icon {
    font-size: 3.5rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.pswp__button--rating-button:hover .pswp-rating-icon {
    transform: scale(1.2);
}

.pswp__button--rating-button.is-active {
    color: #ff4d67;
}

.pswp__button--rating-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.comment-trigger {
    margin-top: 5px;
}

.rating-remove-button {
    background: transparent;
    border: none;
    color: #c0392b;
    font-size: 1.4rem;
    line-height: 1;
    padding: 4px;
    position: relative;
}

.rating-remove-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -10%;
    width: 120%;
    height: 2px;
    background: currentColor;
    transform: rotate(-40deg);
}

.rating-remove-button:hover {
    color: #e74c3c;
}

.gallery-private-empty {
    text-align: center;
    padding: 40px 0;
}

.gallery-comment-dialog {
    border: none;
    border-radius: 6px;
    padding: 0;
    width: min(520px, 90vw);
    max-width: 520px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.gallery-comment-dialog::backdrop {
    background: rgba(0, 0, 0, 0.55);
}

.gallery-comment-dialog [data-comment-dialog-body] {
    padding: 20px;
}

.comment-form textarea {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1rem;
    resize: vertical;
}

.comment-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.comment-form__error {
    color: #c0392b;
    margin-bottom: 10px;
}

.comment-form__feedback {
    font-weight: bold;
}

.comment-form__content {
    margin: 10px 0 20px;
}

.comment-inline {
    display: none;
}

.comment-inline.is-visible {
    display: block;
    margin-top: 15px;
    border: 1px solid #efefef;
    padding: 15px;
    background: #fafafa;
}

@media (min-width: 768px) {
    .comment-inline {
        display: none !important;
    }
}

.btn-outline {
    border: 1px solid #111;
    background: transparent;
    color: #111;
    padding: 8px 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    border: 1px solid #111;
    background: #111;
    color: #fff;
    padding: 8px 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: #333;
    color: #fff;
}

.btn-outline:hover {
    background: #111;
    color: #fff;
}

.btn-link {
    background: none;
    border: none;
    color: #111;
    padding: 0;
}

.gallery-photo-card__filename {
    align-self: center;
    font-size: 0.85rem;
    opacity: 0.9;
    font-size: small;
}