/*
Theme Name: IDv4 Official
Theme URI: https://greenclosetcreative.com/
Author: AnnMarie DeVito - Technical Lead @ Green Closet Creative
Author URI: https://greenclosetcreative.com/team/annmarie-devito/
Description: A custom curated, yet flexible, WordPress theme brought to you by Green Closet Creative.
Requires at least: 7.0
Tested up to: 7.0
Requires PHP: 8.0
Version: 4.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: idv4-official
Tags: 



/* Header Styles ---------------------------------------------------------- */
.wp-site-blocks { position: relative; }
/* transparent header - add class to header .transparent-header */
header.transparent-header {
    position: absolute;
    z-index: 99;
    width: 100%;
}
header.transparent-header + main #hero {
    padding-top: 175px !important;
}


/* Hover Styles ---------------------------------------------------------- */
/* .hover-grow - makes image/background scale on hover. Add class to image block */
.hover-grow {
    transition: transform 0.3s ease-in-out;
}
.hover-grow:hover {
    transform: scale(1.05);
}

.has-icons p img { vertical-align: middle; }

/* Special Styles ----------------------------------------------------------- */
.mmf-evidence-sources {
	position: relative;
}

.mmf-evidence-sources::before {
	content: "";
	position: absolute;
	inset: -3px;
	pointer-events: none;

	background:
		linear-gradient(#081c2c, #081c2c) left top / 40px 3px no-repeat,
		linear-gradient(#081c2c, #081c2c) left top / 3px 40px no-repeat,

		linear-gradient(#081c2c, #081c2c) right top / 40px 3px no-repeat,
		linear-gradient(#081c2c, #081c2c) right top / 3px 40px no-repeat,

		linear-gradient(#081c2c, #081c2c) left bottom / 40px 3px no-repeat,
		linear-gradient(#081c2c, #081c2c) left bottom / 3px 40px no-repeat,

		linear-gradient(#081c2c, #081c2c) right bottom / 40px 3px no-repeat,
		linear-gradient(#081c2c, #081c2c) right bottom / 3px 40px no-repeat;
}

.usage-flags p img { 
	vertical-align: middle;
	margin-right: 6px;
}


.check-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.check-list li {
    position: relative;
    list-style: none;
    padding-left: 30px;
    margin-bottom: 10px;
    line-height: 1.5;
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #08a34a;
}

.check-list li::after {
    content: "";
    position: absolute;
    left: 5px;
    top: calc(0.25em + 4px);
    width: 10px;
    height: 4px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}



/* Pricing comparison */
.pricing-feature-table tbody tr:nth-child(1) > *,
.pricing-feature-table tbody tr:nth-child(7) > *,
.pricing-feature-table tbody tr:nth-child(15) > * {
    background-color: var(--wp--preset--color--primary-1);
	color: var(--wp--preset--color--theme-white) !important;
}


.pricing-feature-table .comparison-check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 19px;
	height: 19px;
	border-radius: 50%;
	background: #09aa52;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
}


/* blog styles */
.read-time {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.read-time::before {
    content: "";
    display: inline-block;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M12 7v5l3 2' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}


.article-toc__title {
	font-size: 16px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.15em;
	color: var(--wp--preset--color--primary-1);
	margin: 0 0 20px;
}

.article-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.article-toc__list li {
	position: relative;
	margin: 0;
	padding: 0 0 18px 24px;
	font-size: 14px;
	line-height: 1.4;
}

.article-toc__list li:last-child {
	padding-bottom: 0;
}

/* the dot */
.article-toc__list li::before {
	content: "";
	position: absolute;
	left: -2px;
	top: 5px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #c6d3db;
	border: 2px solid #f1f7f8;
	z-index: 2;
}

/* the line BETWEEN dots only */
.article-toc__list li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 5px;
	top: 15px;
	bottom: -5px;
	width: 2px;
	background: #d3e1e7;
	transform: translateX(-50%);
	z-index: 1;
}

.article-toc__list a {
	color: #173b57;
	text-decoration: none;
}

.article-toc__list a:hover {
	color: #00a94f;
	text-decoration: underline;
}

.article-toc__list a:focus-visible {
	outline: 2px solid #00a94f;
	outline-offset: 4px;
}

/* Active section */
.article-toc__list li.is-active::before {
	background: #00b85a;
}

/* Active link */
.article-toc__list li.is-active a {
	color: #00a85a;
	font-weight: 600;
}
/* Account for sticky site headers */
.single-post .wp-block-post-content h2[id] {
	scroll-margin-top: 120px;
}

/* Smooth scrolling, respecting reduced motion preferences */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

/* DOCUMENTATION TOC */

.doc-toc {
	background: #f1f7f8;
	border-radius: 8px;
	padding: 24px;

	/* Sticky navigation */
	position: sticky;
	top: 110px;
	max-height: calc(100vh - 130px);
	overflow-y: auto;
	overscroll-behavior: contain;
}

/* Heading */
.doc-toc .article-toc__title {
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #14517d;
	margin: 0 0 20px;
}

/* Reset list styles */
.doc-toc ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

.doc-toc .article-toc__list li {
	position: relative;
	font-size: 14px;
	line-height: 1.5;
}

/* Main H2 items */
.doc-toc__h2 {
	padding: 0 0 18px 24px;
}

/* Main H2 dots */
.doc-toc .doc-toc__h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 5px;
	width: 10px;
	height: 10px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #c6d3db;
	z-index: 2;
}

/* Connector between main sections */
.doc-toc .doc-toc__h2:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 4px;
	top: 15px;
	bottom: -5px;
	width: 2px;
	background: #d3e1e7;
	z-index: 1;
}

/* Nested H3 list */
.doc-toc .doc-toc__sublist {
	margin: 12px 0 0;
	padding: 0;
}

/* Nested H3 items */
.doc-toc .doc-toc__h3 {
	padding: 0 0 12px 20px;
	font-size: 13px;
}

/* Smaller H3 dots */
.doc-toc .doc-toc__h3::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 7px;
	height: 7px;
	box-sizing: border-box;
	border-radius: 50%;
	background: #c6d3db;
	z-index: 2;
}

/* Connector between nested H3 items */
.doc-toc .doc-toc__h3:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 3px;
	top: 13px;
	bottom: -6px;
	width: 1px;
	background: #d3e1e7;
}

/* Links */
.doc-toc a {
	color: #173b57;
	text-decoration: none;
}

.doc-toc a:hover {
	color: #00a94f;
}

.doc-toc a:focus-visible {
	outline: 2px solid #00a94f;
	outline-offset: 3px;
}

/* Active dot */
.doc-toc .doc-toc__h2.is-active::before,
.doc-toc .doc-toc__h3.is-active::before {
	background: #00b85a;
}

/* Active text - only the active heading */
.doc-toc li.is-active > a {
	color: #00a85a;
	font-weight: 700;
}

/* Parent H2 gets subtle emphasis when an H3 is active */
.doc-toc .doc-toc__h2.has-active-child > a {
	font-weight: 700;
}

/* Anchor offset for sticky site header */
.single-documentation .wp-block-post-content h2[id],
.single-documentation .wp-block-post-content h3[id] {
	scroll-margin-top: 150px;
}