/* Subpage styling goes here. Excluded on homepage */

/*
SUBPAGE STRUCTURE
BLOG
TEMPLATES
*/

/*******************************************************************************************
SUBPAGE STRUCTURE - Non-critical page features
*******************************************************************************************/
.search-form {
  position: relative;
  display: flex;
}

.search-form input {
  height: 45px;
  padding: 20px;
  color: var(--color-body-text);
  border: 1px solid var(--color-gray-200);
}

.search-form label,
.search-form input::placeholder {
  color: var(--color-body-text);
}

.search-form button {
  padding: 0 12px;
  width: 45px;
  height: 45px;
  font-size: 1.1rem;
  border-radius: 0;
}


/*******************************************************************************************
BLOG - Posts, search results, and pagination
*******************************************************************************************/
.post {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-gray-200);
}

.post:last-child {
  padding-bottom: 0;
  border: none;
}

.post-head h1,
.post-head h2 {
  margin-bottom: 17px;
  padding: 0;
  font-size: 1.813rem;
  border: 0;
  line-height: 1.28;
}

.post-head h1 a,
.post-head h2 a {
  color: inherit;
  text-decoration: none;
}

.post-head {
  margin-bottom: 23px;
}

.post-body {
  display: block;
  margin-bottom: 25px;
}

.blog .post-body {
  gap: 30px;
}

.post-head-info {
  margin-bottom: 0;
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.6;
  gap: 2px;
}

.post-head-info a {
  color: var(--color-body-text);
}

.post-head-info a:hover,
.post-head-info a:focus {
  color: var(--color-alternate);
}

.post-head-info>div {
  padding: 6px 11px;
  background-color: rgba(50, 70, 104, 0.05);
}

.post-body-image img {
  max-width: 100%;
  display: block;
  height: 100%;
  object-fit: cover;
}

.post-body-image {
  margin-bottom: 15px;
}

.post-body-excerpt p:last-of-type {
  margin-bottom: 0;
}

.post-bottom {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: space-between;
}

.post-bottom a {
  line-height: 1;
}

.post-bottom-arrow i {
  margin-left: 6px;
}

@media screen and (min-width: 1025px) {
  .post-body {
    display: flex;
  }

  .post-body-image {
    margin: 0;
    /* flex-basis: 31.3%; */
    /* width: 31.3%; */
    max-width: 31.3%;
  }

  .post-body-content {
    flex: 1;
  }

  .single .post-body {
    display: block;
  }

  .single .post-body-image {
    margin: 0 0 30px;
    width: 100%;
  }

  .post-body-image~.post-body-excerpt {
    margin-left: 40px;
    width: 75%;
  }
}

/* BLOG > Blog Grid Style */
.blog-grid .post {
  padding-bottom: 0;
  border: 1px solid var(--color-primary);
}

.blog-grid .post-inner {
  padding: 30px;
}

.post-thumbnail-link {
  transition: opacity 200ms ease-out;
}

.post-thumbnail-link:focus,
.post-thumbnail-link:hover {
  opacity: 0.9;
}

.post-thumbnail-image {
  height: 175px;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-position-y: 100%;
  background-size: cover;
}

.blog-filters {
  margin-bottom: 40px;
}

.blog-filters-block:not(:last-of-type) {
  margin-bottom: 20px;
}

#blog-grid-pagination {
  margin-top: 50px;
}

.blog-grid .post,
.blog-filters-block {
  max-width: 380px;
}

@media screen and (min-width: 760px) {
  .blog-filters {
    margin-bottom: 60px;
    display: flex;
    justify-content: space-between;
  }

  .blog-filters-block {
    margin-bottom: 0 !important;
    width: 48%;
  }

  .blog-grid .post-inner {
    padding: 40px;
  }

  .blog-grid .post-head-info-authors {
    display: none;
  }

  .blog-grid .post {
    margin-bottom: 30px;
  }
}

@media screen and (min-width: 1025px) {
  .post-thumbnail-image {
    height: 250px;
  }

  .blog-filters {
    justify-content: flex-start;
  }

  .blog-filters-block:not(:last-of-type) {
    margin-right: 30px;
  }
}

/* BLOG > Page Navigation */
.wp-pagenavi {
  display: flex;
}

