/* --------------------------------------------------------------------------
Attribute Page Styles
-------------------------------------------------------------------------- */

/* -----------------------------------------------
General
----------------------------------------------- */
:root {
  --primary-color: #1e83f5;
  --attr-section-border-color: #ccc;
}

.rs-attr-page {
  width: 100%;
  min-height: 100vh;
  padding: 2rem 1rem;
  margin: auto;
  background: #fff;
}

.rs-attr-page p {
  margin-bottom: 1rem;
}

.rs-attr-page-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
}

@media all and (max-width: 768px) {
  .rs-attr-page-container {
    flex-direction: column;
  }
}

.rs-attr-text-primary {
  color: var(--primary-color);
}

.rs-attr-page li {
  /* margin-bottom: 1.25rem; */
}

.rs-attr-page li::marker {
  color: var(--primary-color);
}

.rs-media-rounded {
  border-radius: 1rem;
}

/* -----------------------------------------------
Page Header + Title
----------------------------------------------- */
.rs-attr-page-header {
  position: sticky;
  top: 60px;
  background: linear-gradient(#f3f3f3, #fff);
  border-bottom: 1px solid rgba(0, 0, 0, 0.01);
  z-index: 10;
}

.rs-attr-page-header-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin: auto;
  padding: 1rem;
  font-size: 2rem;
  color: #333;
}

