/*--------------------------------------------------------------
# Content Styles
--------------------------------------------------------------*/
/* Entry Header
--------------------------------------------- */
/* The typing effect */
@keyframes typing {
  from { width: 0; }
  50% { width: 100%; }
  to { width: 0; }
}


/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #999; }
}

.entry-header {
	padding: 0;
}

.entry-header h1.entry-title {
	color: #3b3b3b;
	font-size: 2.8rem;
	margin-bottom: 1rem;
}


.entry-title.animate {
	position: relative;
	display: grid;
	grid-auto-columns: auto;
	letter-spacing: 2px;
}

.entry-title.animate strong {
	grid-row: 1;
}

.entry-title.animate .animated-item {
	border-right: 4px solid transparent; /* The typwriter cursor */
	font-weight: 300;
	grid-row: 2;
	grid-column: 1;
	overflow: hidden; /* Ensures the content is not revealed until the animation */
	max-width: max-content;
	width: 0;
	white-space: nowrap; /* Keeps the content on a single line */
}

.entry-title.animate .animated-item.active {
	animation: typing 4s steps(45, end) 2s,
			   blink-caret .75s step-end infinite;
}


.entry-title.animate small {
	display: inline-block;
	font-size: 35%;
	grid-row: 3;
	margin-top: 1rem;
}

.entry-title small {
	color: var(--color-dark);
}


.entry-header .wp-block-button__link {
	font-size: 1.25rem;
	padding: 1.5rem;
	min-width: 20ch;
}


/* Entry Content
--------------------------------------------- */
.data-recovery__heading {
	color: var(--color-light);
}

.ransomware-banner {
	--padding-bottom:  2em;
	--padding-top:  5em;
	background-color: #8f99a0;
	border-top: 1px solid #8f8f8f;
}

.ransomware-banner .heading {
	margin-bottom: 0;
}

.ransomware-banner h2 ~ p {
	color:  var(--color-light);
	margin-top: 0;
}

.ransomware-banner .outline--accent .wp-block-button__link {
	color:  var(--color-light);
	border-radius: 4px;
	padding-left:  5em;
	padding-right:  5em;
}

.data-recovery__devices.wp-block-media-text.layout--overlap .wp-block-media-text__content {
	display: grid;
	grid-template-columns: 1fr;
	grid-auto-rows: auto;
	overflow: hidden;
	padding: 1rem;
}

.data-recovery__device,
.data-recovery__device-icons {
	grid-column: 1;
}

.data-recovery__device-icons {
	grid-row: 1;
	margin: 0;
	padding: 0;
}

.data-recovery__device {
	grid-row: 2;
	transition: transform 800ms cubic-bezier(0.65,-0.25, 0.25, 1.25),
				opacity 1000ms ease-in-out;
}

.data-recovery__device:not(.active) {
	opacity: 0;
	transform: translateY(150%);
	transform-origin: left;
}


.data-recovery__device-icons {
	align-items: flex-end;
	display: flex;
	gap: .5rem;
	flex-flow: row nowrap;
	justify-content: space-between;
	margin-bottom: 2rem;
}

.data-recovery__device-icons > li {
    align-items: center;
	cursor: pointer;
    display: flex;
    flex-flow: column wrap;
    height: 100%;
    justify-content: flex-end;
    margin: 5px;
    width: auto;
    text-align: center;
}

.data-recovery__device-icons > li::after {
	color: inherit;
	content: attr(title);
	font-size: 10px;
	display: block;
	line-height: 1;
	margin-top: .5rem;
	min-width: 12ch;
}

.data-recovery__device-icons > li > img {
	display: block;
	max-height: inherit;
	pointer-events: none;
	transition: filter 250ms ease-in-out;
}

.data-recovery__device-icons > li:not(.active):not(:hover) {
	filter: grayscale(1);
	opacity: .25;
}

.services .heading {
    display: flex;
    align-items: center;
}

.services .heading > img {
	margin-right: 1rem;
	max-width: 50px;
}

.services .heading::before {
	color: #2b2d42;
	display: inline-block;
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-style: normal;
	font-variant: normal;
	padding-right: 1rem;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
}

.heading.services__forensics::before {
	content: "\f577";
	font-size: 2rem;
}

.in-the-news figure.wp-block-embed,
.in-the-news .wp-block-embed__wrapper,
.in-the-news__content .wp-block-embed iframe {
    margin: 0;
    height: 100%;
}


