/*==============================================================================
    CSS Reset - Cleaned & Optimized for Blackburn Studio
==============================================================================*/

/* 1. Global Box Sizing (Crucial for responsive layouts) */
*, *::before, *::after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* 2. Body Defaults */
body { 
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; 
    -webkit-text-size-adjust: 100%; 
    text-rendering: optimizelegibility;
    margin: 0;
    padding: 0;
}

/* 3. Reset All Elements */
a, abbr, acronym, address, applet, article, aside, audio, b, big, blockquote, body, caption, canvas, center, cite, code,
dd, del, details, dfn, dialog, div, dl, dt, em, embed, fieldset, figcaption, figure, form, footer, header, hgroup, h1, h2, h3, h4, h5, h6, html, i, iframe, img, ins, kbd, label, 
legend, li, mark, menu, nav, object, ol, output, p, pre, q, ruby, s, samp, section, small, span, strike, strong, sub, summary, sup, tt, table, tbody, textarea, tfoot, thead, 
time, tr, th, td, u, ul, var, video { 
    font-family: inherit; 
    font-size: 100%; 
    font-weight: inherit; 
    font-style: inherit; 
    vertical-align: baseline; 
    white-space: normal; 
    margin: 0; 
    padding: 0; 
    border: 0; 
    outline: 0;
    background: transparent;
}

/* 4. HTML5 Block Elements */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}

/* 5. Typography & Lists */
strong { font-weight: bold; }
a { text-decoration: none; }
ol, ul, li { list-style: none; }
blockquote, q { quotes: none; }

/* 6. Form Elements */
input { outline: 0; margin: 0; padding: 0; }
:focus { outline: 0; }
textarea { resize: none; }
input[type=submit] { cursor: pointer; font: inherit; }

/* 7. Tables */
table { border-collapse: collapse; border-spacing: 0; }

/* 8. Media (Images & Iframes) */
img { 
    -ms-interpolation-mode: bicubic;
    vertical-align: middle;
    border: 0;
    max-width: 100%; /* Safety net to prevent horizontal scrolling */
    height: auto; 
}

iframe {
    width: 100%;
    /* Removed fixed height: 54% to prevent layout breakage on Maps/other embeds */
    border: 0;
}

/* 9. Placeholders (Color: Light Gray) */
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #BDBDBD; }
input:-moz-placeholder, textarea:-moz-placeholder { color: #BDBDBD; }
input::-moz-placeholder, textarea::-moz-placeholder { color: #BDBDBD; }
input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #BDBDBD; }

/* 10. Utilities */
.clearfix:after {
    content: "";
    display: block;
    clear: both;
}