.elementor-988165 .elementor-element.elementor-element-5b65a96{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-636671a *//* ======================================
   MAGAZINE VIEW PAGE - FINAL CSS
====================================== */


/* ===============================
   PAGE WRAPPER
================================= */
.mag-view-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}


/* ===============================
   HEADER (TITLE + BACK BUTTON)
================================= */
.mag-view-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.mag-title {
    font-size: 20px;
    font-weight: 600;
    color: #111;
}


/* ===============================
   BACK BUTTON
================================= */
.back-btn {
    text-decoration: none;
    border: 1px solid #000;
    padding: 6px 12px;
    font-size: 14px;
    color: #000;
    transition: 0.3s;
}

.back-btn:hover {
    background: #000;
    color: #fff;
}


/* ===============================
   PDF VIEW FRAME
================================= */
.mag-view-frame {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 110vh;
}


/* ===============================
   IFRAME (PDF VIEWER)
================================= */
.mag-view-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* ===============================
   OVERLAY BLOCK (HIDE DRIVE UI)
================================= */
.overlay-block {
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    background: #ffffff;
    z-index: 10;
}


/* ===============================
   RESPONSIVE FIXES
================================= */

/* Tablet */
@media (max-width: 1024px) {
    .mag-view-frame {
        height: 95vh;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .mag-view-wrapper {
        padding: 0 10px;
    }

    .mag-view-frame {
        height: 85vh;
    }

    .mag-title {
        font-size: 16px;
    }

    .back-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}/* End custom CSS */