/* Colors */
:root {
    --color-orange: #C75000;
    --color-orange-light: #FFF5EC;
    --color-green: #7A8450;
    --color-green-light: #f7f9ee;
    --color-violet: #861657;
    --color-violet-light: #F1EBEF;
    --color-black: #2a2812;
    --color-yellow: #ad8e2d;
    --color-yellow-light: #fffef9;
    --system-ui: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

/* General */
body {
    margin: 0;
}
main {
    width: auto;
    /* font */
    font-family: var(--system-ui);
    font-size: 1rem;
    line-height: 150%;
    color: var(--color-black);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--color-yellow-light);
}
img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 0 0.8rem rgba(0, 0, 0, 0.2);
}

p:last-child {
    margin-bottom: 0;
}

/* Header */
header h1 {
    margin: 2.5rem 0 0 0;
}
header img {
    width: 7rem;
    margin: 0 auto;
    box-shadow: none;
}

/* Sections */
section h2 {
    font-weight: 400;
    font-size: 1.6rem;
    margin: 1rem 0;
}
section h2:after {
    content: "";
    display: block;
    width: 100%;
    height: 1.5px;
    margin-top: 1rem;
    background: linear-gradient(to right, var(--color-black) 33%, var(--color-yellow-light) 100%);
}
section .section-content {
    max-width: 42rem;
    margin: 0 auto;
    padding: 2rem 1rem 3.5rem 1rem;
}

section#mission {
    background: linear-gradient(to bottom, var(--color-yellow-light) 0%, var(--color-green-light) 7rem);
}
section#mission h2 {
    color: var(--color-green);
}
section#mission h2:after {
    background: linear-gradient(to right, var(--color-green) 33%, var(--color-green-light) 100%);
}

section#services {
    /* background: var(--color-orange-light); */
    background: var(--color-yellow-light);
}
section#services h2 {
    /* color: var(--color-orange); */
    color: var(--color-yellow);
}
section#services h2:after {
    /* background: linear-gradient(to right, var(--color-orange) 33%, transparent 100%); */
    background: linear-gradient(to right, var(--color-yellow) 33%, var(--color-yellow-light) 100%);
}

section#feedback {
    background: var(--color-green-light);
}
section#feedback h2 {
    color: var(--color-green);
}
section#feedback h2:after {
    background: linear-gradient(to right, var(--color-green) 33%, var(--color-green-light) 100%);
}

section#announcement {
    background: var(--color-violet-light);
}
section#announcement h2 {
    color: var(--color-violet);
}
section#announcement h2:after {
    background: linear-gradient(to right, var(--color-violet) 33%, var(--color-violet-light) 100%);
}

section#contact {
    /* background: var(--color-violet-light); */
    background: var(--color-yellow-light);
}
section#contact h2 {
    /* color: var(--color-violet); */
    color: var(--color-yellow);
}
section#contact h2:after {
    /* background: linear-gradient(to right, var(--color-violet) 33%, transparent 100%); */
    background: linear-gradient(to right, var(--color-yellow) 33%, var(--color-yellow-light) 100%);
}

/* Table */
table {
    width: 100%;
    line-height: 110%;
}
table th {
    white-space: nowrap;
}
table th,
table td {
    text-align: right;
    padding: 0.25rem;
    vertical-align: top;
}
table th:first-child,
table td:first-child {
    text-align: left;
    padding-left: 0;
}
table th:last-child,
table td:last-child {
    padding-right: 0;
}


/* Person */
figure {
    display: flex;
    margin: 0 0 1rem 0;
}
figure:last-child {
    margin-bottom: 0;
}
figure img {
    width: 4rem;
    height: 4rem;
    object-fit: cover;
    border-radius: 5rem;
    margin-right: 1rem;
    border: 2px solid white;
}
figure figcaption {
    margin: 0.75rem 0;
}   
figure figcaption h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}
figure figcaption span,
figure figcaption a {
    font-size: 0.85rem;
    color: rgb(106, 103, 99);
    text-decoration: none;
    line-height: 120%;
    display: block;
}
figure figcaption p {
    margin-bottom: 0;
}

/* Double list */
.double-list {
    display: flex;
    flex-wrap: wrap;
}
.double-list a {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    color: var(--color-black);
    display: flex;
    margin-right: 1rem;
    padding: 0.5rem 0;
}
.double-list a:hover {
    text-decoration: underline;
}
.double-list a img {
    width: 1rem;
    margin-right: 0.5rem;
    box-shadow: none;
    border-radius: 0;
}
.double-list a p {
    margin: 0;
}