/*
*********************************************************************************************
* File: iframe-formatting.css
* Description: Styles the Blog Insights page of Madhurima Mindscape.
* Design: Minimal, warm, elegant and responsive.
* Date: 27 November, 2026
*********************************************************************************************
*/

/* Jekyll Theme Preview */
.jekyll-theme-preview {
    margin: 0 auto;
    text-align: center;
}

/* Theme Preview Iframe */
.jekyll-theme-preview iframe {
    width: 80%;
    height: 450px;
    border: 0;
}

/* Theme Links */
.theme-links {
    text-align: center;
}

/* Tablet Responsiveness */
@media screen and (max-width: 768px) {
    .jekyll-theme-preview iframe {
        width: 90%;
        height: 400px;
    }
}

/* Mobile Responsiveness */
@media screen and (max-width: 480px) {
    .jekyll-theme-preview iframe {
        width: 100%;
        height: 350px;
    }

    .merlot {
        height: 380px;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .merlot iframe {
        display: block;
        width: 900px;
        height: 905px;
        max-width: none;
        position: relative;
        left: 50%;
        transform: scale(0.42) translateX(-50%);
        transform-origin: top left;
    }

}