.work-with-us {
	--bg-color: #f7f7f7;
	background-color: var(--bg-color);
	border-bottom: 1px solid rgba(0,0,0,.05);
	border-top: 1px solid rgba(0,0,0,.05);
}

.work-with-us__reasons {
	flex-flow: row wrap;
	justify-content: space-around;
	margin-bottom: 0;
	margin-top: 5em;
}

.work-with-us__reasons .sub-heading {
    background-color: var(--bg-color);
	display: inline-block;
	margin: 0;
	word-break: normal;
	position: relative;
	vertical-align: middle;
}

.work-with-us__reasons .sub-heading + p,
.work-with-us__reasons .sub-heading {
	padding-left: 5px;
}


.work-with-us__reasons .wp-block-column {
	border-radius: 1rem;
	margin: 0;
	gap: 2rem;
	flex-basis: calc(1400px/3 - 10rem) !important;
	padding: 1rem;
	z-index: 0;
}

.work-with-us__reasons .sub-heading::before {
    align-items: center;
	border: 2px solid;
    border-radius: 50%;
    color: initial;
    display: flex;
    height: 50px;
    justify-content: center;
    left: -40px;
    position: absolute;
    top: -20px;
    width: 50px;
    z-index: -1;
}

.work-with-us__reasons .wp-block-column:nth-child(1)  .sub-heading::before {
	content: "1";
}
.work-with-us__reasons .wp-block-column:nth-child(2)  .sub-heading::before {
	content: "2";
}
.work-with-us__reasons .wp-block-column:nth-child(3)  .sub-heading::before {
	content: "3";
}
.work-with-us__reasons .wp-block-column:nth-child(4)  .sub-heading::before {
	content: "4";
}



/*--------------------------------------------------------------
# Media Query Styles
--------------------------------------------------------------*/

/* Mobile
--------------------------------------------- */
@media screen and (max-width: 800px) {
	.entry-title.animate .animated-item {
	    font-size: 2.25rem;
	}

	.ransomware-banner {
		text-align: center;
	}

	.news-logos {
	    align-items: center;
	    display: flex;
	    flex-flow: row wrap;
	    justify-content: center;
	}

	.data-recovery__devices.wp-block-media-text {
		display: block;
	}

	.data-recovery__device-icons > li > img {
		width: auto !important;
		max-height: 70px;
	}

	.data-recovery__device {
		text-align: center;
	}

	.wp-block-embed__wrapper iframe {
		max-height: 390px;
	}

	.work-with-us__reasons {
		padding-left: 2em;
		padding-right: 2em;
		text-align: center;
	}
}

/* Wdith > 930px
--------------------------------------------- */
@media screen and (min-width: 801px) {
	@keyframes typing {
	  from { width: 0; }
	  80% { width: 100%; }
	  to { width: 0; }
	}

	.entry-title strong {
	    max-width: 12ch;
	}

	.entry-header .wp-block-button__link {
		font-size: 1.75rem;
		padding: 1rem;
		min-width: 25ch;
	}

	.entry-title.animate .animated-item.active {
		animation: typing 2s steps(20, end) 1s,
			   	   blink-caret .75s step-end infinite;
	}

	.data-recovery__devices.wp-block-media-text.layout--overlap .wp-block-media-text__content {
		padding: 2rem;
	}

	.data-recovery__device-icons > li::after {
		font-size: .8rem;
	}

	.data-recovery__devices {
		margin-top: 5em;
	}

	.data-recovery__device:not(.active) {
		transform: translateX(-150%);
	}

	.services .wp-block-column {
		padding: 2rem;
	}

	.services .wp-block-column:nth-child(1) {
	    border-right: 2px solid;
	}

	.services .wp-block-buttons + h2 {
		margin-top: 5rem;
	}

	.heading.services__forensics::before {
		font-size: 3rem;
	}

	.services .heading > img {
		max-width: 65px;
	}

	.work-with-us__reasons .sub-heading {
		font-size: 2.125rem;
	    max-width: 12ch;
	}
}


/* Desktop - Wide
--------------------------------------------- */
@media screen and (min-width: 930px) {
	.entry-header__content {
		padding: 2em 2rem 10em;
		min-height: calc(100vh - 118px);
	}

	.entry-header h1.entry-title {
		font-size: 5rem;
		margin-bottom: 2rem;
	}

	.entry-title strong {
		font-weight: 600;
	}

	.data-recovery__device-icons > li::after {
		font-size: 1rem;
	}
}
