/*
 * Theme Name:  Lost Sites 360
 * Theme URI:   https://lostsite360.com
 * Author:      Fearann Alba
 * Author URI:  https://fearannalba.co.uk
 * Description: Self-guided 360° history tours — the Lost Sites 360 web app. Tours and tour points are authored in the dashboard, sold through WooCommerce, and viewed in the on-site 360° viewer.
 * Version:     0.1.0
 * Requires PHP: 8.0
 * License:     Private
 * Text Domain: lostsite360
 */

/*
 * Derived from the Fearann Alba theme, which supplied the 360°
 * viewer engine, the brand tokens and the admin label positioner.
 * See docs/WEB-APP-PLAN.md for what was kept, what was removed,
 * and what is still to be built.
 */

/*
 * ============================================================
 * BASE RESET
 * ============================================================
 * Browsers apply their own default margins, padding, and
 * box-sizing rules which cause inconsistencies. This reset
 * wipes those defaults so we start from a clean slate.
 * ============================================================
 */

*,
*::before,
*::after {
    /* Makes width/height calculations include padding and border
       — the most predictable box model to work with */
    box-sizing: border-box;
}

html,
body {
    /* Remove default browser margin and padding */
    margin: 0;
    padding: 0;

    /* Prevents horizontal scrollbar appearing on mobile
       if anything accidentally overflows */
    overflow-x: hidden;
}

/* Remove default margin from common elements */
h1, h2, h3, h4, h5, h6,
p, ul, ol, figure, blockquote {
    margin: 0;
    padding: 0;
}

/* Remove bullet points from lists by default */
ul, ol {
    list-style: none;
}

/* Make images behave — never overflow their container */
img {
    max-width: 100%;
    display: block;
}

/* Remove default link underline — we'll style links ourselves */
a {
    text-decoration: none;
    color: inherit;
}