/* Resty24 theme — base reset (1.1.0, replaces the Hello Elementor reset.css). Neutral: no colours of its own;
   link and button colours come from Resty24 → Design (CSS variables) and Elementor. Layout: theme.css. */

*, *::before, *::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--r24-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif); font-size: 16px; line-height: 1.5; color: var(--r24-ink, #1f2328); background: var(--r24-page-bg, #fff); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

h1, h2, h3, h4, h5, h6 { margin-block-start: .5rem; margin-block-end: 1rem; font-family: inherit; font-weight: 600; line-height: 1.2; color: inherit; }
h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; }
p { margin-block-start: 0; margin-block-end: .9rem; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: monospace, monospace; font-size: 1em; white-space: pre-wrap; }
abbr[title] { border-bottom: none; text-decoration: underline dotted; }
b, strong { font-weight: bolder; }
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
small { font-size: 80%; }
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
sub { bottom: -.25em; } sup { top: -.5em; }

a { background-color: transparent; color: var(--r24-accent, var(--r24-primary, inherit)); text-decoration: none; }
a:hover, a:active { text-decoration: underline; }
a:not([href]):not([tabindex]), a:not([href]):not([tabindex]):hover { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; border-style: none; }
figure { margin: 0; }
table { width: 100%; border-collapse: collapse; background-color: transparent; }
dl, dt, dd, li, ol, ul { margin-block-start: 0; margin-block-end: 0; }
details { display: block; } summary { display: list-item; }
template, [hidden] { display: none; }

button, input, optgroup, select, textarea { margin: 0; font-family: inherit; font-size: 1rem; line-height: 1.5; }
button, input { overflow: visible; }
button, select { text-transform: none; }
button, [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; width: auto; cursor: pointer; }
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { padding: 0; border-style: none; }
fieldset { padding: .35em .75em .625em; }
legend { box-sizing: border-box; display: table; max-width: 100%; padding: 0; color: inherit; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; resize: vertical; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }

/* WordPress core classes */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; word-wrap: normal !important; }
.screen-reader-text:focus { top: 5px; left: 5px; z-index: 100000; display: block; width: auto; height: auto; clip: auto; padding: 15px 23px 14px; font-size: 14px; line-height: normal; color: #333; background-color: #eee; text-decoration: none; }
.alignleft { float: left; margin-right: 1rem; } .alignright { float: right; margin-left: 1rem; } .aligncenter { clear: both; display: block; margin-left: auto; margin-right: auto; }
.alignwide { margin-left: -80px; margin-right: -80px; } .alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); max-width: 100vw; }
.alignfull img, .alignwide img { width: 100%; }
.wp-caption { margin-bottom: 1.25rem; max-width: 100%; } .wp-caption img { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text { margin: 0; font-size: .9em; opacity: .8; }
.gallery { display: flex; flex-wrap: wrap; gap: 8px; } .gallery-item { flex: 1 1 150px; }
.sticky, .bypostauthor { display: block; }
.post-tags { margin-top: 1rem; font-size: .9em; }
.pagination, .nav-links { display: flex; justify-content: space-between; gap: 12px; margin: 24px 0; }
@media (max-width: 767px) { .alignwide { margin-left: 0; margin-right: 0; } }
