:root {
	--brand-blue: #133F4F;
	--dark-blue: #0d2e39;
	--default-border: #BFBFBF;
	--border-dark: #3d3d3d;
	--dark-background: #2a322a;
    --brand-purple: #4E3347;
    --brand-yellow: #F7C55C;
    --brand-red: #E8242A;
    --gray-bkg: #F1F1F1;
    --_active-tab-border-color: #4E3347;
    --link-blue: #355BC4;
}


.site-header {
    border-bottom: 2px solid #D1D1D1;
}

.homepage-hero {
	background-image: url(img/bookends-hero-bkg.jpg);
	background-position: bottom center;
	min-height: 1600px;
	margin-bottom: -24px;
	@media screen and (max-width:600px) {
		min-height: 1000px;
		background-position: top center;
		background-size: contain;
		background-repeat: no-repeat;
	}
}

.homepage-hero-teaser {
	position: relative;
	top: 640px;
	h2 { 
		color: #fff; 
		font-size: 32px;
	}
	p {
		color: #fff;
		font-size: 20px;
	}
	& .cta-secondary {
		color: #fff;
		border-color: #fff;
	}
	@media screen and (max-width:960px) {
		top: 850px;
	}
	@media screen and (max-width:600px) {
		top: 250px;
		h2 { 
			color: #000; 
		}
		p {
			color: #000;
			font-size: 16px;
		}
		& .cta-secondary {
			color: #000;
			border-color: #000;
		}
	}
}

.main-navigation ul li {
    display: block;
    padding: 16px 16px 32px;
    &.current-menu-item {
        border-top: 3px solid var(--brand-red);
		@media screen and (max-width:800px) {
			border-bottom: none;
			color: var(--brand-red);
		}
		& a {
			@media screen and (max-width:800px) {
				border-bottom: none;
				color: var(--brand-red);
			}
		}
    }
    &:last-child.current-menu-item {
        border: none;
    }
}

.main-navigation ul li a {
    color: #000;
    font-size: 18px;
    transition: .3s ease all;
}

.main-navigation ul li a:hover {
    color: var(--brand-blue);
}

.main-navigation ul li:last-child {
    padding-right: 0;
}

.main-navigation ul li:last-child a {
    border: 2px solid var(--link-blue);
    padding: 8px 16px;
    border-radius: 8px;
    color: var(--link-blue);
}

.main-navigation ul li:last-child a:hover {
    border: 2px solid var(--link-blue);
    color: #fff;
    background-color: var(--link-blue);
}

.dark-section {
	background-color: var(--brand-blue);
	padding: 64px 0;
}

.primary-cta {
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #4169e1;
    color: #fff;
    background: #4169e1;
    border-radius: 5px;
    transition: .3s ease all;
    display: inline-block;
    &:hover {
        border: 1px solid #4169e1;
        background-color: transparent;
    }
    &:visited {
        color: #fff;
    }
    &:visited:hover {
        color: var(--link-blue)
    }
}

.menu-cta a {
    padding: 4px 10px;
    text-decoration: none;
    border: 1px solid #4169e1;
    color: #fff;
    background: #4169e1;
    border-radius: 5px;
    transition: .3s ease all;
    display: inline-block;
    &:hover {
        border: 1px solid #4169e1;
        background-color: transparent;
    }
    &:visited {
        color: #fff;
    }
    &:visited:hover {
        color: var(--link-blue)
    }
}

.universal-header--region ul .menu-cta a {
    color: #fff;
	 @media screen and (max-width:800px) {
        margin-top: 8px;
    }
}

.cta-secondary {
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #4169e1;
    border-radius: 5px;
    transition: .3s ease all;
    display: inline-block;
}

.cta-secondary:hover {
    background-color: #4169e1;
    color: #fff;
}

.darker-section .cta-secondary {
    padding: 8px 12px;
    text-decoration: none;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: .3s ease all;
    color: #fff;
}

.darker-section .heading-area h3 {
    color: var(--brand-yellow);
}

