/*
Theme Name:   Astra Child
Theme URI:    https://wptyro.com
Description:  Astra Child — Base64 & URL encoder/decoder tools, wider layout
Author:       wptyro
Template:     astra
Version:      1.0.2
*/

/* --------------------------------------------------------------------------
   Global: Slightly wider content for the whole site
   -------------------------------------------------------------------------- */
.ast-container {
    max-width: 1200px;
}
@media (min-width: 1220px) {
    .ast-container {
        padding-left: 32px;
        padding-right: 32px;
    }
}

/* --------------------------------------------------------------------------
   Tool pages: Force full-width layout so our tool CSS can control width
   Astra wraps content in #page > .site-content > .ast-container > #primary > main
   We remove all max-width and side padding so the tool fills the viewport.
   -------------------------------------------------------------------------- */
body.wptyro-tool-page #page,
body.wptyro-tool-page .site-content,
body.wptyro-tool-page #content,
body.wptyro-tool-page #primary,
body.wptyro-tool-page #main,
body.wptyro-tool-page main.content-area,
body.wptyro-tool-page .ast-container,
body.wptyro-tool-page .entry-content,
body.wptyro-tool-page article,
body.wptyro-tool-page .site-main {
    max-width: none !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.wptyro-tool-page .entry-header,
body.wptyro-tool-page .ast-post-format- single-post,
body.wptyro-tool-page .comments-area {
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hide Astra's default title on tool pages (we have our own hero) */
body.wptyro-tool-page .entry-header {
    display: none !important;
}
