/**
 * Copyright 2014 Google Inc. All rights reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

.about-chrome-dev-summit.card {
  margin: 4px 0;
}

.about-chrome-dev-summit .card__container {
  background: $color-action;

  &:after, &:before {
    background: $color-action;
  }
}

.about-chrome-dev-summit .card__logo {
  @include typo-base();
  font-weight: 300;
  font-size: 16px;
  color: darken($color-action, 32%);
  line-height: 1.45;
  padding: 40px 16px 10px 16px;
}

.about-chrome-dev-summit.card--expanded {
  .card__logo {
    top: 40px;
  }
}

.about-chrome-dev-summit .card__content-wrapper {
  border-top: 166px solid $color-action;
  padding: 16px;
}

@media (min-width: 475px) {

  .about-chrome-dev-summit .card__logo {
    font-size: 20px;
    padding-right: 90px;
    top: 10px;
  }
}

@media (min-width: 600px) {

  .about-chrome-dev-summit.card {
    clear: both;
  }

  .about-chrome-dev-summit .card__logo {
    font-size: 22px;
    padding-right: 70px;
  }
}

@media (min-width: 800px) {
  .about-chrome-dev-summit.card {
    width: calc(50% - 2px);
    margin: 0 0 0 4px;
    float: left;
    clear: none;
  }

  .about-chrome-dev-summit .card__logo {
    font-size: 22px;
    padding-right: 0;
    width: 400px;
  }

  .about-chrome-dev-summit.card--expanded .card__logo {
    width: 680px;
  }
}

@media (min-width: 900px) {
  .about-chrome-dev-summit.card--expanded .card__logo {
    left: calc(50% - 286px);
    width: 400px;
  }

  .about-chrome-dev-summit .card__content-wrapper {
    border-top: 166px solid darken($color-action, 5%);
  }
}