.rs-attr-page-header-primary {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.rs-attr-page-header-primary-dropdown {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 5.5rem;
  left: 0;
  flex-direction: column;
  width: 320px;
  font-size: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
  box-shadow: 0.25rem 0.5rem 1.5rem 0 rgba(0, 0, 0, 0.2);
  z-index: 600;
}

@media all and (max-width: 480px) {
  .rs-attr-page-header-primary-dropdown {
    top: 3rem;
  }
}

.rs-attr-page-header-primary-dropdown.is-visible {
  opacity: 1;
  pointer-events: initial;
}

.rs-attr-page-header-primary-dropdown-link {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 1.125rem;
  color: #555;
  transition: all 0.3s ease-in-out;
}

.rs-attr-page-header-primary-dropdown-link:hover {
  background: #f3f3f3;
}

.rs-attr-page-header-primary-dropdown-link img {
  align-self: center;
  margin-right: 1rem;
}

.rs-attr-page-header-primary-dropdown-link:last-of-type {
  border-bottom: none;
}

.rs-attr-page-header-icon-container {
  width: 80px;
  margin-right: 1rem;
}

.rs-attr-page-header-icon-container img {
  width: 80px;
}

.rs-attr-page-header-super-title {
  margin: 0;
  line-height: 1.1;
  font-size: 1rem;
}

.rs-attr-page-header-title {
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: var(--primary-color);
}

.rs-attr-page-header-secondary {
  align-items: center;
  margin-left: auto;
  font-size: 1.125rem;
}

.rs-attr-page-header-secondary-nav-toggle {
  display: none;
  padding: 0;
}

.rs-attr-page-title {
  font-weight: bold;
  line-height: 1;
  margin-bottom: 3rem;
}

.card-colored {
  background: #f4f8e7;
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.card-bordered {
  border: 4px solid #97b81f;
  border-radius: 1rem;
}

@media all and (max-width: 768px) {
  .rs-attr-page-header-container {
    padding: 1rem;
  }

  .rs-attr-page-header-container-sm {
    display: block;
  }

  .rs-attr-page-header-secondary-sm {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
  }

  .rs-attr-page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .rs-attr-page-header-secondary-nav-toggle {
    display: flex;
  }

  .rs-attr-page-header-secondary-profile-link {
    display: none;
  }

  .rs-attr-page-header-primary-dropdown-link {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .rs-attr-page-header-title {
    font-size: 2rem;
  }
}

@media all and (max-width: 480px) {
  .rs-attr-page-header-icon-container {
    display: none;
  }

  .rs-attr-page-header-super-title {
    font-size: 0.9rem;
  }

  .rs-attr-page-title {
    font-size: 1.75rem;
    margin-bottom: 1.75rem;
  }
  .card-colored {
    padding: 1rem;
    margin-bottom: 1rem;
  }
}

/* -----------------------------------------------
Sidebar + Page Nav
----------------------------------------------- */
.rs-attr-page-sidebar {
  width: 25%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.rs-attr-page-sidebar.is-toggled {
  transform: translateX(0%);
}

.rs-attr-page-sidebar-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}

@media all and (max-width: 1200px) {
  .rs-attr-page-sidebar {
    width: 30%;
  }
}

@media all and (max-width: 768px) {
  .rs-attr-page-sidebar {
    transform: translateX(-100%);
    width: 240px;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem;
    z-index: 1000;
    background: #fff;

    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    will-change: transform;
  }

  .rs-attr-page-sidebar::before {
    content: "";
    display: block;
    height: 1px;
  }
}

.rs-attr-page-nav-container {
  position: sticky;
  top: 202px;
}

@media all and (max-width: 768px) {
  .rs-attr-page-nav-container {
    position: static;
    top: auto;
  }
}

.rs-attr-page-nav {
  display: flex;
  flex-direction: column;
  padding: 0 1rem 1rem 1rem;
}

@media all and (max-width: 1200px) {
  .rs-attr-page-nav {
    padding: 0;
  }
}

.rs-attr-page-nav a {
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0 0.5rem;
  font-size: 1.125rem;
  color: #777;
  box-shadow: inset 3px 0 #ddd;
}

.rs-attr-page-nav a.active {
  color: var(--primary-color);
  box-shadow: inset 3px 0 var(--primary-color);
}

.rs-attr-page-nav a:hover {
  color: var(--primary-color);
}

.rs-attr-chapter-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.rs-attr-chapter-nav a {
  color: #777;
  font-size: 1.125rem;
}

.rs-attr-chapter-nav a:hover {
  color: var(--primary-color);
}

.rs-attr-chapter-nav a:hover svg {
  color: var(--primary-color);
  fill: var(--primary-color);
  stroke: var(--primary-color);
}

@media all and (max-width: 768px) {
  .rs-attr-page-nav a {
    margin: 0;
  }
}

/* -----------------------------------------------
Main
----------------------------------------------- */
.rs-attr-page-main {
  width: 75%;
  font-size: 1.25rem;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}

.rs-attr-page-main.is-loaded {
  opacity: 1;
}

@media all and (max-width: 768px) {
  .rs-attr-page-main {
    width: 100%;
    padding: 0;
    font-size: 1rem;
  }
}

.rs-attr-page-section {
  margin-bottom: 3rem;
}

@media screen and (max-width: 1024px) {
  .rs-attr-page-section {
    margin-bottom: 2rem;
  }
}

.attr-section-title {
  margin-bottom: 1rem;
  font-weight: bold;
}

.attr-section-title.has-background {
  display: inline-flex;
  background-size: 100%;
  background-repeat: no-repeat;
  padding: 1rem 2rem;
  margin-left: -2rem;
}

.rs-attr-icon-painted-container {
  display: flex;
}

.rs-attr-icon-painted {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7rem;
  height: 7rem;
  border-radius: 100%;
  margin-right: 1rem;
  background-size: contain;
  background-repeat: no-repeat;
}

.rs-attr-icon-painted img {
  max-width: 3.5rem;
}

.rs-attr-check-list {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  padding: 0 !important;
}

.rs-attr-check-list li {
  width: 100%;
  display: flex;
  align-items: flex-start;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  padding-right: 1rem;
}

.rs-attr-check-list.is-multi-column li {
  width: 50%;
}

.rs-attr-check-list-text {
  margin-top: 0.5rem;
}

.rs-attr-check-list-checkmark .rs-attr-icon-painted {
  width: 3rem;
  height: 3rem;
}

@media all and (max-width: 768px) {
  .rs-attr-icon-painted {
    width: 5rem;
    height: 5rem;
  }

  .rs-attr-icon-painted img {
    max-width: 2.5rem;
  }

  .rs-attr-check-list.is-multi-column li {
    margin-bottom: 1rem;
  }

  .rs-attr-check-list-checkmark .rs-attr-icon-painted {
    width: 2rem;
    height: 2rem;
  }

  .rs-attr-check-list-checkmark .rs-attr-icon-painted svg {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media all and (max-width: 480px) {
  .rs-attr-check-list.is-multi-column li {
    width: 100%;
  }
}

/* -----------------------------------------------
Recap Section
----------------------------------------------- */
.rs-attr-section-recap-grid {
  display: flex;
  flex-wrap: wrap;
}

.rs-attr-section-recap-grid-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 50%;
  padding: 2rem;
}

.rs-attr-section-recap-grid-item:nth-of-type(1) {
  border-right: 1px solid var(--attr-section-border-color);
  border-bottom: 1px solid var(--attr-section-border-color);
}

.rs-attr-section-recap-grid-item:nth-of-type(2) {
  border-bottom: 1px solid var(--attr-section-border-color);
}

.rs-attr-section-recap-grid-item:nth-of-type(3) {
  border-right: 1px solid var(--attr-section-border-color);
}

@media all and (max-width: 1200px) {
  .rs-attr-section-recap-grid-item {
    flex-direction: column;
  }

  .rs-attr-section-recap-grid-item:nth-of-type(1) {
    justify-content: center;
  }
}

@media all and (max-width: 1024px) {
  .rs-attr-section-recap-grid-item {
    width: 100%;
    border-bottom: 1px solid var(--attr-section-border-color);
    flex-direction: row;
  }

  .rs-attr-section-recap-grid-item:nth-of-type(1) {
    justify-content: flex-start;
  }

  .rs-attr-section-recap-grid-item:nth-of-type(1),
  .rs-attr-section-recap-grid-item:nth-of-type(2),
  .rs-attr-section-recap-grid-item:nth-of-type(3) {
    border-right: none;
  }

  .rs-attr-section-recap-grid-item:last-of-type {
    border-bottom: none;
  }
}

@media all and (max-width: 768px) {
  .rs-attr-section-recap-grid-item {
    padding: 1rem;
  }
}

.rs-attr-section-recap-grid-item-callout {
  color: var(--primary-color);
  font-size: 1.5rem;
}

.rs-attr-section-recap-grid-item-content {
  margin-left: 0.5rem;
}

.rs-attr-section-text-callout {
  color: var(--primary-color);
}

/* -----------------------------------------------
Tell Me More Section 
----------------------------------------------- */
.rs-attr-section-tell {
  position: relative;
}

.rs-attr-section-tell ul {
  padding-left: 1.125rem;
}

.rs-attr-section-tell-group-bg {
  position: absolute;
  top: 0;
  left: 50%;
  width: 55%;
  height: 100%;
  background: #f3f3f3;
  z-index: 0;
  border-radius: 1rem;
}

@media screen and (max-width: 1320px) {
  .rs-attr-section-tell-group-bg {
    width: 50%;
  }
}

.rs-attr-section-tell-group-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
}

.rs-attr-section-tell-group {
  width: calc(50% - 1rem);
  margin: 0.5rem;
  padding: 2rem;
  z-index: 1;
}

.rs-attr-section-tell-group.strength {
  padding-left: 0;
}

@media screen and (max-width: 640px) {
  .rs-attr-section-tell-group-bg {
    display: none;
  }
  .rs-attr-section-tell-group {
    width: 100%;
    padding: 1rem;
  }
  .rs-attr-section-tell-group.strength {
    padding-left: 1rem;
  }

  .rs-attr-section-tell-group.defense {
    background: #f3f3f3;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
  }
}

.rs-attr-section-tell-heading {
  position: relative;
  margin-top: 1rem;
  padding-bottom: 0.5rem;
  font-weight: bold;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.rs-attr-section-tell-subheading {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.25rem 1rem;
  font-weight: bold;
  border-radius: 2rem;
  color: var(--primary-color);
}

.rs-attr-section-tell-subheading.strength {
  background: #eee;
}

.rs-attr-section-tell-subheading.defense {
  background: #fff;
}

.rs-attr-section-tell-group ul {
  margin-bottom: 0;
}

.rs-attr-section-tell-group li {
  margin-left: 0;
  margin-bottom: 0.5rem;
}

/* -----------------------------------------------
Go Deeper Section
----------------------------------------------- */
.rs-attr-section-go-deeper-attribute-title {
  font-size: 4rem;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1rem;
  text-transform: uppercase;
  color: var(--primary-color);
}

@media screen and (max-width: 1024px) {
  .rs-attr-section-go-deeper-attribute-title {
    font-size: 2.5rem;
  }
}

/* -----------------------------------------------
Awareness Section
----------------------------------------------- */
.rs-awareness-section {
  padding: 2rem;
  padding-left: 1rem;
}

.rs-awareness-section ul {
  padding-left: 1.125rem;
}

@media screen and (max-width: 768px) {
  .rs-awareness-section {
    padding: 1rem;
  }
}

.rs-awareness-section-with-bg {
  background: #f3f3f3;
  border-radius: 1rem;
  padding: 2rem;
  padding-left: 2rem;
}

.rs-awareness-section h2 {
  font-weight: bold;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* -----------------------------------------------
Meet Your Opposite Tips/Traps Section
----------------------------------------------- */
.rs-attr-section-meet-opposite-tips-traps {
  display: flex;
  flex-wrap: wrap;
  border-radius: 1rem;
}

.rs-attr-section-meet-opposite-tips-traps-group:first-of-type {
  padding-left: 0;
}

.rs-attr-section-meet-opposite-tips-traps ul {
  padding-left: 1.125rem;
}

@media screen and (max-width: 1024px) {
  .rs-attr-section-meet-opposite-tips-traps-im-a {
    background-image: none;
  }
}

.rs-attr-section-meet-opposite-tips-traps-group {
  width: calc(50% - 1rem);
  margin: 0.5rem;
  padding: 1rem 2rem;
}

.rs-attr-section-meet-opposite-tips-traps-group:nth-of-type(2) {
  background: #f3f3f3;
  border-radius: 1rem;
}

.rs-attr-section-meet-opposite-tips-traps-im-a {
  border-right: 1px solid rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1024px) {
  .rs-attr-section-meet-opposite-tips-traps-im-a {
    border-right: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
  }
}

.rs-attr-section-meet-opposite-tips-traps-win-win {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 1024px) {
  .rs-attr-section-meet-opposite-tips-traps-group {
    width: 100%;
  }
}

.rs-attr-section-meet-opposite-tips-traps-group h2 {
  margin-bottom: 2rem;
  font-weight: bold;
}

.rs-attr-section-meet-opposite-tips-traps-group strong {
  margin-bottom: 1rem;
}

.rs-attr-section-meet-opposite-tips-traps-group li {
  margin-left: 0;
  margin-bottom: 0.5rem;
}

.rs-attr-section-meet-opposite-tips-traps-group svg {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  fill: var(--primary-color);
  stroke: var(--primary-color);
  color: var(--primary-color);
}

.rs-attr-section-meet-opposite-see-it-in-action {
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.6);
  border-radius: 1rem;
}

@media screen and (max-width: 768px) {
  .rs-attr-section-meet-opposite-tips-traps {
    padding: 0;
    background: none;
  }

  .rs-attr-section-meet-opposite-tips-traps-group {
    padding: 0;
  }

  .rs-attr-section-meet-opposite-tips-traps-group:nth-of-type(2) {
    background: none;
  }
}

/* -----------------------------------------------
Communication Strengths Govern Functions Section
----------------------------------------------- */
.rs-attr-section-comm-strengths-overview-grid {
  display: flex;
}

.rs-attr-section-comm-strengths-overview-grid-item {
  display: flex;
  align-items: center;
  width: 50%;
  margin-top: 1rem;
}

.rs-attr-section-comm-strengths-overview-grid-item:first-of-type {
  margin-right: 2rem;
  padding-right: 2rem;
  border-right: 1px solid var(--attr-section-border-color);
}

@media screen and (max-width: 1024px) {
  .rs-attr-section-comm-strengths-overview-grid-item:first-of-type {
    margin-right: inherit;
    padding-right: inherit;
    border-right: none;
  }

  .rs-attr-section-comm-strengths-overview-grid {
    flex-direction: column;
  }

  .rs-attr-section-comm-strengths-overview-grid-item {
    width: 100%;
  }
}
