```css
/* =========================================================
   SAPHAH ADVERTISING SERVICE
   Global stylesheet
   ========================================================= */

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    background: #FFF8DC;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.4;
}

/* ---------------------------------------------------------
   Header
   --------------------------------------------------------- */

header {
    margin: 0;
    padding: 8px 5px 2px;
    text-align: center;
}

header h1 {
    margin: 0;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
}

.header-info {
    margin: 1px 0 0;
    padding: 0;
    font-size: 11px;
    line-height: 1.2;
}

.header-info a {
    color: #0000EE;
    text-decoration: none;
}

.header-info a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   Main content
   --------------------------------------------------------- */

main {
    width: 100%;
    margin: 0 auto;
    padding: 10px;
}

/* ---------------------------------------------------------
   Advertising directory
   --------------------------------------------------------- */

.ad-directory {
    display: grid;
    grid-template-columns: repeat(6, 125px);
    gap: 10px;
    justify-content: center;
    align-items: start;
    width: 100%;
    margin: 0 auto;
}

.ad-slot {
    width: 125px;
    height: 125px;
    margin: 0;
    padding: 0;
}

.ad-slot a {
    display: block;
    width: 125px;
    height: 125px;
    border: 2px solid transparent;
    line-height: 0;
}

.ad-slot a:hover {
    border-color: #0000EE;
}

.ad-slot a.ad-linked {
    border-color: #0000EE;
}

.ad-slot a.ad-linked:hover {
    border-color: #0000AA;
}

.ad-slot img {
    display: block;
    width: 121px;
    height: 121px;
    margin: 0;
    padding: 0;
    border: 0;
}

/* Filler advertisement */

.ad-slot.filler img {
    width: 125px;
    height: 125px;
}

.ad-slot.filler a {
    border: 0;
}

/* ---------------------------------------------------------
   General links
   --------------------------------------------------------- */

a {
    color: #0000EE;
}

a:hover {
    color: #0000AA;
}

/* ---------------------------------------------------------
   General page content
   --------------------------------------------------------- */

.page-content {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
}

.page-content h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.page-content h3 {
    margin: 20px 0 8px;
    font-size: 18px;
}

.page-content p {
    margin: 0 0 12px;
}

/* ---------------------------------------------------------
   Forms
   --------------------------------------------------------- */

form {
    width: 100%;
}

.form-group {
    margin: 0 0 18px;
}

label {
    display: block;
    margin: 0 0 5px;
    font-weight: bold;
}

input[type="text"],
input[type="url"],
input[type="email"],
textarea {
    width: 100%;
    max-width: 700px;
    padding: 8px;
    border: 1px solid #808080;
    border-radius: 2px;
    background: #FFFFFF;
    color: #000000;
    font: inherit;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button,
.button {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #0000EE;
    border-radius: 2px;
    background: #0000EE;
    color: #FFFFFF;
    font: inherit;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button:hover {
    background: #0000AA;
    color: #FFFFFF;
}

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */

footer {
    margin: 20px 0 0;
    padding: 8px 5px 12px;
    text-align: center;
    font-size: 11px;
    line-height: 1.3;
    color: #666666;
}

footer a {
    color: #0000EE;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* ---------------------------------------------------------
   Responsive directory
   --------------------------------------------------------- */

/* Six columns - standard desktop */

@media (max-width: 850px) {
    .ad-directory {
        grid-template-columns: repeat(5, 125px);
    }
}

/* Five columns */

@media (max-width: 700px) {
    .ad-directory {
        grid-template-columns: repeat(4, 125px);
    }
}

/* Four columns */

@media (max-width: 550px) {
    .ad-directory {
        grid-template-columns: repeat(3, 125px);
    }
}

/* Three columns */

@media (max-width: 410px) {
    .ad-directory {
        grid-template-columns: repeat(2, 125px);
    }
}

/* Two columns */

@media (max-width: 275px) {
    .ad-directory {
        grid-template-columns: 125px;
    }
}
```
