/* Optical and Hearing Centre */

:root {
    --teal: #00c9c8;      /* brand teal from the logo */
    --teal-deep: #00747a; /* accessible teal for text on white */
    --ink: #10282c;
    --ink-soft: #4a6266;
    --line: #d5e7e8;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: #fff;
}

.page {
    width: min(560px, 100% - 32px);
    margin: 0 auto;
    padding: clamp(40px, 10vw, 96px) 0;
}

.logo {
    margin: 0 0 clamp(40px, 8vw, 64px);
}

.logo img {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin: 0 auto;
}

.block {
    padding: 28px 0;
    border-top: 1px solid var(--line);
}

h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    color: var(--teal-deep);
}

p,
address {
    margin: 0 0 16px;
    font-style: normal;
}

a {
    color: var(--ink);
    font-weight: 600;
    text-underline-offset: 3px;
    text-decoration-color: var(--teal);
    overflow-wrap: anywhere;
}

a:hover {
    color: var(--teal-deep);
}

a:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}

.hours {
    width: 100%;
    border-collapse: collapse;
}

.hours th,
.hours td {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.hours th {
    padding-right: 16px;
    font-weight: 600;
    white-space: nowrap;
}

.hours td {
    text-align: right;
    color: var(--ink-soft);
}

.hours tr:last-child th,
.hours tr:last-child td {
    border-bottom: 0;
}