.wp-pagenavi a,
.wp-pagenavi span {
  margin: 0;
  margin-right: 15px;
  display: block;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  color: var(--color-body-text);
}

.wp-pagenavi span.current {
  font-weight: normal;
  text-decoration: underline;
  color: var(--color-gray);
}

.wp-pagenavi a:hover,
.wp-pagenavi a:focus {
  color: var(--color-gray);
}

.wp-pagenavi span.pages,
.wp-pagenavi span.extend {
  display: none;
}

.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink,
.wp-pagenavi .first,
.wp-pagenavi .last {
  display: inline-flex;
  align-items: center;
  width: auto;
  font-weight: bold;
  color: var(--color-alternate);
  border-radius: 0;
  background: none;
}

.wp-pagenavi .nextpostslink:hover,
.wp-pagenavi .nextpostslink:focus,
.wp-pagenavi .previouspostslink:hover,
.wp-pagenavi .previouspostslink:focus,
.wp-pagenavi .first:hover,
.wp-pagenavi .first:focus,
.wp-pagenavi .last:hover,
.wp-pagenavi .last:focus {
  color: var(--color-gray);
  background: none;
}

/*******************************************************************************************
TEMPLATES - Pre-built subpages
*******************************************************************************************/

/* TEMPLATES > Attorney Bios */
.content-tabs-anchor-links .content-tabs-row {
  margin: 0;
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  z-index: 1;
  background: rgba(15, 133, 119, 0.8);
}

.content-tabs-anchor-links .content-tabs-row button {
  margin: 0;
  position: relative;
  flex: 1;
  min-height: 60px;
  color: var(--color-white);
  background: none;
}

.content-tabs-anchor-links .content-tabs-row button:hover,
.content-tabs-anchor-links .content-tabs-row button:focus {
  background: var(--color-primary);
}

.content-tabs-anchor-links .content-tabs-row button:after {
  position: absolute;
  top: calc(50% - 7px);
  right: 0;
  width: 1px;
  height: 14px;
  background: var(--color-white);
  content: '';
}

.content-tabs-anchor-links .content-tabs-row button i {
  display: none;
}

.content-tabs-anchor-links .content-tabs-row button.active {
  color: var(--color-secondary);
  background: var(--color-white);
}

.content-tabs-anchor-links .content-tabs-row button:hover:after,
.content-tabs-anchor-links .content-tabs-row button:focus:after,
.content-tabs-anchor-links .content-tabs-row button.active:after {
  display: none;
}

/* TEMPLATES > Attorneys Landing */

/* Attorney Boxes */
.main-attorney-search {
  background: var(--color-light-gray);
}

.attorney-search-inner {
  display: block;
  outline: none;
  transition: filter 300ms ease-out, opacity 100ms ease-out;
}

.attorney-search-inner.search-running {
  filter: blur(12px);
  opacity: 0;
}

.attorney-single-box {
  margin-bottom: 30px;
  padding: 0;
  position: relative;
  text-decoration: none;
}

.attorney-results .attorney-single-box {
  width: 100%;
}

