/* Hors Norme: the look of the WordPress site (palette, light type, header over the hero image, bands,
   coloured icon discs), written for this repository. Paths of images are relative to this file, so the
   site works from / and from a file. Icons: Font Awesome 4.7 (font SIL OFL 1.1, css MIT). */
:root {
  --yellow: #fbc744;
  --gold: #fbc02d;
  --orange: #d44a13;
  --purple: #8c239f;
  --blue: #1ea0d6;
  --shade: rgba(0, 0, 0, .36);
  --ink: #3a3d40;
  --text: #686c70;
  --tint: #f0f0f0;
  --wrap: 1170px;
  --side: max(1.5rem, calc((100vw - var(--wrap)) / 2));
}
/* Source Sans 3 (Source Sans Pro, renamed), latin subset, one variable file for weights 300 to 700.
   Font licence: SIL OFL 1.1, fonts/Source-Sans-OFL.txt. */
@font-face {
  font-family: "Source Sans 3"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url(../fonts/source-sans-3-latin.woff2) format("woff2");
}
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0; color: #666; background: #fff;
  font-family: "Source Sans 3", "Source Sans Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300; font-size: 1.125rem; line-height: 1.5;
}
img { max-width: 100%; height: auto; }
[id] { scroll-margin-top: 5.5rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: .5rem; z-index: 100; background: #fff; color: var(--ink); padding: .6rem 1rem; }
.skip:focus { left: 1rem; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
a { color: var(--purple); }
b, strong { font-weight: 600; }
h1, h2, h3, h4, h5, h6 { color: var(--ink); line-height: 1.2; margin: 1.4em 0 .5em; font-weight: 600; }
h1 { font-size: 2.6rem; font-weight: 300; }
h2 { font-size: 2.6rem; font-weight: 300; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.15rem; }
h5 { font-size: 1.05rem; }

/* header and menu: over the banner, white once the page has moved */
.site-top { position: relative; z-index: 50; }
.site-header {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
  padding: .9rem var(--side); position: fixed; left: 0; right: 0; top: 0; background: transparent; color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .35); transition: background .2s;
}
.logo { line-height: 0; }
.logo img { height: 54px; width: auto; }
.logo-dark { display: none; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .2rem 1.6rem; }
.menu li { position: relative; }
.menu a {
  color: inherit; text-decoration: none; text-transform: uppercase; letter-spacing: .185em; font-size: 1.0125rem;
  font-weight: 400; padding: .9rem 0; display: inline-block; border-bottom: 2px solid transparent;
}
.menu a:hover, .menu a[aria-current] { border-bottom-color: var(--yellow); }
.menu li ul {
  display: none; position: absolute; left: -1rem; top: 100%; min-width: 17rem; flex-direction: column; gap: 0;
  background: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); padding: .4rem 1rem; z-index: 20;
}
.menu li:hover > ul, .menu li:focus-within > ul { display: flex; }
.menu li ul a { color: var(--ink); padding: .5rem 0; }
.scrolled .site-header { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); border-bottom-color: transparent; }
.scrolled .logo-dark { display: inline; }
.scrolled .logo-light { display: none; }

