/* Guide Page */

.single.guide-page .content-sidebar-wrap > .content,
.single.guide-page .content-sidebar-wrap > .content > .entry,
.single.guide-page .content-sidebar-wrap > .content > .entry > .entry-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.single.guide-page .guide-section[data-section-type="header"] {
    background-color: var(--tto-navy-blue);
    position: relative;
    padding: 9rem 0;
    overflow: hidden;
    z-index: 1;
}

.guide-section[data-section-type="header"] .header-elements {
    transform: scale3D(1, 2, 1) translateY(-25%);
    z-index: -1;
}

.guide-section[data-section-type="header"] .guide-section--wrap {
    width: var(--theme-wrap-width);
    max-width: var(--theme-wrap-max-width);
    margin: 0 auto;
    z-index: 3;
}

.guide-section[data-section-type="header"] .guide-section--inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 70%;
    max-width: 650px;
}

.guide-section[data-section-type="chapter"] {
    scroll-margin-top: 120px;
    outline: none;
}

.single.guide-page .guide-content {
    position: relative;
    padding: calc(9rem + 54px) 0 17rem;
}

.single.guide-page .guide-content .sub-header-element {
    content: '';
	background-color: transparent;
    position: absolute;
    display: block;
    width: 100%;
	max-width: 1500px;
    height: 54px;
    top: 0;
	left: auto;
    margin: 0 auto;
    z-index: 9;
}

.single.guide-page .guide-content .sub-header-element:before {
	content: '';
    background-color: #1398e3;
    position: absolute;
    display: block;
    width: 120%;
    height: 100%;
    top: 0;
    left: -20%;
    clip-path: polygon(0 0, 16.7% 100%, 51.7% 0, 0 0);
    z-index: 1;
}

.guide-content--wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    row-gap: 4rem;
    column-gap: 6rem;
    width: var(--theme-wrap-width);
    max-width: var(--theme-wrap-max-width);
    margin: 0 auto;
}

.guide-header--title h1 {
    color: #fff;
    font-size: 6rem;
}

.single.guide-page .entry-content .guide-header--tagline p {
    color: #fff;
}

.guide-header--tagline p strong {
    display: block;
    color: var(--tto-sky-blue);
    font-weight: inherit;
}

.guide-header--authors {
    display: flex;
    flex-wrap: wrap;
    row-gap: 3rem;
    column-gap: 4rem;
}

.guide-header--authors .tto-article--author {
    flex: 0 1 auto;
}

.single.guide-page .guide-header--authors .tto-article--author-name p {
    color: #fff;
}

.single.guide-page .guide-header--authors .tto-article--author-link:hover .tto-article--author-name p {
    color: var(--tto-sky-blue);
}

.single.guide-page .entry-content h2 {
    color: #000;
    font-size: 3.4rem;
    line-height: 1.03;
}

.single.guide-page .entry-content h3 {
    color: #000;
    font-weight: 700;
    line-height: 1.4;
}

.single.guide-page .entry-content h4 {
    color: #000;
}

.single.guide-page .entry-content p,
.single.guide-page .entry-content li {
    color: #000;
    font-size: 2rem;
}

.single.guide-page .guide-section .intro-tagline p {
    font-size: 2.4rem;
}

.guide-chapter-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 6rem 0;
}

.single.guide-page .guide-chapter-box--link {
    background-color: #1b447a;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 1rem;
    padding: 2.5rem;
    border-radius: var(--tto-border-radius);
    pointer-events: all;
    cursor: pointer;
    transition: 0.25s ease-in-out all;
}

.single.guide-page .guide-chapter-box--link:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0px 5px 9px rgba(0, 0, 0, 0.17);
}

.single.guide-page .guide-chapter-box--number p {
    color: var(--tto-sky-blue);
    font-size: 1.8rem;
}

.single.guide-page .guide-chapter-box--title p {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.38;
}

