/*
Theme Name: Astra Child NRV
Theme URI: https://nrv.com
Description: High-fidelity, WCAG 2.2 AA compliant landing page child theme for NRV, extending Astra.
Author: Senior UI Engineer
Author URI: https://nrv.com
Template: astra
Version: 1.0.0
Text Domain: astra-child-nrv
*/

@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Manrope:wght@200..800&display=swap');

/* Variables */
:root {
  --nrv-red: #9C0A0A;
  --nrv-black: #0A0A0A;
  --nrv-white: #FFFFFF;
  --nrv-gray-bg: #F9FAFB;
  --nrv-dark-gray-bg: #D9D9D9;
  --nrv-text-main: #1F2937;
  --nrv-text-muted: #4B5563;
}

/* Base Styles */
body {
	color: var(--nrv-text-main);
	font-family: 'Manrope', sans-serif;
	line-height: 1.6;
}

body *:focus {
	outline: auto;
	outline-offset: 2px;
}

.nrv-container {
  margin: 0 auto;
  padding: 0 2rem;
}

/* Global */
main {
    margin-top: 6rem;
}
.home main {
    margin-top: 0;
}
.entry-content {
    padding: 0 2rem;
}
.home .entry-content {
    padding: 0;
	max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
main .entry-header {
	max-width: calc(var(--wp--custom--ast-content-width-size) + 4rem);
    margin-left: auto;
    margin-right: auto;
}

.legal a:hover,
.legal a:focus-visible {
	color: var(--nrv-black);
	outline: auto;
	outline-offset: 0.125rem;
}

/* alignment */
.text-center {
    text-align: center;
}

/* Fonts */
.bold {
	font-weight: 700 !important;
}

/* Colors */
.red-bg {
    background: #9C0A0A;
    color: #fff;
}
.red-bg h2 {
    color: #fff;
}
.light-gray-bg {
    background: #FAFAFA;
}

.dark-gray-bg {
	background-color: var(--nrv-dark-gray-bg);
}

/* Sections */
.entry-content .nrv-home-section {
   width: 100%;
   max-width: 100%;
   position: relative;
}
.entry-content .nrv-container-wrap {
    /*max-width: 1512px !important;
    margin: 0 auto;*/
    padding: 6rem 2rem;
}
.entry-content .nrv-container-wrap.no-padding {
    padding: 0 2rem;
}

/* Columns */
.col-2-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    justify-content: space-between;
    align-items: stretch;
    gap: 6rem;
}
.col-2 {
    padding: 6rem 0;
}
.col-2.bottom-image {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: stretch;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0;
}
.light-gray-bg .col-3-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.light-gray-bg .col-3 {
    background: #fff;
    box-shadow: rgba(0, 0, 0, 0.15) 0 0.5rem 1.5rem;
    border-radius: 1rem;
    padding: 5rem 3rem;
}
.col-3 ul {
    text-align: left;
    width: auto;
    display: inline-block;
    margin-top: 0;
}
.bottom-image img {
    width: 80%;
    margin-bottom: 0;
    height: auto !important;
}

/* Headings*/
.nrv-container h2 {
    font-size: 4.5rem;
}
.light-gray-bg .col-3 h3 {
    margin-bottom: 2.5rem;
}