.dark-card {
	color: #fff;
	border: 1px solid var(--default-border);
	border-radius: 10px;
	padding: 24px;
	display: grid; 
	grid-template-columns: 1fr 3fr; 
	grid-template-rows: 1fr auto; 
	gap: 0px 0px; 
	grid-template-areas: 
    "Icon Title Title"
    "Icon Description Description";
}

.dark-card img {
	grid-area: Icon;
    text-align: center;
    margin: 0 30px 0 auto;
}

.dark-card h4 {
	grid-area: Title;
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.dark-card p {
	grid-area: Description;
    margin-bottom: 0;
    margin-top: 12px;
}

.dark-card a {
	color: #fff;
	&:hover {
		color: #fff;
	}
}

.site-branding {
    @media screen and (max-width:800px) {
        text-align: center;
    }
}

.custom-logo-link img {
	max-width: 150px;
    display: inline-block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.universal-header {
	background-color: #E8E8E8;
	padding: 8px 0;
}

.universal-header--wrapper {
	display: flex;
	justify-content: space-between;
    @media screen and (max-width:800px) {
        display: inline-block;
    }
    @media screen and (max-width:600px) {
        text-align: center;
    }
}

.universal-header--region ul {
	padding: 0;
	margin: 0;
}

.universal-header--region ul li {
	display: inline-flex;
	text-decoration: none;
	justify-content: space-between;
	padding-right: 10px;
	border-right: 1px solid var(--default-border);
}

.universal-header--region ul li + li {
	border: none;
	padding: 0 0 0 7px;
    @media screen and (max-width:800px) {
        
    }
}

.universal-header--region ul li a {
	color: var(--brand-blue);
	text-decoration: none;
	font-size: 12px;
}

.universal-header--region ul li a:hover {
	color: #000;
}

.universal-header--region ul li .primary-cta {
    background-color: var(--brand-blue);
    padding: 4px 8px;
    color: #fff;
    border-radius: 3px;
}

.universal-header--region .primary-cta:hover {
    background-color: var(--link-blue);
    color: #fff;
}

.site-header--container {
	padding: 16px 0 0;
	display: flex;
	justify-content: space-between;
    vertical-align: middle;
    align-items: center;
    @media screen and (max-width:800px) {
        display: block;  
		padding: 16px 0;
    }
}

.main-navigation {
	display: flex;
    justify-content: flex-end;
    @media screen and (max-width:800px) {
        display: block;
    }
    & .menu {
        padding: 0;
        margin: 0;
        @media screen and (max-width:1200px) {
            text-align: right;
        }
        @media screen and (max-width:800px) {
            text-align: center;
        }
        & li {
            display: inline-block;
            @media screen and (max-width:1200px) {
                padding: 8px;
            }
            & a {
                text-decoration: none;
                @media screen and (max-width:1200px) {
                    font-size: 16px;
                }
            }
        }
    }
}

.darker-section {
    color: #fff;
    display: flex;
    align-items: center;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  border: 0 !important;
  clip: rect(0, 0, 0, 0) !important;
  height: 1px !important;
  margin: -1px !important;
  overflow: hidden !important;
  padding: 0 !important;
  white-space: nowrap !important;
  width: 1px !important;
}

.visually-hidden:not(caption),
.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption) {
  position: absolute !important;
}

.faqs {
    background-color: var(--gray-bkg);
}

.news-item {
    background-color: var(--gray-bkg);
    border: 1px solid var(--default-border);
    border-radius: 8px;
    padding: 24px;
    & a {
        text-decoration: none;
    }
    & h3 {
        margin-top: 0;
    }
    & .news-item-footer {
        font-size: 14px;
        color: #888;
        margin-bottom: 0;
    }
}

.social-links {
    .social-image-wrapper {
        display: flex;
        min-height: 120px;
        justify-content: center;
    }
}

.size-social_image {
    max-width: 100px;
    min-height: auto;
    align-self: center;
}

.contact {
    & ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        &:first-of-type {
            text-align: right;
            border-right: 1px solid var(--default-border);
            padding-right: 40px;
            @media screen and (max-width:800px) {
                text-align: center;
                padding-right: 0;
                border: none;
            }
        }
        &:last-child {
            text-align: left;
            padding-left: 20px;
            @media screen and (max-width:800px) {
                text-align: center;
            }
        }
    }
    & p {
        font-size: 16px !important;
    }
}