.guide-chapter-box--icon {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.guide-chapter-box--icon img,
.guide-chapter-box--icon svg {
    width: 20px;
    height: 20px;
    margin: 0 !important;
    border-radius: 0 !important;
}

.guide-reference-copy:not(:last-child) {
    margin: 0 0 3rem;
}

.guide-reference--number {
    color: #05809e;
    font-weight: 700;
    pointer-events: all;
    cursor: pointer;
    transition: 0.25s ease-in-out all;
}

.guide-reference--number:hover {
    color: var(--tto-sky-blue);
}

.data-callout {
    margin: 6rem 0;
    padding: 9rem 6rem;
    border-radius: var(--tto-border-radius);
    overflow: hidden;
}

.data-callout:before {
    opacity: 0.7;
}

.entry-content .data-callout p,
.entry-content .data-callout span {
    color: #fff;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1.03;
    text-shadow: 0px 3px 7px rgba(0, 0, 0, 0.27);
}

.entry-content .data-callout span.guide-reference--number {
    color: var(--tto-sky-blue);
}

.entry-content .data-callout span.guide-reference--number:hover {
    color: #05809e;
}

.entry-content .data-callout p strong,
.entry-content .data-callout span strong {
    font-size: 4.5rem;
}

.single.guide-page .guide-section--header {
    background-color: var(--tto-navy-blue);
    position: relative;
    width: calc(100% + 6rem + 300px);
    margin: 9rem 0;
    padding: 6rem;
    border-radius: var(--tto-border-radius);
    overflow: hidden;
    z-index: 1;
}

.guide-section--header:before,
.guide-section--header:after {
    content: '';
    background-image: url(/wp-content/themes/321-web-marketing/assets/images/section/guide-chapter-bottom-left.svg);
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    position: absolute;
    display: block;
    width: 100%;
    max-width: 650px;
    height: 100%;
    top: auto;
    bottom: 0;
    left: 0;
    z-index: 2;
}

.guide-section--header:after {
    background-image: url(/wp-content/themes/321-web-marketing/assets/images/section/guide-chapter-top-right.svg);
    background-position: top right;
    top: 0;
    left: auto;
    right: 0;
}

.guide-section--header-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 0 300px;
    z-index: 3;
}

.guide-section--header-icon img,
.guide-section--header-icon svg {
    color: #fff;
    width: 60px;
    height: 60px;
    margin: 0 !important;
}

.single.guide-page .guide-section--header-tagline p {
    color: var(--tto-sky-blue);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.38;
}

.single.guide-page .guide-section--header-title h2 {
    color: #fff;
    text-align: center;
}

.single.guide-page .guide-section--header-description p {
    color: #fff;
    text-align: center;
}

.guide-content--copy {
    position: relative;
    z-index: 1;
}

.guide-content--sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 9rem;
    z-index: 2;
}

body.single.guide-page .entry-content .gb-block-layout-column-inner > .wp-block-image:not(.not-styled) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 0;
    padding: 0 !important;
}

body.single.guide-page .entry-content .gb-block-layout-column-inner > .wp-block-image:not(.not-styled):before {
    display: none;
}

.guide-chapter--content > .wp-block-image,
.guide-chapter--content > .wp-block-genesis-blocks-gb-columns {
    margin: 6rem 0;
}

.guide-chapter--content > .wp-block-image,
.guide-chapter--content > .wp-block-genesis-blocks-gb-columns .wp-block-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    overflow: visible !important;
}

.guide-chapter--content > .wp-block-image img,
.guide-chapter--content > .wp-block-genesis-blocks-gb-columns .wp-block-image img {
    aspect-ratio: unset !important;
    border: 1px solid #cdcdcd;
    border-radius: var(--tto-border-radius);
    box-shadow: 0px 6px 13px -4px rgba(0, 0, 0, 0.17);
    overflow: hidden;
}

.single.guide-page .wp-block-image figcaption {
    flex-direction: column;
    color: #000;
    font-size: 1.5rem;
    margin: 0;
    text-align: center;
}

.guide-tooltip {
    background-image: linear-gradient(90deg, #07c3f2, #3d8fe6, #4694e7);
    padding: 4rem;
    border-radius: var(--tto-border-radius);
    overflow: hidden;
}

.guide-tooltip[style*="background-image"]:before {
    opacity: 1;
    background: linear-gradient(254.84deg, rgba(0, 0, 0, 0.6) 21.61%, rgba(0, 0, 0, 0.9) 78.39%);
}

.guide-tooltip .gb-block-layout-column-inner {
    display: grid;
    grid-template-columns: 150px 1fr;
    align-items: center;
    row-gap: 1.5rem;
    column-gap: 3rem;
    width: 100%;
    max-width: 650px;
}

.guide-tooltip .wp-block-image {
    grid-row: 1 / span 2;
}

.guide-tooltip img {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.single.guide-page .guide-tooltip p {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.1);
}

.single.guide-page .guide-tooltip a.button {
    font-size: 1.8rem;
    text-transform: none;
}

.single.guide-page .button-examples,
.single.guide-page .social-examples {
    background-color: #f5f5f5;
    margin: 6rem 0;
    padding: 3rem;
    border-left: 3px solid var(--tto-sky-blue);
    border-radius: 2px;
    box-shadow: 1px 1px 3px 0 rgba(0, 0, 0, 0.15);
}

.single.guide-page .button-examples .gb-container-content {
    display: flex;
    flex-wrap: wrap;
    row-gap: 1.5rem;
    column-gap: 2.5rem;
}

.single.guide-page .button-examples .custom-button {
    width: auto;
}

.single.guide-page .social-examples .gb-container-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6rem;
    padding: 3rem 0;
}

