/* ========== Safe Reset CSS for WordPress themes like Cocoon ========== */

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

/* Remove default margin from common text elements */
body,
h1, h2, h3, h4, h5, h6,
p, figure,
blockquote, dl, dd {
  margin: 0;
}

/* Remove default padding from lists but keep bullets */
ul, ol {
  padding-left: 1.5em;
}

/* Headings - keep font-weight and size from theme */
h1, h2, h3, h4, h5, h6 {
  font-family: inherit;
  line-height: 1.4;
}

/* Remove underlines and inherit colors on links */
a {
  text-decoration: none;
  color: inherit;
}

/* Remove border on images in IE */
img {
  border-style: none;
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* Reset form elements */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  margin: 0;
  border: none;
  background: none;
  padding: 0;
  outline: none;
  box-shadow: none;
}

/* Buttons - pointer and browser default style */
button,
input[type="submit"],
input[type="button"] {
  cursor: pointer;
  -webkit-appearance: button;
}

/* Remove border-radius and appearance from inputs */
input,
textarea {
  border-radius: 0;
  -webkit-appearance: none;
}

/* Table resets */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Optional: consistent HR styling */
hr {
  height: 1px;
  background: #ccc;
  border: none;
  margin: 1em 0;
}
