:root{
  --page-width:960px;
  --menu-bg:#f2f2f2;
  --menu-border:#cfcfcf;
  --text:#333;
  --link:#26527c;
}

*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  overflow-x:hidden;
}

body{
  font-family: Helvetica, Arial, sans-serif;
  color:var(--text);
  background:#d6d6d6 url("../img/background.jpg") center top repeat;
  line-height:1.55;
}

/* PAGE WRAPPER */

.page{
  width:100%;
  max-width:var(--page-width);
  margin:0 auto;
  background:#fff;
  box-shadow:0 0 10px rgba(0,0,0,.28);
  min-height:100vh;
}

/* MENU */

.site-menu{
  background:linear-gradient(#f9f9f9,#ececec);
  border-bottom:1px solid var(--menu-border);
  position:relative;
}

.site-menu ul{
  list-style:none;
  margin:0;
  padding:0 18px;
  display:flex;
  flex-wrap:wrap;
}

.site-menu li{
  margin:0;
}

.site-menu a{
  display:block;
  padding:12px 18px;
  text-decoration:none;
  color:#333;
  font-size:15px;
}

.site-menu a:hover,
.site-menu a.active{
  background:#fff;
  color:#000;
}

/* MOBILE MENU BUTTON */

.menu-toggle{
  display:none;
  background:none;
  border:none;
  font-size:28px;
  padding:10px 14px;
  cursor:pointer;
}

/* HEADER */

.header-shell{
  background:#fff;
}

.emotion-header{
  position:relative;
  margin:0 14px;
  border:4px solid #fff;
  box-shadow:0 0 0 1px #c9c9c9 inset;
  background:#a0a0a0;
}

.emotion-image{
  display:block;
  width:100%;
  height:auto;
}

.emotion-overlay{
  position:absolute;
  inset:0;
}

.site-title{
  position:absolute;
  left:19%;
  top:22%;
  padding:.08em .35em;
  background:rgba(255,255,255,.65);
  color:#000;
  font-size:48px;
  font-weight:700;
  line-height:1.15;
}

.site-logo{
  position:absolute;
  right:2.8%;
  top:4%;
  width:5.8%;
  max-width:56px;
  border:1px solid #ccc;
  background:#fff;
}

/* CONTENT */

.content{
  padding:28px 34px 34px;
}

.content h1{
  font-size:30px;
  margin:0 0 6px;
}

.content h2{
  font-size:24px;
  margin:18px 0 6px;
}

.content p,
.content li,
.content td,
.content th{
  font-size:17px;
}

.content a{
  color:var(--link);
}

.content hr{
  border:none;
  border-top:1px solid #d9d9d9;
  margin:14px 0 20px;
}

/* IMAGES */

.content-figure{
  margin:20px 0 24px;
}

.content-figure img,
.content-image{
  max-width:100%;
  height:auto;
  display:block;
}

.content-figure img{
  box-shadow:0 1px 4px rgba(0,0,0,.18);
}

/* DOWNLOAD CARD */

.download-card{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.download-card::before{
  content:"PDF";
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:8px;
  background:#d84343;
  color:#fff;
  font-weight:700;
}

/* FOOTER */

.site-footer{
  border-top:1px solid #ddd;
  padding:14px 20px 24px;
  text-align:center;
  color:#666;
  font-size:14px;
}

.site-footer p{
  margin:.35em 0;
}

.site-footer a{
  color:#555;
}

.sep{
  padding:0 .5em;
}

/* TABLET */

@media (max-width:800px){

  .site-title{
    left:5%;
    top:18%;
    font-size:34px;
  }

  .site-logo{
    width:10%;
    max-width:48px;
  }

  .content{
    padding:22px 20px 28px;
  }

}

/* MOBILE */

@media (max-width:560px){

  .menu-toggle{
    display:block;
  }

  .site-menu ul{
    display:none;
    flex-direction:column;
    width:100%;
    padding:0;
  }

  .site-menu.open ul{
    display:flex;
  }

  .site-menu a{
    border-top:1px solid #ddd;
  }

  .site-title{
    position:static;
    margin:10px 64px 0 12px;
    font-size:20px;
  }

  .emotion-overlay{
    display:flex;
    flex-direction:column;
  }

  .site-logo{
    right:10px;
    top:10px;
    width:42px;
  }

}

/* SMALL MOBILE */

@media (max-width:480px){

  .download-card{
    flex-direction:column;
  }

}


.social-fallback-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 0 0 0.75rem 0;
}
#fb-feed[hidden] {
  display: none !important;
}
.feed-wrap {
  max-width: 500px;
}

#fb-wrapper[hidden] {
  display: none !important;
}

.social-fallback {
  padding: 1.25rem;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  background: #fafafa;
}

.social-fallback h2 {
  margin-top: 0;
}

.social-button {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  background: #1877f2;
  color: #fff;
  font-weight: 600;
}
