/*
Theme Name: KayleenNew child
Theme URI: https://landing.rivaxstudio.com/kayleen/
Author: RivaxStudio
Author URI: https://themeforest.net/user/rivaxstudio/
Description: Kayleen is Designed for lightweight WordPress Magazine, Blog and Newspapaer Websites.
Version: 1.0.0
Template:  kayleennew
License: Themeforest.net
License URI: http://themeforest.net/licenses
Text Domain: rivax-studio
Tags: blog, magazine, minimal, lightweight
*/


.rivax-logo-image img {
  width: 330px;
}

.home .post-item.swiper-slide .image-wrapper picture {
  width: 100%;
  object-fit: cover;
}

.page-id-11260 .post-item.swiper-slide .image-wrapper picture {
  width: 100%;
  object-fit: cover;
}


/* PWA Button */
/* =========================================
   PWA INSTALLATION STYLES
   ========================================= */

/* --- 1. The Trigger Button --- */
#pwa-trigger {
    display: none; /* Toggled via JS */
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    height: 45px;

    background-color: var(--accent-color);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);

    /* Typography & Layout */
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    align-items: center;
    gap: 8px;
    cursor: pointer;

    /* Smooth Touch Interaction */
    transition: transform 0.1s ease;
}

#pwa-trigger:active {
    transform: translateX(-50%) scale(0.95);
}

/* --- 2. The Modal Overlay --- */
#pwa-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000000;

    /* Background */
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);

    /* Centering */
    justify-content: center;
    align-items: center;
}

/* --- 3. The Modal Card --- */
.pwa-box {
    position: relative;
    background: #ffffff;
    width: 85%;
    max-width: 320px;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);

    text-align: center;
    font-family: Arial, sans-serif;
}

/* Close Button (X) */
.pwa-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;

    font-size: 24px;
    color: #888888;
    cursor: pointer;
    padding: 5px;
}

/* Modal Elements */
.pwa-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    margin-bottom: 15px;
    display: inline-block;
}

.pwa-h {
    font-size: 18px;
    font-weight: bold;
    color: #000000;
    margin: 0 0 10px 0;
}

.pwa-txt {
    font-size: 15px;
    line-height: 1.5;
    color: #444444;
    margin-bottom: 0;
}


/* Boxes on homepage, kenzo posts */
.newbox {
    .term-item {
        background-color: transparent !important;
        padding: 0 !important;
        color: #C8B89A !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        letter-spacing: 4px;
    }

    .post-item.swiper-slide .post-wrapper {
        position: relative;
        overflow: hidden;
    }

    .post-item.swiper-slide .post-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.85) 100%);
        z-index: 1;
        pointer-events: none;
    }

    .post-item.swiper-slide .content-wrapper {
        z-index: 2;
        position: absolute;
    }
}




/* Instruction Step Box */
.pwa-step {
    display: block;
    margin-top: 15px;
    padding: 12px;
    background-color: #f5f5f5;
    border-radius: 8px;

    font-size: 14px;
    font-weight: bold;
    color: #333333;
    text-align: left;
}


.cky-revisit-bottom-left {
  bottom: 15px !important;
  background-color: var(--accent-color) !important;
}

.footer-canvas-menu-bg {
    right: 15px;
    bottom: 15px;
}

.footer-canvas-menu-btn-container {
    right: 15px;
    bottom: 15px;
}


/* iFrame and yumpu styles */
.gallery-crop-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 115px;
}

.gallery-crop-iframe {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: calc(100% + 60px);
    border: none;
}