.single.guide-page .social-examples svg {
    color: #4694e7;
    font-size: 5rem;
}

.guide-section--articles {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 6rem 0 0;
}

.guide-section--articles-loop {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 816px;
}

.single.guide-page .tto-article--content-title h4 {
    line-height: 1.4;
}

.single.guide-page .tto-article--content-image-copy p {
    color: #fff;
    font-size: 1.2rem;
}

.single.guide-page .tto-article--content-description p {
    color: #4e4e4e;
    font-size: 1.5rem;
}

.single.guide-page .tto-article--author-name p {
    font-size: 1.4rem;
}

.guide-section[data-section-type="outro"] {
    margin: 9rem 0 0;
    padding: 9rem 0 0;
    border-top: 1px solid #d6d6d6;
}

.guide-section[data-section-type="outro"] .guide-section--inner {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.guide-section[data-section-type="outro"] .custom-button {
    margin: 0 0 4rem;
}

.guide-outro--references {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.guide-outro--references-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.single.guide-page .guide-reference p {
    font-size: 1.6rem;
    line-height: 1.7;
    pointer-events: all;
    cursor: pointer;
    transition: 0.25s ease-in-out all;
}

.single.guide-page .guide-reference p:hover {
    color: var(--tto-sky-blue);
}

.single.guide-page .guide-reference p .chapter-number {
    color: #05809e;
    font-weight: 600;
    margin-right: 0.5rem;
}

.single.guide-page .share-post-buttons {
    align-items: flex-start;
}

.single.guide-page .guide-outro--references-heading p,
.single.guide-page .entry-content .share-heading p,
.single.guide-page .guide-outro--authors-heading p {
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
}

.guide-outro--authors {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.guide-outro--authors-list {
    display: flex;
    flex-wrap: wrap;
    row-gap: 3rem;
    column-gap: 4rem;
}

.guide-outro--authors-list .tto-article--author {
    flex: 0 1 auto;
}

.single.guide-page .guide-sidebar--article {
    margin: 3rem 0 0;
    padding: 3rem 0 0;
    border-top: 1px solid #d6d6d6;
}

.single.guide-page .guide-sidebar--articles-heading h3 {
    color: #000;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
}

.guide-sidebar--article-link {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    height: 100%;
}

.single.guide-page .guide-sidebar--article-title h4 {
    color: #000;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.4;
    transition: 0.25s ease-in-out all;
}

.single.guide-page .guide-sidebar--article-link:hover .guide-sidebar--article-title h4 {
    color: #05809e;
}

.single.guide-page .guide-sidebar--article-description p {
    color: #4e4e4e;
    font-size: 1.4rem;
    line-height: 1.5;
}

.guide-sidebar--chapters {
    flex: 1;
}

.single.guide-page .guide-sidebar--chapters-box {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    gap: clamp(1.3rem, 1.92vh, 2rem);
    padding: clamp(1.3rem, 1.92vh, 2rem);
    border: 1px solid #d6d6d6;
    border-radius: var(--tto-border-radius);
    box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.17);
}

.single.guide-page .guide-sidebar--chapters-box .share-post-buttons {
    align-items: center;
    margin: clamp(0.3rem, 0.46vh, 0.5rem) 0 0;
}

.guide-sidebar--chapters-box .share-heading {
    display: none;
}

.single.guide-page .guide-sidebar--chapters-box .share-ctas {
    gap: clamp(1.1rem, 1.56vh, 1.5rem);
}

.guide-sidebar--chapters-box .share-ctas .share-cta,
.guide-sidebar--chapters-box .share-ctas .sharrre {
    width: clamp(2.7rem, 3.74vh, 3.6rem);
    height: clamp(2.7rem, 3.74vh, 3.6rem);
}

.guide-sidebar--chapters-box .share-ctas .share-cta svg,
.guide-sidebar--chapters-box .share-ctas .sharrre .box svg {
    width: clamp(1.5rem, 2.08vh, 2rem);
    height: clamp(1.5rem, 2.08vh, 2rem);
}

.guide-sidebar--chapter {
    display: flex;
}

.single.guide-page .guide-sidebar--chapter a {
    color: #000;
    font-size: clamp(1.2rem, 1.67vh, 1.6rem);
    font-weight: 500;
    line-height: 1.5;
    pointer-events: all;
    cursor: pointer;
    transition: var(--tto-transition);
}

.single.guide-page .guide-sidebar--chapter:not(.active) a:hover {
    color: #05809e;
}

.single.guide-page .guide-sidebar--chapter.active a {
    color: #1c75d4;
    pointer-events: none;
    cursor: default;
}

body .modal[data-modal-type="reference-modal"] {
    z-index: 9999999999;
}

body .modal[data-modal-type="reference-modal"] .modal-dialog {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 85vw;
	height: 100%;
	margin: 0 auto;
	transform: none;
	overflow: hidden;
}

body .modal[data-modal-type="reference-modal"] .modal-content {
	background: transparent;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
	width: 100%;
	max-width: 960px;
	height: auto;
	max-height: 550px;
	margin: 0 auto;
    border: none;
    transform: translateY(-5rem);
}

body .modal[data-modal-type="reference-modal"] .modal-header {
	justify-content: flex-end;
	width: 100%;
	height: auto;
	padding: 0;
    border-bottom: 0;
}

body .modal[data-modal-type="reference-modal"] .modal-header .btn-close {
	background: none;
	position: relative;
	display: block;
	height: fit-content;
	width: 25px;
	height: 25px;
	margin: 0;
	padding: 0;
    box-shadow: none;
	pointer-events: all;
	cursor: pointer;
	outline: none;
    opacity: 1;
	z-index: 2;
}

body .modal[data-modal-type="reference-modal"] .modal-header .btn-close:before {
	content: '\f00d';
	display: none;
	font-weight: 900;
	font-family: 'Font Awesome 6 Pro';
}

body .modal[data-modal-type="reference-modal"] .modal-header .btn-close svg {
	position: absolute;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	color: #fff;
	opacity: 0.6;
	transition: 0.25s ease-in-out opacity;
}

body .modal[data-modal-type="reference-modal"] .modal-header .btn-close:hover svg {
	opacity: 1;
}

body .modal[data-modal-type="reference-modal"] .modal-body {
	background-color: #fff;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
    height: 100%;
	padding: 5rem;
	overflow-y: scroll;
}

body .modal[data-modal-type="reference-modal"] .modal-body::-webkit-scrollbar {
	-webkit-appearance: none;
	appearance: none;
	width: 7px;
}

body .modal[data-modal-type="reference-modal"] .modal-body::-webkit-scrollbar-thumb {
	border-radius: 5px;
	background-color: rgba(0, 0, 0, .4);
	-webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .4);
	box-shadow: 0 0 1px rgba(255, 255, 255, .4);
}

.modal-body--header p {
    color: #000;
    font-size: 2.4rem;
    font-weight: 700;
}

.modal-body--link p {
    color: #000;
    font-size: 1.7rem;
    font-weight: 500;
    line-height: 1.7;
}

.modal-body--link p .num {
    color: #05809e;
    font-weight: 700;
}

.modal-body--link p a {
    color: #000;
}

.modal-body--link p a:hover {
    color: var(--tto-sky-blue);
}

.modal-body--link p a .icon {
    color: inherit;
}

@media (max-width: 1195px) {
    .guide-section--header-container {
        padding: 0 300px 0 0;
    }
}

@media (max-width: 991px) {
    .guide-content--wrap {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .guide-content--copy {
        display: contents;
    }

    .guide-section[data-section-type="intro"] {
        order: -2;
    }

    .guide-content--sidebar {
        order: -1;
        gap: 6rem;
        padding: 6rem 0 0;
    }

    .guide-sidebar--chapters {
        width: fit-content;
        margin: 0 auto;
    }

    .guide-sidebar--chapters .moving-copy {
        position: unset !important;
    }

    .single.guide-page .guide-sidebar--chapters-box {
        gap: 2rem;
        padding: 2rem;
    }
    
    .single.guide-page .guide-sidebar--chapters-box .share-post-buttons {
        margin: 0.5rem 0 0
    }
    
    .single.guide-page .guide-sidebar--chapters-box .share-ctas {
        gap: 1.5rem;
    }
    
    .guide-sidebar--chapters-box .share-ctas .share-cta,
    .guide-sidebar--chapters-box .share-ctas .sharrre {
        width: 3.6rem;
        height: 3.6rem;
    }
    
    .guide-sidebar--chapters-box .share-ctas .share-cta svg,
    .guide-sidebar--chapters-box .share-ctas .sharrre .box svg {
        width: 2rem;
        height: 2rem;
    }
    
    .single.guide-page .guide-sidebar--chapter a {
        font-size: 1.6rem;
    }

    .single.guide-page .guide-section--header {
        width: 100%;
    }

    .guide-section--header-container {
        padding: 0;
    }
}

@media (max-width: 767px) {
    .single.guide-page .guide-section[data-section-type="header"] {
        padding: 8rem 0;
    }

    .guide-section[data-section-type="header"] .guide-section--inner {
        width: 100%;
        max-width: 100%;
    }

    .guide-header--title h1 {
        font-size: 4.8rem;
    }

    .single.guide-page .entry-content p,
    .single.guide-page .entry-content li {
        font-size: 1.8rem;
    }

    .single.guide-page .guide-chapter-box--number p {
        font-size: 1.8rem;
    }
    
    .single.guide-page .guide-chapter-box--title p {
        font-size: 2.2rem;
    }

    .single.guide-page .guide-content {
        padding: 8rem 0;
    }

    .single.guide-page .guide-content .sub-header-element {
        display: none;
    }

    .guide-content--wrap {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 var(--theme-wrap-padding-mobile);
    }

    .single.guide-page .guide-section .intro-tagline p {
        font-size: 2.2rem;
    }

    .guide-chapter-boxes {
        display: flex;
        flex-direction: column;
    }

    .single.guide-page .guide-sidebar--article-description p {
        font-size: 1.6rem;
    }

    .single.guide-page .guide-section--header {
        width: calc(100% + 12vw);
        margin: 8rem 0 8rem -6vw;
        padding: 8rem var(--theme-wrap-padding-mobile);
        border-radius: 0;
    }

    .guide-section--header:before,
    .guide-section--header:after {
        max-width: 450px;
    }

    .single.guide-page .guide-section--header-tagline p {
        font-size: 2.2rem;
    }

    .guide-tooltip {
        width: calc(100% + 12vw);
        margin: 6rem 0 6rem -6vw !important;
        padding: 8rem var(--theme-wrap-padding-mobile);
        border-radius: 0;
    }

    .guide-tooltip .gb-block-layout-column-inner {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .single.guide-page .guide-tooltip p {
        font-size: 2.2rem;
    }

    .guide-tooltip img {
        max-height: 100px;
    }
    
    .guide-chapter--content > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap {
        display: flex;
        flex-direction: column;
        gap: 6rem;
    }

    .guide-chapter--content > .wp-block-image img,
    .guide-chapter--content > .wp-block-genesis-blocks-gb-columns .wp-block-image img {
        width: auto !important;
        margin: 0 auto;
    }

    .single.guide-page .guide-outro--references-heading p,
    .single.guide-page .entry-content .share-heading p,
    .single.guide-page .guide-outro--authors-heading p {
        font-size: 2.2rem;
    }

    .single.guide-page .tto-article--author-name p {
        font-size: 1.4rem;
    }

    .single.guide-page .tto-article--content-image-copy p {
        font-size: 1.2rem;
    }

    .single.guide-page .tto-article--content-description p {
        font-size: 1.5rem;
    }

    .guide-section--articles-loop {
        display: flex;
        flex-direction: column;
        gap: 6rem;
        max-width: 400px;
        margin: 0 auto;
    }

    .guide-section--articles-heading h3 {
        text-align: center;
    }

    .single.guide-page .guide-reference p {
        font-size: 1.6rem;
    }

    .data-callout {
        padding: 8rem 6vw;
    }
}

@media (max-width: 600px) {
    .guide-section--header:before,
    .guide-section--header:after {
        display: none;
    }
}