/*
Theme Name: Slick Operator
Author: Me
Version: X
*/

/* BASE */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0 16px; /* mobile safe spacing */
    background-color: #ffffff;
    font-family: "Courier New", serif;
    color: #333333;
    line-height: 1.6;
}

/* LAYOUT WRAPPER */
body > * {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* TEXT */
h1, h2, h3, h4, h5, h6 {
    font-family: "Oswald", sans-serif;
    color: #1E4E8C;
    line-height: 1.2;
    letter-spacing: 0.08em;
    margin: 0 0 0.6em;
}

h1 { font-size: clamp(1.5rem, 4vw, 1.8rem); }
h2 { font-size: clamp(1.3rem, 3.5vw, 1.45rem); }
h3 { font-size: clamp(1.1rem, 3vw, 1.15rem); }
h4 { font-size: 0.95rem; }
h5 { font-size: 0.75rem; }
h6 { font-size: 0.6rem; }

p {
    font-size: 0.9rem;
    margin: 0 0 1em;
}

/* MEDIA */
img {
    max-width: 100%;
    height: auto;
}

.wp-block-image img {
    border: 0 !important;
    border-radius: 0 !important;
}

/* SEPARATOR */
.wp-block-separator {
    margin-left: 0;
}

/* HEADER / FOOTER */
.site-header,
.site-footer {
    width: 100%;
    padding: 20px 0;
    background-color: #ffffff;
	text-align: center;
}

.site-header h1 a {
    color: #1E4E8C;
    text-decoration: none;
}

.site-header h1 a:hover {
    color: #999;
}

.site-footer a {
    color: #333;
    text-decoration: none;
}

.site-footer a:hover {
    color: #1E4E8C;
}

/* BUTTON */
.wp-block-button__link {
    background-color: #1E4E8C;
    color: #fff;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s, color 0.3s;
}

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

.wp-block-buttons {
    display: flex;
    justify-content: center;
}

/* FORM (UNCHANGED STRUCTURE) */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
    border: 20px solid #1E4E8C;
    text-align: center;
}

/* Inputs */
.form-container input[type="text"],
.form-container input[type="email"] {
    width: 100%;
    max-width: 300px;
    margin: 0 auto 10px;
    display: block;
    padding: 10px;
    text-align: center;
}

/* Submit */
.form-container input[type="submit"] {
    background-color: #1E4E8C;
    color: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: 0;
    border: none;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.form-container input[type="submit"]:hover {
    background-color: #999;
    color: #fff;
}

/* Misc */
.form-container h2 {
    text-align: center;
}

.form-container input::placeholder {
    text-align: center;
}

.form-container a {
    color: #333;
    text-decoration: none;
}

.form-container a:hover {
    color: #1E4E8C;
}

.cta-consent {
    font-size: 0.85rem;
    display: block;
}

/* MOBILE TWEAK */
@media (max-width: 480px) {
    .form-container {
        border-width: 12px;
        padding: 20px 15px;
    }
}

/* FORM SPACING FIX */
.form-container {
    padding: 40px 30px;        /* restore original inner spacing */
    margin-bottom: 10px;       /* adds space to footer */
}

/* headline spacing inside form */
.form-container h2 {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* spacing below submit button */
.form-container input[type="submit"] {
/*    margin-bottom: 20px; */
}

/* FOOTER MOBILE SIZE FIX */
.site-footer {
    font-size: clamp(0.55rem, 2.5vw, 0.9rem);
    line-height: 1.4;
}

.site-footer p,
.site-footer a {
    font-size: inherit;
}

/* HEADER & FOOTER MOBILE CENTER */
@media (max-width: 480px) {
    .site-header,
    .site-footer {
        text-align: center;
    }

    .site-header h1 {
        text-align: center;
    }
}