/* style.css – CSS 2 (accessible, 90‑s flavour) */

/* -------------------------------------------------------------
   Global page styling – keep colour contrast ≥ 4.5:1
   ------------------------------------------------------------- */
body {
    font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
    background-color: #faf0e6;          /* pale beige – a classic ’90s web hue */
    color: #111111;                     /* very dark text for contrast */
    margin: 20px;
}

/* Headings – bright, retro colours */
h1 { color: #0066cc; }          /* deep blue */
h2 { color: #cc6600; }          /* burnt orange – typical ’90s accent */
h3 { color: #336699; }

/* -------------------------------------------------------------
   Layout – two columns (left = posts, right = form)
   ------------------------------------------------------------- */
#mainWrapper {
    width: 960px;
    margin: 0 auto;
}

/* Left column – posts */
#leftPane {
    float: left;
    width: 560px;
    padding-right: 20px;
}

/* Right column – control panel */
#rightPane {
    float: right;
    width: 360px;
}

/* Clear floats */
.clearfix { clear: both; }

/* -------------------------------------------------------------
   Form styling – keep focus visible for keyboard users
   ------------------------------------------------------------- */
form {
    background: #fff8dc;                /* ivory – gentle retro feel */
    padding: 15px;
    border: 2px solid #cc6600;         /* orange border matches heading */
}

/* Focus outline – bright magenta for visibility */
input[type="text"]:focus,
textarea:focus,
input[type="button"]:focus {
    outline: 3px solid #ff00ff;         /* magenta */
}

/* Labels */
label {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}

/* Input fields */
input[type="text"],
textarea {
    width: 100%;
    max-width: 300px;
    border: 1px solid #777777;
    background: #ffffff;
    padding: 4px;
    font-size: 0.95em;
}

/* Submit button */
input[type="button"] {
    background: #0066cc;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    margin-top: 8px;
}

/* -------------------------------------------------------------
   Individual post styling
   ------------------------------------------------------------- */
.post {
    margin-bottom: 12px;
}

/* -------------------------------------------------------------
   Skip link – hidden until focused
   ------------------------------------------------------------- */
.skip-link {
    position: absolute;
    left: -9999px;
    top: -9999px;
}
.skip-link:focus {
    left: 10px;
    top: 10px;
    background: #ffffe0;
    padding: 8px;
    z-index: 1000;
}

/* -------------------------------------------------------------
   Intro / summary blocks
   ------------------------------------------------------------- */
#summary, #intro {
    background: #e8f4ff;               /* soft blue for readability */
    border: 2px solid #0066cc;
    padding: 15px;
    margin-bottom: 25px;
}
#summary h2, #intro h2 { margin-top: 0; }
#summary p, #intro p { line-height: 1.4; }