/* Global Styles inspired by CNET & Offers.com */
:root {
    --color-primary: #00a8a8; /* Teal header */
    --color-secondary: #111111; /* Dark footer/search */
    --color-text-blue: #0073e6; /* Link blue */
    --color-cta-orange: #f7a61e; /* CTA Orange */
    --color-cta-orange-hover: #d88e15;
    --color-text-dark: #333333;
    --color-text-grey: #666666;
    --color-bg-light: #f9f9f9;
    --color-border: #eee;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #fff;
    color: var(--color-text-dark);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    color: var(--color-text-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Footer are inline in header.php/footer.php for simplicity but sharing vars */

/* Common Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--color-cta-orange);
    color: white;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: var(--color-cta-orange-hover);
    text-decoration: none;
}

/* Form Styles */
input[type="text"], 
input[type="email"], 
input[type="search"],
textarea {
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    font-size: 16px;
}

button, input[type="submit"] {
    cursor: pointer;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-text-dark);
    margin-top: 0;
}

h1 { font-size: 36px; }
h2 { font-size: 28px; }
h3 { font-size: 22px; }

/* Pagination */
.pagination {
    margin: 40px 0;
    text-align: center;
}

.page-numbers {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    margin: 0 4px;
    border-radius: 4px;
    color: var(--color-text-dark);
}

.page-numbers.current {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
