/*
Theme Name: Apple Minimal
Theme URI: https://example.com
Author: ChatGPT
Description: Minimal Apple-style WordPress theme for plugin-driven websites.
Version: 1.0
*/

:root {
    --bg: #ffffff;
    --text: #111111;
    --muted: #666666;
    --border: #e5e5e5;
    --max-width: 1200px;
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.site-wrapper {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px;
}

main {
    width: 100%;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

picture {
    width: 100%;
    display: block;
}

p,
div,
span,
li {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    text-align: center;
}

p {
    margin-bottom: 18px;
    text-align: center;
}

.wp-block-image,
.wp-block-group,
.wp-block-columns {
    margin-bottom: 30px;
}

.wp-block-columns {
    align-items: center;
}

.container-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

button,
.wp-element-button,
input[type="submit"] {
    background: #111;
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 14px 28px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.25s ease;
}

button:hover,
.wp-element-button:hover,
input[type="submit"]:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    font-size: 16px;
}

.site-title,
.site-header,
.site-footer,
footer {
    display: none !important;
}

.plugin-content,
.elementor,
.wp-site-blocks,
.entry-content {
    width: 100%;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 32px;
    }

    h2 {
        font-size: 28px;
    }

    p {
        font-size: 16px;
    }

    .site-wrapper {
        padding: 16px;
    }

    .wp-block-columns {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    p {
        font-size: 15px;
    }

    .site-wrapper {
        padding: 14px;
    }

    button,
    .wp-element-button {
        width: 100%;
    }
}
