/*
Theme Name:   Boeden2026
Theme URI:    https://guenstigboeden.de
Author:       günstigboeden.de
Author URI:   https://guenstigboeden.de
Description:  Ein professionelles, sicheres und vielseitiges HTML5 Blank Theme für Bodenbeläge
Version:      1.0.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.2
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  boeden2026
Tags:         custom-menu, custom-logo, editor-style, featured-images, theme-options, translation-ready, block-styles, wide-blocks
*/

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* ==========================================================================
   WordPress Core Styles
   ========================================================================== */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.site {
    max-width: 100%;
    margin: 0 auto;
}

.site-content {
    padding: 40px 0;
}

.content-area {
    width: 100%;
}

.site-main {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 20px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }
h5 { font-size: 1.25em; }
h6 { font-size: 1em; }

p {
    margin-bottom: 1.5em;
}

a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover,
a:focus,
a:active {
    color: #005177;
}

/* ==========================================================================
   Content Formatting
   ========================================================================== */

.entry-content,
.page-content {
    margin: 20px 0;
}

.entry-content > *:last-child,
.page-content > *:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.site-header .site-branding {
    margin-bottom: 20px;
}

.main-navigation {
    display: block;
    width: 100%;
}

.main-navigation ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding-left: 0;
}

.main-navigation ul li {
    margin-right: 20px;
    position: relative;
}

.main-navigation a {
    display: block;
    padding: 10px 0;
    color: #333;
}

.main-navigation a:hover {
    color: #0073aa;
}

/* Sub-menus */
.main-navigation ul ul {
    background: #fff;
    border: 1px solid #eee;
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    z-index: 99999;
}

.main-navigation ul ul li {
    margin: 0;
}

.main-navigation ul ul a {
    padding: 10px 20px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    display: flex;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination {
    margin: 40px 0;
    text-align: center;
}

.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 10px 15px;
    background: #f5f5f5;
    border-radius: 3px;
}

.pagination a:hover {
    background: #0073aa;
    color: #fff;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #f5f5f5;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.site-footer .site-info {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget-area {
    margin-top: 40px;
}

.widget {
    margin-bottom: 40px;
}

.widget select {
    max-width: 100%;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget ul li {
    padding: 5px 0;
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comments-area {
    margin-top: 60px;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-body {
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 5px;
}

.comment-meta {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

.comment-respond {
    margin-top: 40px;
}

/* ==========================================================================
   Gutenberg Block Editor Styles
   ========================================================================== */

.wp-block-image {
    margin-bottom: 1.5em;
}

.wp-block-quote {
    border-left: 4px solid #0073aa;
    margin: 0 0 1.5em;
    padding-left: 1em;
}

.wp-block-button__link {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    border-radius: 3px;
}

.wp-block-button__link:hover {
    background-color: #005177;
    color: #fff;
}

.alignwide {
    max-width: 1200px;
}

.alignfull {
    max-width: 100%;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
        background: #0073aa;
        color: #fff;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
        border-radius: 3px;
    }

    .main-navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    .main-navigation.toggled ul {
        display: flex;
    }

    .main-navigation ul li {
        margin: 0;
        width: 100%;
    }

    .main-navigation ul ul {
        position: static;
        width: 100%;
        border: none;
        padding-left: 20px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.hidden {
    display: none;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
