/* =========================
   RESET & BASE STYLES
=========================== */

/* Box-sizing reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default styles from links */
a, a span {
    text-decoration: none!important;
    color: inherit;
}

/* Remove default button styles */
button,
input,
textarea,
select {
    font: inherit;
    background: none;
    border: none;
    outline: none;
}

/* Improve default typography */
html {
    font-size: 16px; /* Set base font size */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Reset body styling */
body {
    font-family: 'Poppins', sans-serif; /* Set preferred font */
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

/* Headings reset */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

/* Form elements reset */
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Reset images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Remove text decoration from links */
a:hover {
    text-decoration: none;
}

/* =========================
   WORDPRESS RESET
=========================== */

.post, .page {
    margin: 0;
}

/* Remove WordPress block editor styles */
.wp-block {
    max-width: 100% !important;
}

/* Remove margin from WordPress default styles */
.alignleft {
    float: left;
    margin-right: 1rem;
}
.alignright {
    float: right;
    margin-left: 1rem;
}
.aligncenter {
    display: block;
    margin: 0 auto;
}

/* WordPress columns reset */
.wp-block-columns {
    display: flex;
    gap: 1rem;
}
.wp-block-column {
    flex: 1;
}

/* Default WordPress button reset */
.wp-block-button__link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}

/* Remove WordPress figure margins */
figure {
    margin: 0;
}

/* Hide empty elements WP sometimes adds */
.wp-caption-text, .gallery-caption {
    display: none;
}

/* =========================
   ADDITIONAL RESETS
=========================== */

/* Remove animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}