/* pages */
main { display: block; }
.home main > article > header { display: none; }
.page:not(.post) main > article > header {
  position: relative; text-align: center; color: #fff; padding: 9rem 1.5rem 7.5rem;
  background: #7a1d10 url(../img/fonds/accueil.jpg) center / cover no-repeat;
}
.page main > article > header::before { content: ""; position: absolute; inset: 0; background: var(--shade); }
.page main > article > header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 80px; background: #fff;
  clip-path: polygon(0 0, 73.8% 94.7%, 100% 0, 100% 100%, 0 100%);
}
.page main > article > header > * { position: relative; z-index: 1; }
.page main > article > header h1 { margin: 0; color: #fff; font-weight: 400; text-transform: uppercase; font-size: 2.3rem; letter-spacing: .02em; }
.page main > article > header time { color: #fff; opacity: .9; font-size: .95rem; }
main article > aside { display: none; }
/* an article: grey ground, white card over the image, recent articles beside it */
.post { background: #ebebeb; }
.post::before {
  content: ""; display: block; height: 260px;
  background: linear-gradient(var(--shade), var(--shade)), url(../img/fonds/accueil.jpg) center / cover no-repeat #7a1d10;
}
.post main { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1.8rem; align-items: start;
  max-width: var(--wrap); margin: -6rem auto 3.5rem; padding: 0 1.5rem; position: relative; }
.post main > article, .post .sidebar { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.post main > article { padding: 1.5rem 2rem 2.5rem; }
.post main > article > header { padding: 0; background: none; color: var(--ink); text-align: center; }
.post main > article > header::before, .post main > article > header::after { display: none; }
.post main > article > header h1 { color: var(--ink); text-transform: none; font-weight: 300; font-size: 2.4rem; }
.post main > article > header time { color: #8a8e92; opacity: 1; }
.post main > article img { display: block; margin: 1rem auto; }
.post main > article > p:first-of-type img { margin-top: 0; }
.post .sidebar { border-left: 4px solid #1ea0d6; padding: .2rem 1.2rem 1.2rem; }
.post .sidebar h2 { font-size: 1rem; text-transform: uppercase; font-weight: 400; margin: 1rem 0 .6rem; padding-bottom: .5rem; border-bottom: 1px solid #ebe9eb; }
.post .sidebar ul { list-style: none; margin: 0; padding: 0; }
.post .sidebar li { margin: 0 0 .6rem; line-height: 1.35; }
.post .sidebar a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.post .sidebar a:hover { text-decoration: underline; }
@media (max-width: 900px) { .post main { grid-template-columns: 1fr; } }
.back { max-width: var(--wrap); margin: 1.2rem auto 0; padding: 0 1.5rem; font-size: .95rem; }


/* bands: text, media and cards side by side, wrapping */
.band { padding: 4.5rem var(--side); display: flex; flex-wrap: wrap; gap: 2rem 4rem; align-items: flex-start; }
.band > * { flex: 1 1 100%; min-width: 0; margin-top: 0; }
.band > .text { flex: 1 1 20rem; }
.band > .media { flex: 1 1 18rem; text-align: center; }
.band > .cards { flex: 2 1 32rem; }
/* bands alternate white and grey whatever the source says; on the home page the hero comes first */
.page main > article > section.band:nth-of-type(even),
.home main > article > section.band:nth-of-type(odd) { background: var(--tint); }
.band .text > :first-child { margin-top: 0; }
/* pull quote: the motto above the first heading of the home page */
.text p.exergue { font-size: 1.75rem; font-weight: 700; line-height: 1.2; color: var(--ink); text-align: left; -webkit-hyphens: manual; hyphens: manual; border-left: 6px solid var(--yellow); padding-left: 1.2rem; margin: 0 0 1.8rem; }
/* running text: one column of 45rem (720px), justified, hyphenated by the lang of the page */
.text p, .text li, .post main > article > p, .post main > article li,
.page main > article > p, .page main > article > ul li, .page main > article > ol li {
  text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}
.page:not(.post) main > article > :is(h2, h3, h4, p, ul, ol, table) {
  max-width: 45rem; margin-left: max(1.5rem, calc((100% - 45rem) / 2)); margin-right: max(1.5rem, calc((100% - 45rem) / 2));
}
.page:not(.post):not(.home) main > article { padding-bottom: 3rem; }
.hero .lead p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
/* running text of a card: justified as the rest; member and logo cards stay centred */
.card:not(.member):not(.logo) > p, .card:not(.member):not(.logo) li { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
/* short openings above a grid, and the call to action closing a page: centred */
.band > .text:has(+ :is(.cards, .news, .gallery, .contact-grid, .boxes, .pics)):not(:has(> p:nth-of-type(2))) {
  flex: 1 1 100%; max-width: 45rem; margin: 0 auto; text-align: center;
}
.band.cta { justify-content: center; text-align: center; }
.band.cta > .text { flex: 0 1 45rem; }
.band.cta > .text p { text-align: center; }
.band > .text:only-child > .actions { text-align: center; }
.media img { display: block; margin: 0 auto; max-width: 100%; max-height: 34rem; width: auto; height: auto; box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
table { border-collapse: collapse; width: 100%; margin: 1.6rem 0; font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: .6rem .8rem; border-bottom: 1px solid #e3e3e3; }
th { color: var(--ink); font-weight: 600; border-bottom: 2px solid var(--yellow); }
.band > .text:only-child { flex-basis: 100%; max-width: 45rem; margin: 0 auto; }
.media img.portrait { width: 250px; height: 250px; object-fit: cover; }
.band > .cards.team { flex: 1 1 100%; grid-template-columns: repeat(3, 1fr); }
#qui-sommes-nous > .text { flex: 1 1 100%; max-width: 45rem; margin: 0 auto; }
.member { text-align: center; }
.member p:first-child { margin: 0; line-height: 0; }
.member img { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--yellow); object-fit: cover; box-shadow: none; display: inline-block; }
.member .initials { width: 120px; height: 120px; border-radius: 50%; border: 4px solid var(--yellow); display: inline-flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 700; line-height: 1; background: #f1f1f1; color: #8a8e92; }
.member .ens { font-size: .85rem; font-weight: 600; letter-spacing: .04em; }
/* a quotation with the portrait of its author, on the manifesto page */
.quote { display: flow-root; margin: 1.2rem 0; }
.quote .author { float: left; width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--yellow); object-fit: cover; object-position: top; margin: .2rem 1rem .4rem 0; box-shadow: none; }
.credits { display: block; margin-top: 3.5rem;font-size: .8rem; color: #8a8e92; }
/* the References band of the pages that cite sources: the links are in the text, the list gives the full notice */
.references { list-style: none; padding-left: 0; margin: 1rem 0 0; }
.references li { margin: 0 0 .7rem; font-size: .92rem; text-align: left; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: anywhere; }
p.sources { font-size: .92rem; text-align: left; -webkit-hyphens: manual; hyphens: manual; }
.member h3 { margin: 1rem 0 .2rem; }
.member p { margin: 0 0 .4rem; }
.social { margin-top: .4rem; }
.social p { margin: 0; line-height: 1; }
.social a { text-decoration: none; margin: 0 .35rem; font-size: 1.45rem; }
.social .c2 { color: var(--orange); }
.social .c6 { color: #8a8e92; }
.member .social img { width: 1.45rem; height: 1.45rem; border: 0; border-radius: 3px; vertical-align: middle; object-fit: contain; }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 3.5rem; }
.card > p:first-child { margin: 0 0 1rem; line-height: 1; }
.card > p:first-child .fa { color: var(--gold); font-size: 3.4rem; }
.card h3 { margin: 0 0 .8rem; }
.lead { font-size: 1.35rem; line-height: 1.45; color: var(--ink); margin: 0 0 1.4rem; }
.lead strong { font-weight: 600; }
.actions { margin: 1.4rem 0 0; }
.actions p { margin: 0; }
.button, a.button {
  display: inline-block; background: var(--yellow); color: #3a3010; font-weight: 600; text-decoration: none;
  text-transform: uppercase; letter-spacing: .07em; font-size: .9rem; padding: .95rem 2.2rem; border-radius: 3px;
  border: 2px solid var(--yellow); margin: 0 .5rem .5rem 0; cursor: pointer; font-family: inherit; box-shadow: 0 2px 5px rgba(0, 0, 0, .18);
}
.button:hover { filter: brightness(.95); }
.button.orange { background: var(--orange); border-color: var(--orange); color: #fff; }
.button.ghost { background: transparent; color: var(--ink); border-color: #c5c5c5; box-shadow: none; }
.button .fa { margin-right: .35em; }

/* the three doors: coloured discs, thin rules between */
#portes { padding: 0; display: block; }
#portes .cards { grid-template-columns: repeat(3, 1fr); gap: 0; }
.feature { text-align: center; padding: 3rem 2.2rem 3.2rem; border-left: 1px solid #ebe9eb; }
.feature:first-child { border-left: 0; }
.feature .icon p { margin: 0 0 1rem; line-height: 1; }
.feature .icon a { text-decoration: none; border: 0; }
.feature .icon .fa {
  display: inline-flex; width: 100px; height: 100px; border-radius: 50%; align-items: center; justify-content: center;
  color: #fff; font-size: 2.6rem; background: var(--yellow); box-shadow: 0 8px 14px rgba(0, 0, 0, .22);
}
.feature.c4 .icon .fa { background: var(--blue); }
.feature.c2 .icon .fa { background: var(--orange); }
.feature.c1 .icon .fa { background: var(--yellow); }
.feature h3 { font-size: 1.15rem; margin: .8rem 0 .6rem; }

/* hero of the home page: image, slanted lower edge */
.hero {
  min-height: 62vh; display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
  padding: 9rem 1.5rem 8rem; background: #7a1d10 url(../img/fonds/accueil.jpg) center / cover no-repeat;
  position: relative;
}
.hero::before { content: ""; position: absolute; inset: 0; background: var(--shade); }
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; background: #fff;
  clip-path: polygon(0 0, 73.8% 94.7%, 100% 0, 100% 100%, 0 100%);
}
.hero-inner { position: relative; z-index: 1; max-width: 58rem; font-size: 1.25rem; }
.hero .lead { font-size: 1.575rem; font-weight: 600; color: #fff; margin: 0 0 1.2rem; }
.hero h1 { font-size: 1.575rem; font-weight: 600; line-height: 1.3; color: #fff; margin: 0; text-transform: none; }
.hero p { margin: 0 0 1rem; }
.hero-inner > p { font-weight: 500; }
.hero a { color: #fff; }
.hero .button { color: #3a3010; }
.hero .button.orange { color: #fff; }

/* contact, embeds */
.contact { max-width: 40rem; margin: 1rem auto; }
.contact label { display: block; font-weight: 600; }
.contact input[type=text], .contact textarea {
  display: block; width: 100%; font: inherit; padding: .6rem .8rem; border: 1px solid #c9c9c9; border-radius: 3px; margin-top: .3rem;
}
.contact .note { font-size: .9rem; color: #8a8e92; }
.embed { display: block; width: 100%; min-height: 85vh; border: 0; }

/* the news page: one card per article, the cards of the home page */
.news-page main > article { padding-bottom: 4rem; }
.news-page main > article > .news { max-width: 72rem; margin: 3rem auto 0; padding: 0 1.5rem; }

/* three columns: roadmap, status table; a row of pictures; a picture alone in a band */
.band > .cards.cols3 { flex: 1 1 100%; grid-template-columns: repeat(3, 1fr); }
.band > .cards.cols4 { flex: 1 1 100%; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.price ul { list-style: none; margin: 0; padding: 0; }
.price li { padding: .4rem 0; border-bottom: 1px solid #eee; }
.feat { text-align: center; }
.feat p:first-child { margin: 0 0 1rem; line-height: 0; }
.feat img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.price { background: #fff; text-align: center; padding: 0 1.4rem 1.6rem; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.price.featured { box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.price-head { background: var(--ink); color: #fff; margin: 0 -1.4rem 1.2rem; padding: 1.2rem 1rem; }
.price.featured .price-head { background: var(--orange); }
.price-head h2, .price-head h3, .price-head h4, .price-head p { color: #fff; margin: 0; }

/* status comparison, as on the old site: white band, centred title and intro, one colour per head, the CAE card raised */
.page main > article > section.band#pricing-tables-2 { background: #fff; }
#pricing-tables-2 > h2, #pricing-tables-2 > p { flex: 1 1 100%; text-align: center; margin: 0; }
#pricing-tables-2 > p { max-width: 48rem; margin: 0 auto; }
#pricing-tables-2 .price:nth-child(1) .price-head { background: var(--yellow); }
#pricing-tables-2 .price:nth-child(2) .price-head { background: var(--orange); }
#pricing-tables-2 .price:nth-child(3) .price-head { background: var(--yellow); }
#pricing-tables-2 .price:nth-child(4) .price-head { background: var(--blue); }
#pricing-tables-2 .price:nth-child(1) .price-head h3, #pricing-tables-2 .price:nth-child(3) .price-head h3, #pricing-tables-2 .price:nth-child(3) .price-head p { color: #3a3010; }
#pricing-tables-2 .price.featured { margin-top: -1.5rem; }
.pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; }
.pics p { margin: 0; height: 16rem; line-height: 0; }
.pics img { width: 100%; height: 100%; object-fit: cover; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.band > p:has(> img:only-child) { text-align: center; }
.band > p > img { max-height: 30rem; width: auto; box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }

/* four boxes: images and texts in a 2 x 2 grid */
.boxes { display: grid; grid-template-columns: 1fr 1fr; background: #fff; box-shadow: 0 14px 40px rgba(0, 0, 0, .14); }
.tile { min-height: 20rem; }
.tile p { margin: 0; height: 100%; line-height: 0; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: none; }
.pane { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 3rem 2.5rem; }
.pane h3 { font-size: 2.2rem; font-weight: 300; margin: 0 0 1rem; }
.pane p { margin: 0 0 1rem; }

/* gallery of four images, the title on hover or focus */
#preuves { padding: 0; display: block; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); }
.shot { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.shot p { margin: 0; height: 100%; line-height: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot h3 {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 2.5rem 1rem 1rem; color: #fff; text-align: center;
  background: linear-gradient(transparent, rgba(0, 0, 0, .7)); opacity: 0; transition: opacity .2s;
}
.shot:hover h3, .shot:focus-within h3 { opacity: 1; }
@media (hover: none) { .shot h3 { opacity: 1; } }

/* the latest articles, three cards */
#actualites { display: block; }
#actualites > .text { text-align: center; max-width: none; margin-bottom: 1.5rem; }
.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; align-items: stretch; }
.news-card { display: flex; flex-direction: column; background: #fff; text-align: center; box-shadow: 0 2px 12px rgba(0, 0, 0, .14);
  border-bottom: 4px solid var(--yellow); }
.news-card p { padding: 0 1.4rem; margin: 0 0 1rem; font-size: .95rem; }
.news-card p:first-child { padding: 0; margin: 0; line-height: 0; }
.news-card img { width: 100%; height: 14rem; object-fit: cover; display: block; }
.news-card img[src^="/img/logo/"] { object-fit: contain; box-sizing: border-box; padding: 1.8rem 2rem; background: #fff; }
.news-card h3 { font-size: 1.7rem; font-weight: 400; line-height: 1.2; margin: 1.3rem 1.2rem .8rem; }
.news-card h3 a { color: var(--ink); text-decoration: none; }
.news-card .actions { margin: auto 0 0; padding: 0 0 1.6rem; }
#actualites > .text:last-child { margin-top: 2.2rem; }
#actualites > .text:last-child .actions p { text-align: center; }

/* contact: the form beside the details */
#rdv { display: block; }
#rdv > .text { margin-bottom: 2.5rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 3rem; align-items: start; max-width: 62rem; margin: 0 auto; }
.contact-grid > .contact-slot { background: #fff; padding: 2rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .12); }
.contactcol h3 { font-size: 1rem; letter-spacing: .06em; margin: 0 0 1rem; }
.contact-item { display: flex; gap: .9rem; margin: 0 0 .9rem; align-items: baseline; }
.contact-item p { margin: 0; }
.contact-item .fa { width: 2rem; height: 2rem; line-height: 2rem; text-align: center; border-radius: 50%; background: #ddd; color: #fff; font-size: 1rem; }

/* footer: two menus and the brand on black */
.site-footer { background: #232629; color: #d8d8d8; padding: 0; border-top: 4px solid #1ea0d6; }
/* grey on the left, black on the right, the content centred: the two side columns are equal */
.footer-inner { display: grid; grid-template-columns: 1fr minmax(0, max-content) 14rem 1fr; }
.footer-inner::after { content: ""; grid-column: 4; grid-row: 1; background: #000; }
.footer-menus { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; }
.site-footer nav { padding: 2rem 1.6rem .6rem; min-width: 10rem; }
.site-footer h2 a { color: inherit; }
.band > .text h2 a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--yellow); }
.band > .text h2 a:hover { border-bottom-color: currentColor; }
/* the legal page: the three register buttons on one centered line, the three logo cards aligned, with a fine border */
#legal .actions p { text-align: center; }
#legal .actions .button { margin: .3rem .4rem; }
.card.logo { border: 1px solid #d9d9d9; background: #fff; padding: 1.8rem 1.5rem; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.card.logo > p:first-child { margin: 0 0 1.2rem; flex: 1; display: flex; align-items: center; justify-content: center; }
.card.logo img { display: block; max-width: 100%; height: 12rem; object-fit: contain; }
.card.logo h3 { margin: 0; font-size: 1.25rem; }
/* network cards: logo in a fixed box above the text, left aligned */
.card.network > p:first-child { height: 7rem; margin: 0 0 1.4rem; }
.card.network > p:first-child img { display: block; width: 100%; max-width: 15rem; height: 100%; object-fit: contain; object-position: left center; }
/* the ENS Rennes logo is the white version: dark ground, the file itself unaltered */
.card.network#ens-rennes > p:first-child { max-width: 15rem; background: var(--ink); }
/* narrow margins around and between the logo cards, the cards taller */
#portfolio-2 { padding: 2rem 1rem 3rem; }
#portfolio-2 > .cards { gap: 1rem; }
#portfolio-2 .card.logo { padding: 2.6rem 1.5rem 2.2rem; }
.site-footer h2 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin: 0 0 .7rem; font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 .4rem; }
.site-footer a { color: #d8d8d8; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand { grid-column: 3; grid-row: 1; background: #000; padding: 1.6rem 1.5rem 1rem; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.footer-brand img { height: 48px; width: auto; }
.follow { margin: 1rem 0 0; }
.follow a { display: inline-block; margin: 0 .4rem; color: #fff; font-size: 1.6rem; line-height: 1; vertical-align: middle; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-toggle { display: none; }

@media (max-width: 800px) {
  h1, h2 { font-size: 2rem; }
  #pricing-tables-2 .price.featured { margin-top: 0; }
  .cards, #portes .cards, .news, .contact-grid, .boxes, .band > .cards.cols3, .band > .cards.cols4 { grid-template-columns: 1fr; }
  .band > .cards.team { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .feature { border-left: 0; border-top: 1px solid #ebe9eb; }
  .menu-toggle { display: block; background: none; border: 0; color: inherit; font-size: 1.6rem; line-height: 1; padding: .4rem; cursor: pointer; }
  .site-header .menu { flex-basis: 100%; }
  .js .site-header .menu { display: none; }
  .nav-open .site-header { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }
  .nav-open .site-header .menu { display: block; max-height: calc(100vh - 5rem); overflow-y: auto; }
  .nav-open .logo-dark { display: inline; }
  .nav-open .logo-light { display: none; }
  .menu ul { flex-direction: column; gap: 0; }
  .menu a { display: block; padding: .75rem 0; border-bottom: 1px solid #eee; }
  .menu li ul { position: static; display: flex; box-shadow: none; padding: 0 0 0 1rem; min-width: 0; background: transparent; }
  .menu li ul a { color: inherit; }
  .footer-inner { display: block; }
  .footer-inner::after { display: none; }
  .footer-menus { display: block; }
  .post main { margin-top: -4rem; }
}
@media (max-width: 520px) {
  .band > .cards.team { grid-template-columns: 1fr; }
}

/* third-party page framed whole: white menu on top, the frame takes the width and the rest of the viewport (5.3 rem
   is the height of the menu), no banner; the footer follows below the fold */
.embed iframe { display: block; width: 100%; height: 80vh; border: 0; }
.embed-page .site-header { position: static; background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); border-bottom-color: transparent; }
.embed-page .logo-dark { display: inline; }
.embed-page .logo-light { display: none; }
.page.embed-page:not(.post) main > article > header { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; }
.embed-page.page:not(.post):not(.home) main > article { padding: 0; }
.embed-page .embed { min-height: 0; }
.embed-page .embed iframe { height: calc(100vh - 5.3rem); height: calc(100dvh - 5.3rem); }