.map {
    background-color: var(--dark-blue);
    padding-bottom: 48px;
    margin-top: -80px;
    & .google-map {
        position: relative;
        top: -80px;
        margin-top: 200px;
        margin-bottom:-40px;
    }
}

.footer-wrapper {
    padding: 48px 0;
    border-top: 1px solid var(--default-border);
    & .footer-menu {
        text-align: center;
    }
    & .menu {
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
        line-height: 32px;
    }
    & .footer-logo-about {
        text-align: center;
        & ul {
            text-align: center;
            font-size: 12px;;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        & p {
            font-size: 12px;
        }
    }
    & .client-links {
        text-align: center;
        line-height: 32px;
    }
    & .halves {
        max-width: 1200px;
        margin: 0 auto;
        & p {
            font-size: 12px;
            margin: 0;
        }
    }
}

.breadcrumbs {
    font-size: 14px;
    & span {
        padding: 0 10px;
        &:first-child {
            padding-left: 0;
        }
    }
    & a {
        text-decoration: none;
    }
    & p {
        margin: 24px 0 32px;
    }
}

.person {
    & img {
        max-width: 400px;
    }
    & h3 {
        font-size: 24px;
		font-weight: bold;
        margin: 16px 0 0;
        padding: 0;
        color: var(--brand-blue);
    }
    & p {
        font-size: 20px;
        margin: 0;
        padding: 0 0 12px;
        font-weight: 300;
        &:last-of-type {
            font-size: 16px;
            padding-bottom: 16px;
        }
    }
}

.person-bio {
    & h3 {
        font-size: 48px;
        margin: 0;
    }
    & h4 {
        font-size: 24px;
        margin: 0;
    }
    & p {
        max-width: 800px;
    }
    & .person-bio-email {
        color: var(--brand-blue)
    }
}

.callout-box {
    border: 1px solid var(--default-border);
    display: grid;
    align-items: center;
    justify-content: center;
    margin: 48px 0 0;
    padding: 32px 64px;
    grid-template-columns: 1fr 1fr;
    grid-gap: 48px;
    h2 {
        font-size: 72px;
        line-height: 70px;
    }
    p {
        font-size: 18px;
        max-width: 800px;
    }
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
        grid-gap: 10px;
        h2 {
            margin: 0;
            font-size: 64px;
        }
    }
}

.form-wrapper {
    border: 1px solid var(--default-border);
    padding: 32px 64px;
    margin-bottom: 64px;
}

.contact-form {
    margin-top: 48px;
}

.consultation {
    padding-top: 0;
}

.planners-list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 32px;
    text-align: center;
    margin-bottom: 80px;
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
    }
    & img {
        border-radius: 50%;
        max-width: 300px;
		align-self: center;
    }
    & h3 {
        font-size: 32px;
        margin: 16px 0 0;
        padding: 0;
        color: var(--brand-blue);
    }
    & h4 {
        font-size: 20px;
        margin: 0;
        padding: 0 0 16px;
        font-weight: 300;
    }
}

.planners-list-item {
	display: flex;
	flex-direction: column;
	& h4 {
		flex: 1;
	}
	& p {
		justify-self: flex-end;
	}
}

.card {
    border: 1px solid var(--default-border);
    border-radius: 5px;
    text-align: center;
    padding: 24px;
    p {
        border-top: 1px solid var(--default-border);
        padding-top: 12px;
        margin-bottom: 0;
    }
}

.client-tools {
	margin-bottom: 64px;
}

.client-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-column-gap: 32px;
    grid-row-gap: 24px;
    margin-bottom: 64px;
}
.client-tools-grid .card:nth-child(1) { grid-area: 1 / 1 / 2 / 2; }
.client-tools-grid .card:nth-child(2) { grid-area: 1 / 2 / 2 / 4; text-align: left;}
.client-tools-grid .card:nth-child(3) { grid-area: 2 / 1 / 3 / 2; }
.client-tools-grid .card:nth-child(4) { grid-area: 2 / 2 / 3 / 3; }
.client-tools-grid .card:nth-child(5) { grid-area: 2 / 3 / 3 / 4; }
.client-tools-grid .card:nth-child(6){ grid-area: 3 / 1 / 4 / 3; }
.client-tools-grid .card:nth-child(7) { grid-area: 3 / 3 / 4 / 4; }
.client-tools-grid .card:nth-child(8) { grid-area: 4 / 1 / 5 / 2; }
.client-tools-grid .card:nth-child(9) { grid-area: 4 / 2 / 5 / 3; }
.client-tools-grid .card:nth-child(10) { grid-area: 4 / 3 / 5 / 4; }

