/**
 * Ink stylesheet
 */

html, body {
  margin: 0;
  background-color: #ddd;
}

a {
  color: #F36600;
}

.content {
  max-width: 960px;
  margin: 1rem auto;
  background-color: white;
}

header {
  height: 80px;
  background-color: #AACF37;
}

.logo {
  height: 60px;
}

.cover {
  object-position: 50% 20%;
}

.row {
  margin-top: 1rem;
}

.summary {
  font-size: 14px;
  font-family: "McClatchySans", Helvetica, sans-serif;
  line-height: 1.25em;
}

.blur-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 110vh;
  transform: translateZ(0);
}

@media (max-width: 960px) {
  .blur-canvas {
    display: none;
  }
}

/**
 * Spacing
 */

.content, .card, [data-glade], .padded {
  padding: 0.25rem;
}

@media (max-width: 960px) {
  .content {
    margin: 0;
  }

  .content.page {
    padding: 0;
  }
}

/**
 * Standard cards
 */

.card, .column, .highlight, .grid {
  -webkit-flex: 1 1 350px;
  flex: 1 1 350px;
}

.grid .card {
  -webkit-flex: 1 1 250px;
  flex: 1 1 250px;
}

.card {
  padding: 0.25rem;
  box-sizing: border-box;
}

.card .lead {
  height: 300px;
}

.card-content {
  padding: 0.5rem;
  background-color: #efefef;
}

.card-content > * {
  margin: 0;
  color: #212121;
}

.card-content > *:nth-child(n + 2) {
  margin: 0.5rem 0;
}

.card-content h2 {
  font-size: 21px;
  line-height: 1.20em;
}

/**
 * Thumbnail stack
 */

.thumb-stack {
  height: 130px;
}

.rail .thumb-stack {
  height: 100px;
}

.thumb-stack .lead {
  position: relative;
  width: 100px;
  max-height: 100%;
}

.thumb-stack .lead img {
  position: absolute;
}

.thumb-stack .card-content {
  overflow: hidden;
}

.thumb-stack h2 {
  font-size: 15px;
}

/**
 * Feature
 */

.feature .lead {
  height: 515px;
}

.feature h2 {
  font-size: 32px;
}

@media (max-width: 600px) {
  .feature .lead {
    height: 350px;
  }
}

/**
 * Ads
 */

.rail, [data-glade] {
  -webkit-flex: 0 1 300px;
  flex: 0 1 300px;
}

[data-glade] {
  /* margin: 0.25rem; */
  min-width: 300px;
  min-height: 250px;
  -webkit-display: flex;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-glade] > div {
  background-color: #FFFCCA;
}

@media (max-width: 769px) {
  .rail, [data-glade] {
    -webkit-flex-grow: 1;
    flex-grow: 1;
  }
}

.story-ad {
  float: right;
  margin: 2rem;
}

@media (max-width: 650px) {
  .story-ad {
    float: none;
    margin: 1rem 0;
  }
}

.ad-banner {
  display: block;
  background-color: #7ac1bd;
  color: #333;
  margin: 0.25rem;
  padding: 0.5rem;
}

.ad-banner > * {
  margin: 0;
}

.ad-banner p {
  font-size: 14px;
}

/**
 * Footer
 */

footer {
  background-color: #6A8B05;
  padding: 1rem;
  font-size: 15px;
}

footer .content {
  margin: 0 auto;
  background-color: transparent;
}

footer .column {
  text-align: center;
  color: white;
}

footer h4 {
  text-transform: uppercase;
  margin: 0.3rem 0;
}

footer a {
  display: block;
  padding: 0.3rem 0;
  color: #ccc;
  font-family: "McClatchySans", Helvetica;
}

footer a:hover {
  color: #F36600;
}

/**
 * Article styles
 */

.byline {
  font-size: 15px;
}

article > figure:first-child {
  margin-top: 0;
}

article img {
  max-width: 100%;
}

ink-gallery:not(.expanded) figure:nth-of-type(n+5) {
  display: none;
}

ink-gallery.expanded {
  padding: 0;
}

ink-gallery figcaption {
  display: none;
}

ink-gallery.expanded {
  max-width: 100%;
  background-color: #212121;
}

ink-gallery.expanded figure {
  padding: 1rem;
}

ink-gallery.expanded figcaption {
  display: block;
  color: white;
}

.ng_l_category, .ng_l_title {
  margin-top: 2em;
}

.ng_l_category > *, .ng_l_title > * {
  font-weight: bold;
  font-family: "McClatchySans", Helvetica, sans-serif;
  margin-bottom: 0;
}

.ng_l_category + .ng_l_title {
  margin-top: 0;
}

.ng_l_category + .ng_l_title > * {
  color: #666;
  margin-top: 0.25em;
  font-size: .8em;
  font-weight: normal;
  font-family: "McClatchySans", Helvetica, sans-serif;
}

[class^=ng_mm_link] iframe {
  max-width: 100%;
}

.bar {
  display: block;
  font-size: 30px;
  margin: 0 auto;
  text-align: center;
  background-color: #F36600;
  color: white;
  padding: 0.5rem;
}

.bar svg {
  display: inline;
  vertical-align: bottom;
  height: 40px;
  fill: white;
}

/**
 * Dining Guide
 */

.dining-guide {
  padding: 0.25rem;
}

.dining-guide > div {
  flex: 1 1 350px;
}

.dining-guide .card-content p {
  line-height: 1.2em;
}

/**
 * Calendar
 */

.event {
  max-width: 720px;
  margin: 15px auto;
  box-sizing: border-box;
  background-color: white;
}

@media (max-width: 769px) {
  .event {
    margin: 15px;
  }
}

.event .header {
  margin: 0;
  padding: 1rem;
}

.event > div {
  padding: 0.5rem;
}

.event-date {
  width: 10%;
}

.event-date span {
  display: block;
  margin: 4px;
  text-align: center;
}

.event .month {
  color: #A02B83;
  font-size: 14px;
}

.event .day {
  font-size: 35px;
  line-height: 1em;
  font-weight: 200;
}

.event .time {
  font-size: 13px;
  color: #999;
}

.event .event-cover {
  display: block;
  width: 100%;
}

.event h2 {
  margin: 0;
  font-size: 30px;
}

.event-title {
  margin-top: 1rem;
}

.event .button {
  display: block;
  background-color: #145288;
  color: white;
  margin: 0 0 0 1.5rem;
  padding: 8px 12px;
  font-size: 18px;
  font-family: "McClatchy Sans", Helvetica, sans-serif;
  border-radius: 3px;
}

@media (max-width: 600px) {
 .event-title {
   flex-direction: column !important;
   align-items: start !important;
 }

 .event .button {
   margin-left: 0;
   font-size: 13px;
 }

 .event h2 {
   font-size: 21px;
   margin-bottom: 6px;
 }
}


