/* reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
    padding: 0;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
html {
	font-size: 62.5%;
}

/* mobile first */
hr {
    grid-column: 1 / -1; /* force à aller à la ligne suivante */
    border: none;
    border-top: 1.5px solid #333;
    color: #333;
    overflow: visible;
    text-align: center;
    width: 100%;
    margin-bottom: 3rem;
    position: relative;
}
hr.times {
    border-top: 1.5px solid tomato;
}
.col--4 hr {
    margin-top: -0.5rem;
    margin-bottom: 1.5rem;
}
body {
	background-color: floralwhite;
	color: #333;
	font-family: 'Times New Roman', Times, serif;
	font-size: 2em; /* equiv 14px */
	line-height: 1.1; /* adapt to your design */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
html *,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}


h1 {
    font: normal 4.8rem/1 'Times New Roman', Times, serif;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}
h2 {
    display: block;
    font: bold 12px/1 'Trebuchet', Arial, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}
section + section {
    margin-top: 3rem;
} 
h3, dl.faq dt {
    font: bold 1.8rem/1 'Times New Roman', Times, serif;
    letter-spacing: -.5px;
    margin-bottom: 0;
}
p {
    margin-bottom: 1.5rem;
}
.intro {
    font: normal 3rem/1 'Times New Roman', Times, serif;
    letter-spacing: -.5px;
    margin-bottom: 3rem;
}
.caption, figcaption, dl.faq dd {
    font: normal 1.6rem/1 'Times New Roman', Times, serif;
}
.tag {
    display: inline-block;
    font: bold 1rem/2rem 'Trebuchet', Arial, serif;
    border: solid 1.5px #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 999px;
    padding: 0 .8rem;
    vertical-align: middle;
    
}
a {
    color: #333;
    position: relative;
    text-decoration: none;
}
strong {
    font-weight: bold;
}
em {
    font-style: italic;
}
img {
    display: block;
    width: 100%;
    height: auto;
    mix-blend-mode: multiply;
}
section a::before {
    display: block;
    height: 10px;
    background: tomato;
    content: '';
    position: absolute;
    bottom: 0;
    left: .5rem;
    right: -.5rem;
    z-index: -1;
}

figure {
    max-width: 35rem;
    min-width: 30rem;
}
figure > div {
    position: relative;
    background-color: floralwhite;
}
figure > div::after {
    content: '';
    border-radius: 9999px;
    background: tomato;
    position: absolute;
    mix-blend-mode: multiply;
}
figure:nth-child(1) > div::after {
    width: 50%;
    padding-top: 50%;
    right: 50%;
    bottom: 50%;
}
figure:nth-child(2) > div::after {
    width: 33%;
    padding-top: 33%;
    left: 50%;
    top: 50%;
}
figure figcaption {
    color: tomato;
    margin: -20% 0 10% 50%;
    width: 40%;
    border-left: solid 1.5px tomato;
    padding: 20% 5% 0;
    position: relative;
}
figure figcaption strong {
    display: block;
}


.header {
    border-bottom: solid 1.5px #333;
    margin: 0 auto;
}

.footer {
    border-top: solid 1.5px #333;
    margin: 0 auto;
}

.site {
    text-align: left;
    padding: 2rem;
    display: block;
    text-decoration: none;
}
.site__name {
    font: normal 3.6rem/1 'Times New Roman', Times, serif;
    letter-spacing: -2px;
    text-transform: lowercase;
    margin-bottom: 0;
    display: block;
}
.site__name span {
    transform: translateY(-.45rem);
    display: inline-block;
    transition: .2s ease-in;
}
.site:hover .site__name span {
    transform: translateY(0);
}
.site__description {
    display: block;
    font: bold 12px/1 'Trebuchet', Arial, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 1rem 0;
    background-color: floralwhite;
    position: relative;
    top: -0.5rem;
    display: block;
}