.client-tools-grid .card {
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr !important;
    }
}

.giving-back {
    padding-bottom: 64px;
}

/* Post styles */

.entry-title {
	margin-bottom: 8px;
}

.entry-meta {
	font-size: 14px;
	font-style: italic;
	margin-bottom: 32px;
}

.entry-content blockquote {
	border-left: 3px solid var(--brand-blue);
	p {
		padding-left: 24px;
	}
}

.entry-content {
	h2 {
		font-weight: bold;
	}
	.wp-block-list {
		margin-left: 24px;
		line-height: 24px;
		padding-left: 24px;
	}
}


/* Homepage hero text typing */

body {
	color: #000;
	margin: 0;
	padding: 0;
  font-family: "Noto Serif"
}

.banner {
	display: block;
	min-height: 550px;
	width: 100%;
	position: relative;
    @media screen and (max-width:800px) {
        min-height: 350px;
    }
}
.typed_wrap {
	display: block;
	width: 700px;
	height: auto;
	padding: 30px;
  text-align: center;
  filter: drop-shadow(1px 1px 3px #888);
	
	/*centers it in the .banner*/
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%,-50%);
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-o-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
    @media screen and (max-width:800px) {
        width: 90%;
    }
}

.typed_wrap h1 {
	display: inline;
  font-size: 90px;
  letter-spacing: 1px;
font-family: 'Noto Serif', auto;
  font-weight: 500;
  line-height: 95px;
  text-align: center;
  color: #fff;
  @media screen and (max-width:800px) {
        font-size: 48px;
        line-height: 54px;
    }
}

/*Add custom cursor so it auto inherits font styles*/
.typed::after {
	content: '|';
	display: inline;
	-webkit-animation: blink 0.7s infinite;
	-moz-animation: blink 0.7s infinite;
	animation: blink 0.7s infinite;
  margin-right: -60px;
}

/*Removes cursor that comes with typed.js*/
.typed-cursor{
   opacity: 0;
	display: none;
}
.typed {
  padding-left: 0;
}
/*Custom cursor animation*/
@keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink{
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; } 
}

/* Custom fonts */


body {
	font-family: "Lato", serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;
	font-variation-settings:
	  "wdth" 100;
}

.services-table ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 16px;
    margin: 0 auto;
    padding: 0;
    max-width: 960px;
    justify-content: center;
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr 1fr;
        grid-gap: 12px;
    }
    & li {
        display: inline-block;
        padding: 24px;
        text-align: center;
        border: 1px solid var(--default-border);
        font-weight: bold;
        vertical-align: middle;
        align-self: center;
        height: 100%;
        justify-content: center;
        display: flex;
        align-items: center;
        @media screen and (max-width:800px) {
            padding: 16px;
            font-size: 14px;
        }
    }
}

.page-overview {
    padding-bottom: 48px;
}

.breadcrumbs {
    padding-top: 32px;
}

.sidebar-box {
    background-color: var(--gray-bkg);   
    padding: 32px;
    border-radius: 8px;
    margin-bottom: 24px;
    & h3 {
        font-size: 24px;
        font-weight: 500;
        margin: 0;
        padding-bottom: 12px;
    }
    p {
        margin: 0;
        padding-bottom: 24px;
        font-size: 15px;
        font-style: italic;
        &:last-of-type {
            padding-bottom: 0;
        }
    }
}

.business-stats {
    background-color: var(--brand-blue);
    color: #fff;
    padding: 48px 0;
}

