/* 
================================================================================

Theme Name:     Landrock Marketing
Theme URI:      http://www.landrock-marketing.de

Description:    

Author:         lakeSITE webdesign
Author URI:     http://www.lakesite-webdesign.de

Version:        1.0

Date created:	23/03/2026
Last modified:	23/03/2026

================================================================================
*/




/*============================================================================*/
/* ----- GENERAL ----- */
/*============================================================================*/

* {
    margin: 0;
    padding: 0;
}

html {
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* for fixed headers */
}

body {
    margin: 0px auto;
    overflow-x: clip;
}

    /* Text selection */
    ::selection {background: #000; color: #fff;}
    ::-moz-selection { background: #000; color: #fff;}

    /* Images */
    a img {border: none;transition: all ease 0.4s;}
    a img:hover {opacity: 0.75;}

    /* Headlines: Override block gap from theme.json */
    .wp-site-blocks h1, .editor-styles-wrapper .is-root-container h1,
    .wp-site-blocks h2, .editor-styles-wrapper .is-root-container h2 {
        margin-block-end: 2.5rem;
    }
    .wp-site-blocks h3, .editor-styles-wrapper .is-root-container h3, 
    .wp-site-blocks h4, .editor-styles-wrapper .is-root-container h4,
    .wp-site-blocks h5, .editor-styles-wrapper .is-root-container h5,
    .wp-site-blocks h6, .editor-styles-wrapper .is-root-container h6 {
        margin-block-end: 1.25rem;
    }

    /* Mobile only */
    .mobile-only { display: none; }


/*============================================================================*/
/* ----- TEMPLATE & THEME ----- */
/*============================================================================*/

/* ----- HEADER ----- */

header {
    position: sticky;
    top: 0;
    height: auto;
    width: 100%;
    z-index: 10;
}


/* ----- MAIN CONTENT ----- */

main {
    position: relative;

    animation-name: starting;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    animation-direction: alternate;
    animation-timing-function: ease-in-out;
    animation-fill-mode: forwards;
}


/* ----- FOOTER ----- */

footer {
    position: relative;
}


/* ----- BLOCK ADJUSTMENTS ----- */

/* General */
.alignfull.has-global-padding {
    padding-left: var(--wp--style--root--padding-left);
    padding-right: var(--wp--style--root--padding-right);
}

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content > :first-child {
    margin-block-start: 0;
}

.wp-block-media-text .wp-block-media-text__content > :last-child {
    margin-block-end: 0;
}

.wp-block-media-text .wp-block-media-text__content {
    padding: 0 10% 0 10%;
}

/* Optional:
.wp-block-media-text .wp-block-media-text__content {
    padding: 0 0 0 10%;
}

.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 0 10% 0 0;
}
*/

/* Navigation Block */
.wp-block-navigation.main-menu ul li a {
    text-decoration: none;
    transition: all ease 0.25s;
}

.wp-block-navigation.main-menu ul li a:hover {
    color: #FFF;
    text-decoration: none;
}

/* Cover Block */
.wp-block-cover {
    padding: 0;
}

    .wp-block-cover.alignfull .wp-block-cover__inner-container {
        padding-left: var(--wp--style--root--padding-left);
        padding-right: var(--wp--style--root--padding-right);
    }

/* Buttons Block */
.wp-block-button {
    transition: all ease 0.25s;
}

.wp-block-button:hover {
    transform: scale(1.025);
}


/* File Block */
.wp-block-file {
    display: flex;
    align-items: center;
    font-size: var(--wp--preset--font-size--m) !important;
}

.wp-block-file a:first-child:before {
    position: relative;
    float: left;
    content: "";
    width: 24px;
    height: 24px;
    display: block;
    margin-right: 6px;
    background-color: var(--wp--preset--color--black);

    mask: url(assets/img/icon-download.svg) no-repeat;
    -webkit-mask: url(assets/img/icon-download.svg) no-repeat;
    mask-size: 100% 100%;
    -webkit-mask-size: 100% 100%;
}


/* ----- BLOCK EDITOR ADJUSTMENTS ----- */

/* Seitentitel */
.editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper {
    margin: 0 !important;
    text-align: center !important;
    border-bottom: 1px solid #E0E0E0 !important;
}

    .editor-styles-wrapper .edit-post-visual-editor__post-title-wrapper h1 {
	    font-size: 1rem;
        line-height: 1.4;
        font-weight: 700;
        color: #252525;
	    font-style: none;
        text-transform: none;
        margin: 0 auto !important;
        padding: 10px 0 10px 0 !important;
        font-family: var(--wp--preset--font-family--system-font) !important;
    }


/* ----- FORMS ----- */

main form {
    margin: 0;
    padding: 0;    
}

    main fieldset {
        margin: 0;
        padding: 0;
        border: none;
    }
    
        main legend {display: none;}
        
        main label  {display: block;}
        
        main input,
        main select,
        main textarea {
            outline: none;
        }
        
        main select {}
        
        main textarea {}

        main input[type=radio],
        main input[type=checkbox] {
            width: auto;
        }  
        
        main input[type="radio"],
        main input[type="checkbox"] {
            position: relative;
            width: auto;
            height: auto;
            outline: none;
            appearance: none;
            margin-right: 6px;
            padding: 8px; /* instead of width and height */
            border: 1px solid red;
            -webkit-appearance: none; /* for Safari */
        }

        main input[type="radio"] {
            border-radius: 100%;
        }

        main input[type="radio"]:checked,
        main input[type="checkbox"]:checked {
            background: red no-repeat;
        }

        main input[type="checkbox"]:checked::after {
            position: absolute;
            top: -3px;
            left: 3px;
            content: "X";
            font-size: 18px;
            color: white;
        }
        
        main input:focus,
        main select:focus,
        main textarea:focus {
            
        }

        main input::placeholder,
        main select::placeholder,
        main textarea::placeholder {
            
        }
        
        /* Buttons */
        main input[type=submit],
        main button[type=submit] {
            width: auto;
        }
        
        main input[type=submit]:hover,
        main button[type=submit]:hover {
            
        }
        
        main input[type=submit]:active,
        main button[type=submit]:active {
            outline: none;
        }


/*============================================================================*/
/* ----- BREAKPOINT @ 1024 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 1024px) { 

    /* Mobile only */
    .mobile-only {display: block;}

    /* Desktop only */
    .desktop-only {display: none !important;}
    
    
} /* <--- END OF BREAKPOINT */


/*============================================================================*/
/* ----- BREAKPOINT @ 600 Pixel ----- */
/*============================================================================*/

@media only screen and (max-width: 600px) { 

/* Media/Text Block */
.wp-block-media-text .wp-block-media-text__content,
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    padding: 1.25rem 0 0 0;
} 

.wp-block-media-text.alignfull .wp-block-media-text__content,
.wp-block-media-text.has-background .wp-block-media-text__content {
    padding: 0 5% 0 5%;
}
    
} /* <--- END OF BREAKPOINT */