.attorney-result-image-container {
  position: relative;
  transition: all 200ms ease-out;
  background-image: var(--attorney-result-bg, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.attorney-result-image-container img {
  display: block;
  width: 100%;
}

.attorney-result-overlay {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  width: 100%;
  height: 100%;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  color: var(--color-white);
  background: rgba(24, 43, 75, 0.7);
  transition: all 200ms ease-out;
}

.attorney-single-box:hover,
.attorney-single-box:focus {
  text-decoration: none;
}

.attorney-single-box:hover .attorney-result-overlay,
.attorney-single-box:focus .attorney-result-overlay {
  opacity: 1;
}

.attorney-single-box .attorney-single-box-info {
  padding: 12px 0;
  text-align: center;
}

.attorney-single-box-info h2,
.attorney-single-box-info p {
  margin: 0;
}

.attorney-single-box h2 {
  font-size: 1.875rem !important;
}

.attorney-single-box-info p {
  color: var(--color-alternate);
  font-size: 1rem;
}

@media screen and (min-width: 650px) {
  .attorney-results {
    display: grid;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .attorney-single-box {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1025px) {
  .attorney-results {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 1025px) {
  .attorney-results {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Attorney Rows */
.attorney-single-row {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.attorney-row-link {
  margin: 0 auto;
  justify-content: center;
  max-width: 280px;
  transition: opacity 200ms ease-out;
}

.attorney-row-link:focus,
.attorney-row-link:hover {
  opacity: 0.9;
}

.attorney-row-info-main {
  padding-top: 20px;
  border-top: 2px solid var(--color-gray);
}

.attorney-row-additional span,
.attorney-row-info-main-contact span {
  display: block;
}

.attorney-single-row i {
  color: var(--color-primary);
}

.attorney-row-additional {
  margin-top: 6px;
}

.attorney-row-info-main-position {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

@media screen and (min-width: 790px) {
  .attorney-results-type-row {
    display: grid;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .attorney-single-row {
    margin-bottom: 0;
  }
}

@media screen and (min-width: 1025px) {
  .attorney-results.attorney-results-type-row {
    display: block;
  }

  .attorney-single-row {
    margin-bottom: 30px;
    flex-direction: row;
    text-align: left;
    border-bottom: 2px solid var(--color-gray);
  }

  .attorney-row-info-main-position,
  .attorney-single-row:last-of-type,
  .attorney-row-additional,
  .attorney-row-link {
    margin: 0;
  }

  .attorney-row-info {
    padding: 0 0 40px 5vw;
    display: flex;
    flex: 1;
  }

  .attorney-row-info-main {
    padding: 0;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: flex-end;
    border: none;
  }

  .attorney-row-info-main-contact {
    margin-top: 40px;
  }

  .attorney-row-additional {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 50%;
  }
}

/* Attorney Pops */
.attorney-results.attorney-results-type-pop {
  display: block;
}

.attorney-result-pop {
  display: none;
}

.attorney-result-pop-row {
  font-size: 1.1rem;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-gray);
}

.attorney-result-pop-cell {
  flex: 1;
  margin-bottom: 5px;
}

.attorney-result-pop-name {
  flex-basis: 30%;
  width: 30%;
  position: relative;
}

.attorney-result-pop-info {
  margin-left: 40px;
}

.attorney-result-pop-info p {
  margin-bottom: 0;
}

.attorney-result-pop-row i {
  color: var(--color-secondary);
  transition: color 200ms ease-out;
}

.attorney-result-pop-cell a {
  text-decoration: none;
}

.attorney-result-pop-cell>a {
  color: var(--color-primary);
}

.attorney-result-pop-name:hover>a,
.attorney-result-pop-cell a:hover,
.attorney-result-pop-cell a:focus {
  text-decoration: underline;
  color: var(--color-alternate);
}

.attorney-result-pop-info>a {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.attorney-result-pop-info a {
  color: white;
}

.attorney-result-pop-inner {
  display: flex;
  align-items: center;
}

.attorney-result-pop .attorney-result-pop-image img {
  max-width: 130px;
}

.attorney-result-pop {
  position: absolute;
  top: calc(100% - 115px);
  right: 0;
  padding: 30px;
  z-index: 1;
  background: var(--color-primary);
  height: 200px;
}

.attorney-result-pop-image {
  background: var(--color-gray);
  display: flex;
  flex-direction: column;
}

.attorney-result-pop::before {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 14px 15px 0;
  border-color: transparent var(--color-primary) transparent transparent;
  content: "";
  right: calc(100% - 1px);
  top: calc(50% - 15px);
  position: absolute;
}

.attorney-result-pop-vcard {
  margin-left: auto;
  flex-grow: 0;
}

.attorney-result-pop-vcard a:hover i,
.attorney-result-pop-vcard a:focus i {
  color: var(--color-alternate);
}

.attorney-result-pop-name-link {
  font-size: 1.3rem;
  display: block;
  margin-bottom: 8px;
}

@media screen and (min-width: 1025px) {
  .attorney-result-pop-cell {
    margin-bottom: 0;
  }

  .attorney-result-pop-name-link {
    margin-bottom: 0;
    font-size: inherit;
  }

  .attorney-result-pop-row {
    display: flex;
    width: 100%;
  }

  .attorney-result-pop-name:focus-within .attorney-result-pop,
  .attorney-result-pop-name:hover .attorney-result-pop {
    display: block;
    -webkit-animation: fadeinleftslight 200ms ease-out;
    animation: fadeInLeftSlight 200ms ease-out;
  }
}

/* TEMPLATES > Attorney Search */
.attorney-search-bar {
  margin-bottom: 40px;
  text-align: center;
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
}

.attorney-search-container-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

.attorney-search-bar-string span {
  font-weight: 600;
}

.attorney-search-bar-string span:not(:last-of-type):after {
  margin-right: 5px;
  content: ',';
}

.attorney-search-letters {
  margin-bottom: 40px;
}

.attorney-search-letters-single {
  padding: 0;
  display: inline-block;
  width: 30px;
  height: 30px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  color: var(--color-secondary);
  background: none;
}

#attorney-search-clear {
  display: none;
}

.search-results-displayed #attorney-search-clear {
  display: inline-block;
}

span.attorney-search-letters-single {
  color: var(--color-gray);
}

@media screen and (min-width: 700px) {
  .attorney-search-form .form-input-row {
    display: flex;
  }

  .form-input-group:first-of-type {
    margin-right: 15px;
  }
}

@media screen and (min-width: 1025px) {
  .attorney-search-letters {
    display: flex;
    justify-content: space-between;
  }
}

/* TEMPLATES > Practices Landing */
.practice-box {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
  color: var(--color-white);
  transition: 200ms ease-out;
  overflow: hidden;
  height: 150px;
}

.practice-box:after,
.practice-box:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(17, 45, 80, 1) 0%, rgba(17, 45, 80, 0) 100%);
  transition: 200ms ease-out;
  content: '';
  z-index: 1;
  pointer-events: none;
}

.practice-box:after {
  opacity: 0;
  visibility: hidden;
  background: var(--color-primary);
}

.practice-box:last-of-type {
  margin-bottom: 0;
}

.practice-box i {
  opacity: 0;
  visibility: hidden;
  transition: 200ms ease-out;
}

.practice-box img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
}

.practice-box span {
  margin: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
  font-size: 1.75rem;
  font-weight: 600;
  left: 0;
  bottom: 0;
  padding: 25px;
  transition: 200ms ease-out;
}

.practice-box:hover,
.practice-box:focus {
  color: var(--color-white);
}

.practice-box:focus i,
.practice-box:hover i {
  opacity: 1;
  visibility: visible;
}

.practice-box:hover:after,
.practice-box:focus:after {
  opacity: 1;
  visibility: visible;
}

@media screen and (min-width: 768px) {
  .practice-box-list {
    display: grid;
    grid-row-gap: 20px;
    grid-column-gap: 20px;
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-box {
    margin-bottom: 0;
  }
}

/* TEMPLATES > Video Gallery */
.videos-filter {
  margin-bottom: 50px;
}

@media screen and (min-width: 1025px) {
  .videos-filter {
    max-width: 450px;
  }
}

/* TEMPLATES > Contact */
.office-block {
  margin-bottom: 30px;
}

.office-block-image {
  width: 100%;
  height: 300px;
  display: block;
  background-repeat: no-repeat;
  background-position-x: 50%;
  background-size: cover;
}

.office-block-info {
  padding: 30px;
  position: relative;
  background: var(--color-light-gray);
}

.office-block-info p {
  margin: 0;
}

.office-contact {
  margin-top: 30px;
}

.office-contact p {
  font-weight: 700;
}

.office-block-info-inner {
  width: 100%;
}

.office-contact-map {
  position: absolute;
  right: 0;
  bottom: 0;
}

@media screen and (min-width: 1025px) {
  .office-block {
    display: flex;
  }

  .office-block-image {
    display: flex;
    flex-basis: 250px;
    width: 250px;
    height: 250px;
  }

  .office-block-info {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    align-items: center;
  }
}

/* TEMPLATES > Contact Full */
.page-template-template-contact-full main {
  padding: 160px 0 80px;
  position: relative;
  background-image: url('../images/hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}

.page-template-template-contact-full .footer {
  padding-top: 30px;
  padding-bottom: 30px;
}

.contact-full-container {
  position: relative;
  display: flex;
  flex-wrap: wrap;
}

.contact-full-inner {
  width: 100%;
  background: var(--color-gray-300);
}

.contact-full-content {
  padding: var(--gutter-size);
  margin-bottom: 0;
  color: var(--color-white);
}

.contact-full-content h1,
.contact-full-content h2,
.contact-full-content h3,
.contact-full-content h4,
.contact-full-content h5,
.contact-full-content h6 {
  color: inherit;
}

.contact-full-content p a {
  font-weight: bold;
}

.contact-full-map {
  width: 100%;
  height: 220px;
}

.contact-full-sidebar .form-container {
  background: none;
  padding: 0;
}

.contact-full-sidebar input,
.contact-full-sidebar textarea {
  background: var(--color-white);
  color: var(--color-black);
}

.contact-full-sidebar label {
  color: var(--color-black);
}

.office-info {
  display: -webkit-flex;
  display: -moz-flex;
  display: -o-flex;
  display: flex;
  align-items: center;
  gap: 10px;
}

.office-info a {
  color: inherit;
  text-decoration: none;
}

.office-info a:hover,
.office-info a:focus {
  color: var(--color-secondary);
  text-decoration: underline;
}

@media screen and (min-width: 768px) {
  .contact-full-inner {
    padding: 70px 80px 100px;
    display: flex;
  }

  .contact-full-content {
    padding: 0;
    width: 235px;
  }

  .contact-full-content address {
    margin-bottom: 80px;
  }

  .contact-full-sidebar {
    margin-left: 35px;
    flex: 1;
  }
}

@media screen and (min-width: 1025px) {
  .page-template-template-contact-full main {
    padding: 0;
    height: 100vh;
  }

  .contact-full-container {
    padding-top: 200px;
    padding-bottom: 100px;
    align-items: center;
    /* height: 100vh; */
  }
}

@media screen and (max-height: 750px) and (min-width: 1025px) {

  .page-template-template-contact-full main,
  .contact-full-container {
    height: 100%;
  }

  .contact-full-container {
    padding: 0;
  }

  .page-template-template-contact-full main {
    padding: 160px 0 100px;
  }
}

/* TEMPLATES > Attorney Bios */
.content-tabs-row {
  margin-bottom: 30px;
  display: none;
  flex-wrap: wrap;
}

.content-tabs-row-inner {
  display: flex;
}

.content-tabs-row .content-tab-activate {
  margin-right: 10px;
}

.content-tab-activate {
  flex: 1;
  border-radius: 0;
}

.content-tab-activate.active {
  background: var(--color-primary);
  pointer-events: none;
}

.content-tab {
  margin-bottom: 50px;
  display: none;
}

.content-tab.active {
  -webkit-animation: fadein 200ms ease-out;
  animation: fadeIn 200ms ease-out;
}

.content-tab.active,
.content-tabs-anchor-links .content-tab {
  display: block;
}

.content-tabs-anchor-links .mobile-tab {
  display: none;
}

.content-tabs-select {
  margin: 0 auto 30px;
  display: none;
}

.content-tabs-anchor-links .content-tabs-select {
  display: block;
}

.mobile-tab {
  margin-bottom: 20px;
  padding: 20px 30px;
  position: relative;
  width: 100%;
  text-align: left;
}

.mobile-tab:after {
  position: absolute;
  right: 15px;
  font-family: var(--font-family-icon);
  content: '\f0d7';
}

@media screen and (min-width: 1025px) {
  .content-tabs {
    display: flex;
    flex-wrap: wrap;
  }

  .content-tabs-row {
    display: block;
  }

  .mobile-tab,
  .content-tabs-anchor-links .content-tabs-select {
    display: none;
  }
}

/* TEMPLATES > Long-Form */
.banner-xl {
  padding: 50px 0;
  background-color: rgb(20, 23, 47);
  background-image: linear-gradient(180deg, rgba(20, 23, 47, 1) 46%, rgba(36, 42, 88, 1) 100%);
}

.banner-xl-content p:last-child {
  margin: 0;
}

.banner-xl-image {
  text-align: center;
}

.banner-xl-title {
  font-size: 3.5rem;
  line-height: 1.4;
}

.banner-xl-image img {
  margin: 0 auto;
  max-width: 70%;
}

@media screen and (min-width: 1100px) {
  .banner-xl-inner {
    display: flex;
    align-items: center;
  }

  .banner-xl-image img {
    max-width: 100%;
  }

  .banner-xl-content {
    padding-left: 60px;
    flex: 1;
  }
}

.top-table-contents {
  padding: 50px 0;
  background: #e5e8f6;
}

.top-table-contents-button {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.2rem;
  text-align: center;
  text-decoration: none !important;
}

.top-table-contents-icon-container {
  margin-bottom: 15px;
}

.top-table-contents-inner {
  display: grid;
  grid-row-gap: 20px;
  grid-column-gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

.top-table-contents-button-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-secondary);
  transition: all 200ms ease-out;
}

.top-table-contents-button i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--color-white);
}

.top-table-contents-button-icon:hover,
.top-table-contents-button-icon:focus {
  background: var(--color-alternate);
  transform: scale(1.03);
}

.is-sticky .top-table-contents {
  padding: 20px 0;
}

.is-sticky .top-table-contents-button-icon {
  width: 30px;
  height: 30px;
}

.is-sticky .top-table-contents-button i {
  font-size: 1rem;
}

.is-sticky .top-table-contents-icon-container {
  margin: 0 12px 0 0;
}

.is-sticky .top-table-contents-title {
  display: none;
}

.is-sticky .top-table-contents-button {
  margin: 0 auto 0 0;
  flex-direction: row;
}

.single-chapter-banner-title h2 {
  margin: 0;
  font-size: 2.4rem;
}

.single-chapter-banner-image {
  margin-bottom: 20px;
}

.single-chapter:nth-child(2n) {
  background: var(--color-light-gray);
}

.single-chapter-banner {
  background: var(--color-primary);
}

.single-chapter-content,
.single-chapter-banner {
  padding: 30px 0;
}

@media screen and (min-width: 1025px) {
  .single-chapter-banner-inner {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
  }

  .single-chapter-banner-image {
    margin-bottom: 0;
    padding-left: 5vw;
  }

  .single-chapter-banner-title h2 {
    margin: 0;
    font-size: 3.2rem;
  }
}

@media screen and (min-width: 1025px) {
  .top-table-contents-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* TEMPLATES > Confirmation */
.confirm-contact {
  margin-bottom: 10px;
  display: flex;
  flex-wrap: wrap;
}

.confirm-contact a:not(:last-child) {
  margin-right: 20px;
}

.confirm-social {
  margin-bottom: 60px;
}

/* TEMPLATES > Reviews */
.review-social {
  margin: 40px 0;
}

.review-social .social-links {
  justify-content: flex-start;
  max-width: none;
}

.review-social .social-links a {
  margin: 0 15px 0 0;
  width: 50px;
  height: 50px;
  font-size: 1.7rem;
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  transition: all 200ms ease-out;
}

.review-social .social-links a:focus,
.review-social .social-links a:hover {
  opacity: 0.85;
  background: var(--color-light-gray);
}

.review-stars i {
  font-size: 2rem;
  color: var(--color-secondary);
}

/* TEMPLATES > Testimonials */
.content-testimonial-single:not(:last-child) {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-gray);
}

.content-testimonial-stars {
  font-size: 1.5rem;
}

.content-testimonial-source {
  display: block;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.content-testimonial-source:before {
  margin-right: 6px;
  display: inline-block;
  content: '-';
}

/* ABOUT */
.about {
  margin-bottom: 33px;
  padding-top: 26px;
}

.about>.row {
  max-width: calc(1080px + var(--gutter-size) * 2);
}

.about-text {
  margin-bottom: 32px;
  font-weight: 500;
}

.about h2 {
  margin-bottom: 5px;
  font-size: 2.25rem;
}

.about h3 {
  margin-bottom: 9px;
  font-size: 1.375rem;
  color: var(--color-alternate);
  text-transform: uppercase;
  line-height: 1.6;
}

.about p {
  margin-bottom: 28px;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.about-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.about-image img {
  width: 100%;
}

@media screen and (min-width: 768px) {
  .about {
    margin-bottom: 93px;
    padding-top: 62px;
  }

  .about-holder {
    display: flex;
    flex-wrap: wrap;
  }

  .about-text {
    margin-bottom: 0;
    padding-right: 30px;
    width: 64%;
    line-height: 1.8;
  }

  .about-image {
    width: 36%;
  }

  .about h2 {
    margin-bottom: 20px;
    font-size: 2.813rem;
  }

  .about h3 {
    margin-bottom: 17px;
    font-size: 1.688rem;
    line-height: 1.3;
  }

  .about p {
    margin-bottom: 30px;
  }
}

/* LEGACY */
.legacy {
  padding-top: 40px;
  padding-bottom: 34px;
  position: relative;
  background-color: var(--color-blue);
}

.legacy>.row {
  max-width: calc(1080px + var(--gutter-size) * 2);
}

.legacy-holder {
  position: relative;
  z-index: 1;
  color: var(--color-white);
}

.legacy-left {
  margin-bottom: 25px;
}

.legacy h2 {
  margin-bottom: 16px;
  font-size: 2.25rem;
  color: inherit;
  text-transform: uppercase;
}

.legacy-subtitle {
  padding-left: 32px;
  position: relative;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-secondary);
  line-height: 1.55;
}

.legacy-subtitle:before {
  position: absolute;
  top: 0;
  left: 3px;
  width: 3px;
  height: 0;
  background-color: var(--color-secondary);
  transition: 1s .5s ease-out;
  content: '';
  pointer-events: none;
}

.legacy-subtitle.animated:before {
  height: 100%;
}

.legacy-right {
  font-size: 1.125rem;
  line-height: 1.56;
}

.legacy p {
  margin-bottom: 28px;
}

.legacy p:last-of-type {
  margin-bottom: 0;
}

.legacy-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.legacy-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (min-width: 768px) {
  .legacy {
    padding-top: 104px;
    padding-bottom: 119px;
  }

  .legacy h2 {
    margin-bottom: 27px;
    font-size: 2.813rem;
  }

  .legacy p {
    margin-bottom: 30px;
  }

  .legacy-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .legacy-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 0;
    width: 48%;
  }

  .legacy-right {
    width: 48%;
  }

  .legacy-subtitle {
    padding-left: 39px;
    padding-top: 136px;
    line-height: 1.6;
  }
}

@media screen and (min-width: 1025px) {
  .legacy-left {
    width: 43%;
  }

  .legacy-right {
    width: 44.6%;
  }
}

/* FOUNDER */
.founder {
  margin-bottom: 45px;
  padding-top: 46px;
  position: relative;
}

.founder>.row {
  max-width: calc(1080px + var(--gutter-size) * 2);
}

.founder h2 {
  margin-bottom: 26px;
  font-size: 2.25rem;
  text-transform: uppercase;
  text-align: center;
}

.founder-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  overflow: hidden;
}

.founder-heading {
  position: absolute;
  bottom: -108px;
  left: 50%;
  font-size: 20.5rem;
  font-family: var(--font-family-heading), sans-serif;
  color: rgba(50, 70, 104, 0.05);
  transform: translateX(-50%);
  white-space: nowrap;
  line-height: 1;
  letter-spacing: -0.563rem;
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .founder {
    margin-bottom: 161px;
    padding-top: 72px;
  }

  .founder h2 {
    margin-bottom: 36px;
    font-size: 2.813rem;
  }

  .founder-inner {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* BLOCK-FOUNDER */
.block-founder {
  margin-bottom: 25px;
  position: relative;
  display: block;
  width: 100%;
  color: var(--color-white);
  text-decoration: none;
}

.block-founder:before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(17, 45, 80, 0) 50%, #112D50 100%);
  content: '';
  pointer-events: none;
}

.block-founder img {
  width: 100%;
}

.block-founder-text {
  padding: 0 15px;
  position: absolute;
  bottom: -25px;
  left: 0;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.block-founder-text h5 {
  margin-bottom: 0;
  font-size: 1.563rem;
  color: inherit;
}

.block-founder-text span {
  margin-bottom: 13px;
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.188rem;
}

.block-founder-text i {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  font-size: 1.063rem;
  color: var(--color-black);
  background-color: var(--color-secondary);
  transition: 200ms ease-out;
}

.block-founder:focus,
.block-founder:hover {
  color: var(--color-white);
}

.block-founder:focus .block-founder-text i,
.block-founder:hover .block-founder-text i {
  color: var(--color-secondary);
  background-color: var(--color-primary);
}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}

/* COPY */
.copy {}

@media screen and (min-width: 768px) {}

@media screen and (min-width: 1025px) {}