.post {}
.post__illustration {
    position: relative;
    border-bottom: solid 1.5px #333;
    background-image: url("data:image/svg+xml,<svg id='patternId' width='60' height='60' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='60' height='60'><rect x='0' y='0' width='30' height='30' fill='%23333'/><rect x='30' y='30' width='30' height='30' fill='%23333'/></pattern></defs><rect width='60' height='60' transform='translate(0,0)' fill='url(%23a)'/></svg>");
    background-position: top left;
    background-repeat: repeat-x;
    margin: 0 auto;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
}
.post__illustration__carousel {
    display: flex;
    width: fit-content;
    margin: 0 auto;
    padding-top: 8rem;
    padding-left: 2rem;
    padding-right: 2rem;
    justify-content: center;
}
.post__illustration::after {
    content: "";
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1rem;
    background: #333;
    opacity: .1;
}
.post__illustration img {
    width: 100%;
}
.post__content {
    padding: 2rem;
}
.post__content header {
    grid-column: span 6;
    margin-bottom: 3rem;
}
.post__content ol {
    list-style: outside decimal;
    margin: 0 0 3rem 2rem;
}
.post__content ol > li::marker {
  font-weight: bold;
}
.post__content ul {
    list-style: inside url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='8' height='8'><circle cx='4' cy='2.5' r='2' fill='%23333'/></pattern></defs><rect width='8' height='8' fill='url(%23a)'/></svg>");
    margin-bottom: 3rem;
}
.post__content ul li, .post__content ol li {
    margin: 0 0 .75rem 0;
}
.post__content .ingredients ul {
    list-style: none;
}
ul.calendar {
    list-style: none;
    background: none;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(12, auto);
    column-gap: .4rem;
}
.calendar li {
    font: normal 10px/1 'Trebuchet', Arial, serif;
    text-transform: uppercase;
    color: tomato;
    border-top: solid .3rem tomato;
    text-align: center;
    padding-top: .5rem;
    opacity: .4;
}
.calendar li.active {
    opacity: 1;
}
table {
    width: 100%;
    margin: 1.5rem 0;
    font-size: 1.6rem;
}
thead th {
    border-top: solid 1px #333;
    border-bottom: solid 3px #333;
    font: bold 10px/1 'Trebuchet', Arial, serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: .4rem 0;
}
tbody td {
    border-bottom: solid 1px #333;
    padding: .4rem 0;
}
dl.definition {
    display: grid;
    grid-template-columns: repeat(2, 50%);
    width: 100%;
    font-size: 1.6rem;
    border-top: solid 3px #333;
    margin-bottom: 3rem;
}
dl.definition dt {
    grid-column: span 1;
    border-bottom: solid 1px #333;
    padding: .4rem 0;
}
dl.definition dd {
    grid-column: span 1;
    border-bottom: solid 1px #333;
    padding: .4rem 0;
    font-style: italic;
}
#faq {
    margin-bottom: 3rem;
}
#faq h3 {
    border-top: solid 1px #333;
    padding: 1.5rem 3rem 1.5rem 0;
    cursor: pointer;
    position: relative;
}
#faq *:nth-child(2) {
    padding-top: 0;
    border-top: none;
}
#faq h3::after {
    content: '▼';
    display: block;
    width: 2rem;
    height: 2rem;
    font: bold 1rem/1.8rem 'Trebuchet', Arial, serif;
    text-align: center;
    border: solid 1.5px #333;
    border-radius: 999px;
    position: absolute;
    right: 0;
    top: 1.5rem;
}
#faq *:nth-child(2)::after {
    top: 0;
}
#faq h3.open::after {
    transform: rotate(180deg);
}
#faq p {
    display: none;
    margin: 0 0 2rem 2rem;
}
#faq p.open {
    display: block;
}

.list {
    text-align: left;
    padding: 2rem;
    margin: 0 auto;
}
.list .intro {
    max-width: 54rem;
    margin-bottom: 6rem;
}
.list section {
    column-count: 2;
    margin-bottom: 3rem;
}
.list h2 {
    display: inline-block;
    font-size: 4rem;
    line-height: 5rem;
    height: 5rem;
    width: 5rem;
    text-align: center;
    border: solid 1.5px #333;
    border-radius: 4px;
}
.list ul {
    list-style: inside url("data:image/svg+xml,<svg id='patternId' width='100%' height='100%' xmlns='http://www.w3.org/2000/svg'><defs><pattern id='a' patternUnits='userSpaceOnUse' width='8' height='8'><circle cx='4' cy='2.5' r='2' fill='%23333'/></pattern></defs><rect width='8' height='8' fill='url(%23a)'/></svg>");
    margin-bottom: 3rem;
}
.list ul li {
    margin: 0 0 .75rem 0;
}

.grid-times {
    color: tomato;
}

/* tablet */
@media (min-width: 760px) {
    body {
        text-align: center;
    }
    .header, .footer {
        width: 73rem;
    }
    .header .site, .footer .site {
        text-align: left;
        padding: 2rem 0;
    }
    .col {
        text-align: left;
    }
    .col--2 {
        grid-column: span 2;
    }
    .col--3 {
        grid-column: span 3;
    }
    .col--4 {
        grid-column: span 4;
    }
    .col--5 {
        grid-column: span 5;
    }
    .col--6 {
        grid-column: span 6;
    }
    .col--7 {
        grid-column: span 7;
    }
    .col--8 {
        grid-column: span 8;
    }
    .col--9 {
        grid-column: span 9;
    }
    .col--10 {
        grid-column: span 10;
    }
    .col--11 {
        grid-column: span 11;
    }
    .col--centered {
        text-align: center;
    }
    .post__illustration {
        max-width: 73rem;
    }
    .post__illustration__carousel {
        display: flex;
        padding-left: 0;
        padding-right: 0;
    }
    figure {
        min-width: 35rem;
    }
    .post__content {
        padding: 3rem 0;
        display: grid;
        grid-template-columns: repeat(8, 6.5rem);
        column-gap: 3rem;
        width: 73rem;
        margin: 0 auto;
    }
    .list {
        padding: 3rem 0;
        width: 73rem;
    }
    .list section {
        column-count: 4;
    }
    .grid-times {
        display: grid;
        grid-template-columns: repeat(8, 6.5rem);
        column-gap: 3rem;
        width: 73rem;
    }
}

/* desktop */
@media (min-width: 1110px) {
    .header, .footer, .list {
        width: 111rem;
    }
    .grid {
        display: grid;
        grid-template-columns: repeat(12, 6.5rem);
        column-gap: 3rem;
        width: 111rem;
        margin: 0 auto;
    }
    .post__illustration {
        border-bottom: none;
        border-right: solid 1.5px #333;
        display: block;
        overflow-x: none;
        overflow-y: none;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }
    .post__illustration__carousel {
        padding-top: 10rem;
        flex-direction: column;
    }
    .post__illustration::after {
        top: 0;
        right: 0;
        bottom: 0;
        left: inherit;
        height: inherit;
        width: 1rem;
    }
}