/*
Theme Name: WWTS
Author: WWTS Development
Description: Lightweight custom theme for the WWTS website with Elementor Theme Builder integration.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: wwts
*/

/*
 * Theme baseline
 * --------------
 * Keep only technical, non-visual defaults here. Project design and component
 * styling live in assets/css/, while Elementor remains authoritative for its
 * global design tokens and widget-level visual settings.
 */
html {
    box-sizing: border-box;
    margin: 0;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
}

html,
body {
    min-height: 100%;
}

.text-nowrap {
    white-space: nowrap;
}

/*
 * Hello-compatible technical reset
 * --------------------------------
 * Preserve only low-risk browser normalizations that the previous Hello
 * Elementor theme supplied. Deliberately omit Hello's visual typography,
 * colors, button design, table design and print styling.
 */
:where(hr) {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

:where(pre, code, kbd, samp) {
    font-family: monospace, monospace;
    font-size: 1em;
}

:where(pre) {
    white-space: pre-wrap;
}

:where(a) {
    background-color: transparent;
}

:where(abbr[title]) {
    border-block-end: none;
    text-decoration: underline dotted;
}

:where(b, strong) {
    font-weight: bolder;
}

:where(small) {
    font-size: 80%;
}

:where(sub, sup) {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

:where(sub) {
    bottom: -0.25em;
}

:where(sup) {
    top: -0.5em;
}

:where(details) {
    display: block;
}

:where(summary) {
    display: list-item;
}

:where(template, [hidden]) {
    display: none;
}

:where(dl, dt, dd, ol, ul, li) {
    margin-block-start: 0;
    margin-block-end: 0;
}

/*
 * Native form-control baseline
 * ----------------------------
 * Hello Elementor supplied a small reset for otherwise unstyled native form
 * fields. Keep the compatible parts here so switching themes does not expose
 * browser-default search/text field geometry. Zero-specificity selectors are
 * intentional: Elementor Theme Style and widget-specific rules remain free to
 * override these values.
 */
:where(label) {
    display: inline-block;
    vertical-align: middle;
}

:where(button, input, optgroup, select, textarea) {
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

:where(button, input) {
    overflow: visible;
}

:where(button, select) {
    text-transform: none;
}

:where(
    input[type="text"],
    input[type="date"],
    input[type="time"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    select,
    textarea
) {
    width: 100%;
    border: solid 1px #666;
    border-radius: 3px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

:where(
    input[type="text"],
    input[type="date"],
    input[type="time"],
    input[type="email"],
    input[type="number"],
    input[type="password"],
    input[type="search"],
    input[type="tel"],
    input[type="url"],
    select,
    textarea
):focus {
    border-color: #333;
}

:where(fieldset) {
    padding: 0.35em 0.75em 0.625em;
}

:where(legend) {
    box-sizing: border-box;
    display: table;
    max-width: 100%;
    padding: 0;
    color: inherit;
    white-space: normal;
}

:where(progress) {
    vertical-align: baseline;
}

:where(textarea) {
    overflow: auto;
    resize: vertical;
}

:where(input[type="checkbox"], input[type="radio"]) {
    box-sizing: border-box;
    padding: 0;
}

:where(input[type="number"])::-webkit-inner-spin-button,
:where(input[type="number"])::-webkit-outer-spin-button {
    height: auto;
}

:where(input[type="search"]) {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

:where(input[type="search"])::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

:where(select) {
    display: block;
}

/*
 * Responsive media baseline
 * -------------------------
 * Keep native media from overflowing its content box while preserving its
 * intrinsic aspect ratio. Elementor Theme Style remains responsible for visual
 * image treatment such as radius, borders, opacity, filters and shadows.
 */
img,
video {
    max-width: 100%;
    height: auto;
}

iframe {
    max-width: 100%;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.screen-reader-text:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 100000;
    width: auto;
    height: auto;
    padding: 12px 16px;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: #fff;
    color: #111;
}
