#masthead .site-header-wrapper {
    margin-bottom: 0px;
	padding-bottom: 0px;
}
/* Default margin-top for screens wider than 768px on the homepage */
@media (min-width: 600px) {body.home #primary {
    margin-top: 110px !important;
}
	}

/* Media query for smaller screens on the homepage */
@media (max-width: 600px) {
    body.home #primary {
        margin-top: 0px !important;
    }
	 .home-title {
        display: none;
    }
}

/* Adjusting padding of the header for all devices */
.site-header {
    padding-top: 15px !important; /* Adjust the top padding value as needed */
    padding-bottom: 15px !important; /* Adjust the bottom padding value as needed */
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Adjusting bottom padding of the header for mobile devices */
@media (max-width: 768px) { /* You can adjust the max-width value based on your requirements */
    .site-header {
        padding-bottom: 0px !important;
    }
}

.site-main {
	padding-top: 0px; !important;
}

.szellem {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.entry-title {
    padding-top: 0px;
}

 .code-container {
        white-space: nowrap;
        overflow-x: auto;
    }
    .code-container figure {
        display: inline-block;
        max-width: 185px;
        vertical-align: top;
        margin-right: 30px; /* Adjust this value to set the desired spacing */
    }
    .code-container figcaption {
        text-align: justify;
        max-width: 185px;
        overflow: hidden;
        white-space: normal;
    }
    .code-container img {
        max-width: 185px;
        vertical-align: top;
    }

.single-post .featured-image {
    width: 100%;
    height: auto;
}

/* Emma teljes rétege mindig a sütikezelő felett legyen */
#emma-chat-root,
#emma-chat-wrapper,
.emma-chat-root,
.emma-chat-wrapper {
    position: relative !important;
    z-index: 2147483647 !important;
    isolation: isolate !important;
}

/* Chat indítógomb */
#emma-chat-button {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;
    right: 22px !important;
    bottom: 105px !important;

    z-index: 2147483647 !important;
    pointer-events: auto !important;

    transform: translateZ(0) !important;
}

/* Chatablak */
#emma-chat-panel {
    display: block;
    position: fixed !important;

    right: 22px !important;
    bottom: 105px !important;

    z-index: 2147483647 !important;
    pointer-events: auto !important;

    transform: translateZ(0) !important;
    isolation: isolate !important;
}
/* A ChatKit iframe-je is kerüljön előre */
#emma-chat-panel iframe,
#emma-chat-root iframe,

#emma-chat-wrapper iframe {
    position: relative !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

/* Mobilnézet */
@media (max-width: 600px) {
    #emma-chat-button {
        right: 14px !important;
        bottom: 105px !important;
    }

    #emma-chat-panel {
        right: 8px !important;
        left: 8px !important;
        bottom: 100px !important;

        width: auto !important;
        max-height: calc(100dvh - 120px) !important;
    }
}

/* Emma chatablak szélessége asztali gépen */
@media (min-width: 601px) {
    #emma-chat-panel {
        width: 560px !important;
        height: 680px !important;
        max-width: calc(100vw - 44px) !important;
        max-height: calc(100vh - 130px) !important;
    }
}