/* CTA */
a.offer-cta {
    display: inline-block;
    line-height: 0;
}
a.offer-cta:focus {
    outline: auto;
    outline-offset: 2px;
    outline-color: #9C0A0A !important;
}
a.offer-cta:hover svg path {
    stroke: #000;
}
.nrv-cta a {
    color: #fff;
    padding: 0.8rem 1.5rem;
    background: #5A585B;
    text-decoration: none !important;
    border-radius: 50px;
    font-weight: 500;
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}
.nrv-cta.text-center {
    margin: 3rem auto;
}
.nrv-cta a img {
    width: 1.3rem;
}
.nrv-cta a:hover {
    background: #9C0A0A;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}
.nrv-cta a:focus {
    outline: auto !important;
    outline-offset: 5px;
    outline-color: #5A585B !important;
}

/* Section Spacing */
.nrv-section {
  padding: 6rem 0;
}

.nrv-section-heading-center {
	max-width: 50vw;
	margin: 0 auto 4rem;
}

.screen-reader-text:focus {
    background-color: #fff;
    color: #000;
}

/* Navigation & Header */
.site-header {
  background: var(--nrv-red);
  backdrop-filter: blur(10px);
  /* position: fixed; */
  width: 100%;
  /* top: 0; */
  /* z-index: 999; */
  padding: 2rem 0;
  margin-bottom: -3rem;
}

.site-header .main-navigation {
	width: 100%;
	padding: 0 2rem;
	display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-header .main-navigation ul {
    list-style: none;
    margin: 0;
    padding-left: 0;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-around;
    align-items: center;
    gap: 2.5rem;
}

 .menu-link {
    color: #fff;
}

.ast-header-break-point .main-navigation ul .menu-item .menu-link {
	border-bottom: 0;
	padding: 0;
}

.site-header li.menu-item:last-child a, .ast-header-break-point .main-navigation ul li.menu-item:last-child .menu-link, .main-navigation .contact-link {
    background: var(--nrv-white);
    border-radius: 1000px; /* for a perfect pill */
    padding: 0.3rem 1.3rem;
	color: var(--nrv-red);
	font-weight: 500;
}

.site-header li.menu-item:last-child a:hover, .ast-header-break-point .main-navigation ul li.menu-item:last-child .menu-link:hover, .main-navigation .contact-link:hover {
    background: var(--nrv-black);
    color: var(--nrv-white);
	border: 0.125rem solid var(--nrv-white);
}

#mobile-menu-btn {
    background: transparent;
    padding: 0;
    margin: 0;
    display: none;
}

/* Hero Section */
.nrv-hero {
	padding-left: 4.5rem !important;
	padding-right: 4.5rem !important;
	display: flex;
    gap: 2.5rem;
}

.nrv-hero-content {
	flex: 1 1 auto;
	max-width: 80ch;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.nrv-hero-content h1,
.nrv-hero-content p,
.nrv-hero-content a {
	color: var(--nrv-white); /* override parent theme styling */
}

.nrv-hero-heading {
	max-width: 75%;
}

.nrv-hero-heading h1 {
	margin: 0; /* override parent theme styling */
	font-size: 4.5rem;
	line-height: 1.1;
}

.nrv-hero-content p {
	margin: 0; /* override parent theme styling */
	font-size: 1.1rem;
}

.nrv-hero-content a {
	text-decoration: none !important; /* override parent theme styling */
	line-height: 1;
	width: fit-content;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.nrv-hero-content a span {
	font-size: 1.25rem;
}

.nrv-hero-content a:hover {
	text-decoration: underline !important;
}

.nrv-hero-content a:focus-visible {
	outline: 0.125rem solid var(--nrv-white);
}

.nrv-hero-img {
	flex: 0 0 40%;
	background: url('https://namerolevalue.com/wp-content/uploads/2026/02/Hero-image.svg') no-repeat center;
  	background-size: contain;
}

/* Accessibility Leaders Section */
.nrv-leaders-logos {
	list-style-type: none;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 2rem;
}

.nrv-leaders-logos a {
	display: block;
}

.nrv-leaders-logos a:focus-visible {
	outline: 0.125rem solid var(--nrv-red);
}

/* Pain Points Section */
.nrv-card-grid {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.nrv-card {
	border-top: 0.0625rem solid #E5E7EB;
	box-shadow: 0 0.5rem 0.625rem -0.375rem #0000001A, 0 1.25rem 1.5625rem -0.3125rem #0000001A;
	background-color: var(--nrv-white);
	width: 75vw;
	margin: 0 auto;
	padding: 3.5rem 2rem;
	display: flex;
	gap: 2rem;
}

.nrv-card-img {
	width: 60%;
}

.nrv-card-img img {
	width: 100%;
	object-fit: contain;
}

.nrv-card-img.left {
	margin-left: -10%;
}

.nrv-card-img.right {
	margin-right: -10%;
}

.nrv-card-content {
	flex: 1 1 0%;
}

.nrv-card-content h3 {
	font-size: 1.5rem;
	font-weight: 700;
}

.nrv-card-content li {
	font-size: 1.1rem;
}

/* Reframe Section */
.nrv-reframe-content {
	max-width: 75vw;
	margin: 0 auto;
	font-size: 1.2rem;
}

/* Page */
.nrv-page-container {
	max-width: 1512px;
	margin: 0 auto;
}
header.entry-header h1.entry-title {
    font-size: 4.7rem;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    line-height: 1.4em;
}

main h2.wp-block-heading {
    font-size: 3rem;
    font-weight: 400;
    font-family: 'Manrope', sans-serif;
    line-height: 1.2em;
}

/* Footer */
footer {
    color: #fff;
    font-weight: 400;
    padding: 5rem 0 2rem;
}

footer .site-branding {
    margin-bottom: 1rem;
}

.align-items-center {
    text-align: center;
}

footer .align-items-center p {
    margin-bottom: 0;
}

footer .row.mb-5 {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}

footer .col-md-4 {
    width: 25%;
}

footer ul.nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-evenly;
    align-items: center;
    gap: 2rem;
}

footer a.menu-link {
    display: inline-block;
    padding: 0.6rem 0;
}

footer a:hover {
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}

/* Tablet */
@media (max-width: 62em) {
	.legal h1 {
		font-size: 3.2rem;
	}
	.nrv-section-heading-center {
		max-width: 70vw;
	}
	.nrv-section-heading-center h2 {
		font-size: 4rem;
	}
	.nrv-card-content h3 {
		font-size: 1.25rem;
	}
	.nrv-card-content li {
		font-size: 1rem;
	}
}

@media (max-width: 900px) {
	footer .row.mb-5 {
    	flex-direction: column;
    }
	footer .col-md-4, footer .col-md-8 {
    	width: 100%;
	}
	footer ul.nav {
    	margin: 0 0 2rem;
		justify-content: space-between;
	}
	.light-gray-bg .col-3-wrap {
   		grid-template-columns: repeat(2, 1fr);
	}
	.light-gray-bg .col-3-wrap > :last-child {
	    grid-column: 1 / -1; 
	    justify-self: center; 
	}
}

/* Mobile */
@media (max-width: 48em) {
	.nrv-hero {
		flex-direction: column;
	}
	.nrv-hero-img {
		min-height: 50vh;
		background-position: left;
	}
	.nrv-section-heading-center {
		max-width: unset;
	}
	.nrv-card {
		flex-direction: column;
		padding-left: 3rem !important;
		padding-right: 3rem !important;
	}
	.nrv-card-img {
		width: 100%;
	}
	.nrv-card-img.right {
		order: -1;
	}
	.nrv-card-img.left,
	.nrv-card-img.right {
		margin: unset !important;
	}
	.nrv-reframe-content {
		max-width: 87vw;
	}
	
	section.wp-block-cover.alignfull.nrv-section {
    	padding: 8rem 0 5rem;
	}
	/*#mobile-menu-btn {
    	display: block;
	}
	
	.ast-header-break-point .main-navigation {
    	display: none;
	}
	
	.ast-header-break-point #mobile-menu-btn[aria-expanded="true"] + .main-navigation {
        display: block;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        z-index: 999;
        background: var(--nrv-red);
    }
	
	.ast-header-break-point #mobile-menu-btn[aria-expanded="true"] .open-menu, .ast-header-break-point #mobile-menu-btn[aria-expanded="false"] .close-menu {
		display: none;
	}
	
	.ast-header-break-point #mobile-menu-btn[aria-expanded="false"] .open-menu, .ast-header-break-point #mobile-menu-btn[aria-expanded="true"] .close-menu {
		display: block;
	}
	
	.site-header .main-navigation ul {
		display: flex;
        flex-direction: column;
        gap: 1rem;
        background: var(--nrv-red);
        width: 90%;
        margin: 0 auto;
        padding-bottom: 1.5rem;
	}
	.site-header .main-navigation ul .menu-item {
    	width: 100%;
    	text-align: center;
	} */
	.nrv-section .wp-block-cover__inner-container .wp-block-media-text__media img {
    	margin-bottom: 1rem;
		margin-top: 2rem;
	}
	.nrv-section .wp-block-media-text.alignwide.has-media-on-the-right.is-stacked-on-mobile.is-vertically-aligned-center {
    	padding: 0 10px !important;
	}
	.entry-content .nrv-section .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
    	padding: 0;
	}
	.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
        grid-column: 1;
        grid-row: 1;
    }
	.wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__media {
        grid-column: 1;
        grid-row: 2;
    }
	.ast-plain-container.ast-no-sidebar .entry-content > .alignfull, .ast-page-builder-template .ast-no-sidebar .entry-content > .alignfull {
    	height: auto !important;
    	min-height: 0 !important;
	}
	.col-2-wrap {
	    flex-direction: column;
	}
	.col-2 {
	    padding: 6rem 0 0;
	}
	.bottom-image img {
	    width: 100%;
	}
	footer ul.nav {
        flex-direction: column;
		gap: 0.5rem;
    }
	footer .col-md-4, footer .col-md-8 {
        text-align: center;
    }
	
}

@media (max-width: 37.5em) {
	.nrv-hero {
		padding-left: 2rem !important;
		padding-right: 2rem !important;
	}
	.nrv-hero-heading {
		max-width: unset;
	}
	.nrv-hero-heading h1,
	.nrv-section-heading-center h2 {
		font-size: 3rem;
	}
	.nrv-section-heading-center {
		margin-bottom: 2rem;
	}
	.nrv-card {
		padding-left: 1.5rem !important;
		padding-right: 1.5rem !important;
	}
	.nrv-reframe-content {
		max-width: unset;
	}
	.nrv-section-heading-center:has(+ .nrv-reframe-content) h2,
	.nrv-reframe-content p {
		text-align: left !important;
	}
	.light-gray-bg .col-3-wrap {
    	grid-template-columns: 1fr;
  	}
	.light-gray-bg .col-3-wrap > :last-child {
	    grid-column: auto;
        justify-self: left;
        width: 100%;
 	}
	.entry-content .nrv-home-section .nrv-container-wrap.cta {
		padding-bottom: 2rem;
	}
	.entry-content .nrv-hero .nrv-container-wrap {
    	padding: 6rem 2rem;
		flex-direction: column;
 	}
}