/*
 *  Copyright 2020 Adobe Systems Incorporated
 *
 *  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.
 */

.cmp-contentfragment--contributor {

  .cmp-contentfragment {
    
    .cmp-contentfragment__element-title {
      display: none;
    }

    .cmp-contentfragment__element-value {
      margin: 0;

      img {
        width: 100%;
      }
    }

    .cmp-contentfragment__element--fullName {
      border-bottom: solid 1px $gray-light;
      font-size: 3rem;
      margin-top: 1rem;
      margin-bottom: 4rem;
      padding-bottom: 2rem;
      text-align: center;
    }

    .cmp-contentfragment__element--biographyText {
      padding: 0;
      margin: 0 2rem;

      .cmp-contentfragment__element-value {
        column-count: 2;
        column-gap: 5rem;

        img {
          max-height: 275px;
          object-fit: cover;
        }

        p {
          line-height: 1.75rem;
        }
      }
    }

    .cmp-contentfragment__element--pictureReference {
      display: none;
    }
        
    .cmp-contentfragment__picture {
      $pictureSize: 300px;

      display: block;
      height: $pictureSize;
      width: $pictureSize;
      border-radius: calc($pictureSize / 2);
      border: solid 10px $gray-light;
      object-fit: cover;
      box-sizing: border-box;
      margin: 0 auto;
    }
  }
}