.business-stat {
    font-size: 110px;
    text-align: center;
    @media screen and (max-width:1000px) {
        font-size: 80px;
    }
    h2 {
        margin: 0;
        line-height: 170px;
    }
    & span {
        display: block;
        font-size: 24px;
        line-height: 24px;
    }
}

.people {
    padding: 0 0 64px 0;
}

/* Text area */

.text-area h1 {
    font-size: 48px;
    margin-bottom: 24px;
    line-height: 54px;
    margin-top: 0;
}

.text-area h2 {
    font-size: 42px;
    margin-bottom: 24px;
}

.text-area h3 {
    font-size: 32px;
}

.text-area p {
    font-size: 18px;
}

.text-area ul {
    margin-left: 0;
    & li {
        font-size: 18px;
    }
}

.dark-section .text-area h2, .darker-section .text-area h2 {
    color: var(--brand-yellow);
}

.dark-section .text-area h3, .darker-section .text-area h3 {
    color: var(--brand-yellow);
}

/* Layouts */

.grid-container {
	max-width: 1440px;
	margin: 0 auto;
    padding: 0 24px;
}

.grid-container-tight {
	max-width: 1200px;
	margin: 0 auto;
    padding: 0 24px;
}

.grid-container-centered {
	max-width: 960px;
	margin: 0 auto;
    padding: 0 24px;
}

.grid-container-post {
	max-width: 960px;
	margin: 0 auto;
    padding: 0 24px;
}

.darker-section {
    padding: 48px 0;
    background-color: var(--dark-blue);
}

.halves {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 128px;
	padding: 64px 0;
    &.tight-spacing {
        grid-gap: 20px;
        padding: 24px 0;
    }
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
        grid-gap: 32px;
    }
}

.thirds {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	grid-gap: 16px 24px;
    @media screen and (max-width:1200px) {
        grid-template-columns: 1fr 1fr 1fr;
        grid-gap: 16px;
    }
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
    }
    &.even-numbers {
        @media screen and (max-width:1000px) {
            grid-template-columns: 1fr 1fr;
        }
        @media screen and (max-width:800px) {
            grid-template-columns: 1fr;
        }
    }
}

.two-three {
    display: grid;
	grid-template-columns: 2fr 3fr;
	grid-gap: 16px 24px;
    align-items: center;
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
    }
}

.three-two {
    display: grid;
	grid-template-columns: 3fr 2fr;
	grid-gap: 16px 48px;
    align-items: center;
    &.align-top {
        align-items: normal;
    }
    @media screen and (max-width:800px) {
        grid-template-columns: 1fr;
    }
    & img {
        object-fit: cover;
        height: 100%;
        width: auto;
    }
}

.four-eight {
    display: grid;
	grid-template-columns: 4fr 8fr;
	grid-gap: 16px 48px;
    @media screen and (max-width:1200px) {
        grid-template-columns: 5fr 7fr;
    }
    @media screen and (max-width:500px) {
        grid-template-columns: 1fr;
    }
}

.centered {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.padded {
    padding: 32px 0;
}

.post-navigation {
    display: none;
}

/* Timeline overrides */ 

.timeline-section {
    display: flex; /* Makes the timeline-section a flex container */
    align-items: center; /* Vertically aligns items in the center */
    /* You might want to add some gap between the sections */
    gap: 40px; /* Example gap */
}

/* For every odd-numbered timeline-section, the default order (text-area then image) will apply. */
/* For every even-numbered timeline-section, we'll reverse the order. */
.timeline-section:nth-child(even) {
    flex-direction: row-reverse; /* Reverses the order of children for even sections */
}

/* Optional: Add some basic styling for better visualization */
.timeline-section {
    margin-bottom: 40px; /* Space between timeline sections */
    border: 1px solid #eee;
    padding: 20px;
    background-color: #f9f9f9;
}

.text-area {
    flex: 1; /* Allows text-area to take up available space */
}

.timeline-image {
    flex-shrink: 0; /* Prevents the image from shrinking */
    max-width: 50%; /* Adjust as needed */
}

.timeline-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

.ctl-label-big.story-date {
    display: none !important;
}

table {
    border-collapse: collapse;
    & th {
        background-color: #eee;
    }
    & th,td {
        padding: 8px;
        border: 1px solid var(--default-border);
    }
}