/*
Theme Name: Sonya (Child Theme)
Theme URI: http://wp.themedemo.co/sonya
Author: Fox-Themes
Author URI: https://themeforest.net/user/fox-themes
Version: 1.0.1
Description: A stunning visual experience for minimal loving creative. This template is a responsive and retina-ready WordPress theme with grid system layout. It is optimized for mobile touch and swipe.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sonya-child
Template: sonya
*/

/* = Add your own modification from here
-------------------------------------------------------------- */

/* ──────────────────────────────────────
   Albums Page — Subtitle & Description
   ────────────────────────────────────── */

.albums-page-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 60px 0 0 0;

}

.albums-page-description {
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    max-width: 620px;
    margin-top: 14px;
    opacity: 0.7;
}

.albums-page-description p:last-child {
    margin-bottom: 0;
}
/* ──────────────────────────────────────
   Album Header — Title + Description
   ────────────────────────────────────── */

.album-header {
    margin-top: 175px;
    padding: 20px 15px 30px;
    text-align: left;
    width: 100%;
}

.album-header .album-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    font-weight: 300;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 35px 24px 0;
}

.album-header .album-description {
    max-width: 680px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    opacity: 0.7;
}

.album-header .album-description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .album-header {
        padding: 30px 15px 20px;
    }

    .album-header .album-title {
        font-size: 1.6rem;
    }

    .album-header .album-description {
        font-size: 0.9rem;
    }
}

.pagination .next-post a, .pagination .previus-post a, .pagination .nav-previous a, .pagination .nav-next a, .navigation .next-post a, .navigation .previus-post a, .navigation .nav-previous a, .navigation .nav-next a {
    padding: 0 40px;
    font-size: 16px;
}

@media (max-width:768px) {
.pagination .next-post a, .pagination .previus-post a, .pagination .nav-previous a, .pagination .nav-next a, .navigation .next-post a, .navigation .previus-post a, .navigation .nav-previous a, .navigation .nav-next a {
    padding: 0 18px;
    font-size: 12px;
}

}

/* ──────────────────────────────────────
   Album Hover — Dark gradient overlay
   for legible text on B&W images
   ────────────────────────────────────── */

.albums-container.masonry .albums-image {
    position: relative;
    overflow: hidden;
}

.albums-container.masonry .albums-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.15) 40%,
        rgba(0, 0, 0, 0.65) 100%
    ) !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
    z-index: 1;
    pointer-events: none;
}

.albums-container.masonry .albums:hover .albums-image .overlay {
    opacity: 1;
    visibility: visible;
}

.albums-container.masonry .title-albums {
    z-index: 2;
}

/* ──────────────────────────────────────
   Albums Page — Mobile adjustments
   ────────────────────────────────────── */

@media (max-width: 480px) {
    .custom-text {
        font-size: 30px;
        margin: 150px 0 35px !important;
        padding: 50px 0px 0;
    }

    .albums-page-subtitle {
        margin: 0 !important;
    }
}

/* ──────────────────────────────────────
   Fix Elementor popup form input clicks
   ────────────────────────────────────── */

.elementor-popup-modal .ff-el-input--content input,
.elementor-popup-modal .ff-el-input--content textarea,
.elementor-popup-modal .ff-el-input--content select {
    position: relative;
    z-index: 9999;
}

/* ──────────────────────────────────────
   Fix Elementor popup form input clicks
   ────────────────────────────────────── */

.elementor-popup-modal .dialog-widget-content {
    pointer-events: auto !important;
}

.elementor-popup-modal .dialog-close-button {
    pointer-events: auto !important;
}

.elementor-popup-modal .dialog-message {
    pointer-events: auto !important;
}

.elementor-popup-modal form,
.elementor-popup-modal form * {
    pointer-events: auto !important;
}

