/*!
Theme Name: launchpad
Theme URI: http://underscores.me/
Author: WebMO
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: launchpad
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

launchpad is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li>ul,
li>ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover>ul,
.main-navigation ul ul li.focus>ul {
	display: block;
	left: auto;
	right: 100%;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover>ul,
.main-navigation ul li.focus>ul {
	left: auto;
	right: 0;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main .posts-navigation,
.site-main .post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Begin Launchpad Styles
--------------------------------------------------------------*/
/* Controls block width in the block editor */
html :where(.wp-block) {
	max-width: var(--content-max-width);
}

/* Constrains non-custom-block content in the block editor */
.entry-content > *:not(.lp-block){
	max-width: var(--content-max-width);
	margin-inline: auto;
}

/* CSS Tokens
--------------------------------------------- */
:root {

	/* === BRAND PRIMITIVES (TRT — live-validated, see _source/brand-real-tokens.md) === */
	--red:       #BF142A;
	--red-dark:  #9c0f22;
	--red-ink:   #7a0a18;
	--black:     #0f0f0f;
	--ink:       #232323;
	--muted:     #5b5b5b;
	--line:      #e5e0d9;
	--cream:     #f8f5f1;
	--sand:      #efe9df;
	--tan:       #c9a77c;
	--white:     #fff;

	--shadow:    0 10px 30px rgba(0,0,0,.08);
	--shadow-lg: 0 20px 60px rgba(0,0,0,.18);
	--radius:    4px;

	/* === LEGACY ROLE TOKENS (kept for launchpad starter compat — values updated to TRT) === */
	--color-primary:          var(--red);            /* was #2F5387 — now brand red */
	--color-body-light:       #f1ece4;               /* was #b6bfcc — text on dark bg */

	--color-secondary-light:  var(--white);
	--color-secondary-dark:   var(--muted);          /* was #6B717E — now TRT muted */
	--color-secondary-darker: var(--ink);            /* was #242527 — now TRT ink #232323 */

	--color-accent:           var(--red);            /* was #615FF8 — accent = primary in TRT */
	--color-accent-light:     var(--red-dark);
	--color-accent-lighter:   var(--red-ink);

	/* === TRT SEMANTIC ROLE TOKENS (preferred for new blocks) === */
	--color-surface:           var(--white);
	--color-surface-alt:       var(--cream);
	--color-surface-inverse:   var(--black);
	--color-text:              var(--ink);
	--color-text-muted:        var(--muted);
	--color-text-on-dark:      #fff;
	--color-text-on-dark-soft: #d8d2c4;
	--color-accent-strong:     var(--red-dark);
	--color-accent-deep:       var(--red-ink);
	--color-border:            var(--line);

	/* === FONT FAMILY === */
	/* TRT brand fonts (live-validated): Josefin Sans for headings, Mulish for body */
	--font-family-heading: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
	--font-family-body:    "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-family-button:  var(--font-family-body);

	/* TRT-preferred aliases */
	--font-head: var(--font-family-heading);
	--font-body: var(--font-family-body);

	/* === HEADING STYLE (TRT live brand: Light + UPPERCASE + 1px tracking) === */
	--heading-weight:         300;
	--heading-letter-spacing: 1px;
	--heading-text-transform: uppercase;
	--heading-line-height:    1.1;

	/* === FONT SIZE === */
	/* Legacy launchpad scale (kept) */
	--font-size-h1: 60px;
	--font-size-h2: 48px;
	--font-size-h3: 38px;
	--font-size-h4: 30px;
	--font-size-h5: 26px;
	--font-size-h6: var(--font-size-h5);
	--font-size-body:       18px;
	--font-size-body-large: 20px;

	/* TRT responsive scale (preferred for TRT blocks) */
	--type-h1:        clamp(2.2rem, 5.5vw, 4.2rem);
	--type-h2:        clamp(1.8rem, 3.8vw, 2.8rem);
	--type-h3:        1.25rem;
	--type-eyebrow:   .78rem;
	--type-body:      1.1rem;
	--type-body-lead: 1.08rem;
	--type-small:     .82rem;
	--type-micro:     .72rem;

	--weight-light:    300;
	--weight-regular:  400;
	--weight-bold:     700;
	--weight-heavy:    800;

	--tracking-eyebrow: 3px;
	--tracking-cap:     2px;

	/* === SIZING === */
	--content-max-width: 1200px;
	--content-width-narrow: 640px;
	--content-width-normal: 1100px;
	--content-width-wide: 1140px;

	--side-margin: 20px;

	--max-width-narrow: calc((2 * var(--side-margin)) + var(--content-width-narrow));
	--max-width-normal: calc((2 * var(--side-margin)) + var(--content-width-normal));
	--max-width-wide:   calc((2 * var(--side-margin)) + var(--content-width-wide));

	/* TRT layout aliases (block CSS prefers these) */
	--max-width:        1180px;
	--max-width-wide-trt: 1280px;
	--gutter-x:         clamp(20px, 4vw, 48px);

	--margin-vertical-normal: 50px;
	--margin-vertical-wide:   70px;
	--margin-vertical-wider:  84px; /* matches HTML mockup `section{padding:84px 0}` (was 90px) */

	/* === GRADIENTS (named, reusable) === */
	--gradient-hero:     linear-gradient(135deg, rgba(10,10,10,.82) 0%, rgba(15,15,15,.55) 55%, rgba(191,20,42,.35) 100%);
	--gradient-callband: linear-gradient(135deg, var(--red) 0%, var(--red-ink) 100%);

}

/* TODO: Adjust header font sizes for medium sized screens
Currently headers are too large for tablet devices in dual column layouts.
*/

/* TRT base typography: Josefin Sans Light + UPPERCASE + 1px tracking on H1–H4. Body uses ink color. */
h1, h2, h3, h4 {
	font-family: var(--font-family-heading);
	font-style: normal;
	font-weight: var(--heading-weight);
	letter-spacing: var(--heading-letter-spacing);
	text-transform: var(--heading-text-transform);
	line-height: var(--heading-line-height);
	color: var(--color-text);
	margin: 0 0 .4em;
}

h1 { font-size: var(--type-h1); letter-spacing: 1px; }
h2 { font-size: var(--type-h2); }
h3 { font-size: var(--type-h3); letter-spacing: .6px; }
h4 { font-size: var(--font-size-h4); }

h5 {
	font-family: var(--font-family-body);
	font-size: var(--font-size-h5);
	font-style: normal;
	font-weight: 600;
	line-height: 1.3;
	color: var(--color-text);
}

p {
	font-family: var(--font-family-body);
	font-size: var(--type-body);
	font-style: normal;
	font-weight: 400;
	line-height: 1.55;
	color: var(--color-text);
}

a {
	color: var(--color-accent);
	text-decoration: none;
	transition: color .2s;
}

a:hover { color: var(--color-accent-strong); }
a:visited { color: var(--color-accent); }

/* TODO: Create button system that allows leading icon and two buttons in one container */

a.btn {
	display: inline-block;
	align-self: flex-start;
	border-radius: 8px;
	padding: 10px 14px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
	font-size: var(--font-size-body);
}

a.btn-primary {
	background-color: var(--color-accent);
	color: var(--color-secondary-light);
}

a.btn-primary:hover {
	background-color: var(--color-accent-strong);
	transition: 0.25s;
}

/* Global form styles */

.gform_wrapper .gform_heading .gform_description:empty{
	display: none;
}

.gform_wrapper .gform_heading .gform_required_legend{
	display: none;
}

.gform_wrapper .gform_heading .gform_title{
	font-family: var(--font-family-heading);
	font-size: var(--font-size-h1);
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin: 0;
}

.gform_wrapper .gform_body .gform_fields .gfield input,
.gform_wrapper .gform_body .gform_fields .gfield textarea {
	border-radius: 8px;
	border: solid 1px var(#f1f1f1);
	padding: 10px 14px;
}

.gform_wrapper .gform_body .gform_fields .gfield .gfield_label {
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}

.gform_wrapper .gform_body .gform_fields .gfield .gfield_label .gform-field-label--type-sub {
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}

.gform_wrapper .gform_footer input[type=submit] {
	border-radius: 8px;
	border: none;
	padding: 10px 14px;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
	background-color: var(--color-accent) !important;
	color: var(--color-secondary-light);

	font-family: var(--font-family-body);
	font-size: var(--font-size-body) !important;
	font-style: normal;
	font-weight: 500;
	line-height: 1.4;
}

/* Header
--------------------------------------------- */
/*TODO: add native support for mobile menu*/
/*TODO: make sure nav can support logos that are long (horizontal)*/

.entry-title{
	display: none;
}

.site-header{
	position: sticky;
	top: 0;
	z-index: 99;
	padding-inline: 4vw;
	background: #fff;
	box-shadow: rgba(17, 17, 26, 0.1) 0px 1px 0px;

	font-family: var(--font-family-heading);
	font-size: var(--font-size-body);
	font-weight: 400;
}

.header-wrapper{
	display: flex;
	height: 80px;
	max-width: var(--content-max-width);
	margin: 0 auto;
}

.site-branding{
	display: flex;
	align-items: center;
}

p.site-title{
	margin: 0;
}

#primary-menu{
	display: flex;
	gap: 12px;
}

#primary-menu a{
	text-decoration: none;
	color: var(--color-secondary-darker);
}

#primary-menu a:hover{
	color: var(--color-accent);
}

.main-navigation{
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.custom-logo-link img{
	max-height: 80px;
	width: auto;
}

.entry-content{
	margin-top: 0;
}

.site-title a{
	font-family: var(--font-family-heading);
	font-size: var(--font-size-h5);
	color: var(--color-secondary-darker);
	font-weight: 800;
}

.sub-menu{
	display: flex;
	flex-direction: column;
	border-radius: 4px;
	box-shadow: rgba(0, 0, 0, 0.05) 0px 0px 0px 1px;
}

.sub-menu .menu-item{
	display: block;
	padding: 8px 16px;
	background: #fff;
	border-bottom: 1px solid #e2e2e2;
}

.sub-menu .menu-item:first-child{
	border-radius: 4px 4px 0 0;
}

.sub-menu .menu-item:last-child{
	border-radius: 0 0 4px 4px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

/* Footer Container
--------------------------------------------- */
.site-footer.lp-footer{
	position: relative;
	color: var(--color-secondary-light);
	background: linear-gradient(-45deg, rgb(4, 12, 36) 0%, rgba(4, 12, 36, 0.8) 100%);
	overflow: hidden;
}

.lp-footer__top{
	padding-block: var(--margin-vertical-wide) var(--margin-vertical-normal);
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	position: relative;
	z-index: 1;
	padding-inline: 4vw;
}

.lp-footer__inner{
	max-width: var(--content-max-width);
	margin-inline: auto;
}

.lp-footer__grid{
	display: grid;
	grid-template-columns: minmax(240px, 1.4fr) minmax(180px, 1fr) minmax(200px, 1fr);
	gap: 48px;
	align-items: start;
}

/* Footer Common Elements
--------------------------------------------- */
.lp-footer__heading{
	font-family: var(--font-family-heading);
	font-size: 24px;
	font-weight: 600;
	color: var(--color-secondary-light);
	margin: 0 0 16px;
}

/* Footer Column 1
--------------------------------------------- */

.lp-footer__brand{
	display: flex;
	flex-direction: column;
	gap: 24px;
}

/* Footer Logo */
.lp-footer__logo-image,
.lp-footer__logo .custom-logo{
	width: auto;
	max-width: 220px;
	height: 100px;
	max-height: 100px;
}

.lp-footer__logo .custom-logo-link{
	display: inline-flex;
}

.lp-footer__logo{
	max-height: 100px;
}

/* Footer Contact Info*/
.lp-footer__contact-list{
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-footer__contact-item{
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
	line-height: 1.4;
	color: var(--color-secondary-light);
}

.lp-footer__contact-icon{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	margin-top: 2px;
}

.lp-footer__contact-icon-image{
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.lp-footer__contact-link,
.lp-footer__contact-link:visited{
	color: var(--color-body-light);
}

.lp-footer__contact-link:hover{
	color: var(--color-accent-light);
}

.lp-footer__contact-link:visited{

}

/* Column 2
--------------------------------------------- */
.lp-footer__quick-links{
	height: 100%;
	padding-left: 32px;
	border-left: 1px solid rgba(182, 191, 204, 0.2);
}

.lp-footer__links{
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lp-footer__link-wrapper{
	position: relative;
	padding-left: 18px;
}

.lp-footer__link-wrapper::before{
	content: "›";
	position: absolute;
	left: 0;
	top: 0;
	color: var(--color-secondary-light);
	font-weight: 700;
}

.lp-footer__link{
	color: var(--color-body-light);
	font-family: var(--font-family-body);
	font-size: var(--font-size-body);
}

.lp-footer__link:visited{
	color: var(--color-body-light);
}

.lp-footer__link:hover{
	color: var(--color-accent-light);
}


/* Column 3
--------------------------------------------- */
.lp-footer__social-media{
	height: 100%;
	padding-left: 32px;
	border-left: 1px solid rgba(182, 191, 204, 0.2);
}

.lp-footer__social{
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.lp-footer__social-link{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.12);
	transition: background 0.2s ease, transform 0.2s ease;
}

.lp-footer__social-link:hover{
	background: rgba(255, 255, 255, 0.2);
}

.lp-footer__social-icon{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
}

/* Footer Bottom
--------------------------------------------- */

.lp-footer-disclaimers{
	position: relative;
	z-index: 1;
	padding-inline: 4vw;
}

.lp-footer-disclaimers{
	padding-block: 18px;
}

.lp-footer-disclaimers__wrapper{
	max-width: var(--content-max-width);
	margin-inline: auto;
}

.lp-footer-disclaimers__content{
	display: flex;
	flex-direction: row-reverse;
	justify-content: flex-start;
	gap: 18px;
	flex-wrap: wrap;
	font-family: var(--font-family-body);
	font-size: 16px;
	line-height: 1.4;
}

.lp-footer__disclaimer-link{
	color: var(--color-body-light);
}


.lp-footer__disclaimer-link:visited{
	color: var(--color-body-light);
}

.lp-footer__disclaimer-link:hover{
	color: var(--color-accent-light);
}

@media screen and (max-width: 767px){
	.lp-footer__grid{
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.lp-footer__contact{
		height: 100%;
		padding-left: 32px;
		border-left: 1px solid rgba(182, 191, 204, 0.2);
	}

	.lp-footer-disclaimers__content{
		justify-content: center;
		text-align: center;
	}
}

/*--------------------------------------------------------------
# Animate-in utility (paired with assets/js/launchpad.js)
--------------------------------------------------------------*/
@media (prefers-reduced-motion: no-preference) {
	.fade-up {
		opacity: 0;
		transform: translateY(14px);
		transition: opacity .7s ease, transform .7s ease;
	}

	.fade-up.in {
		opacity: 1;
		transform: none;
	}
}

/*--------------------------------------------------------------
# TRT theme — top bar (sticky, black bg, red bottom border)
# Lives in header.php, fed by Site Settings ACF Options.
--------------------------------------------------------------*/
.lp-topbar {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--black);
	border-bottom: 3px solid var(--red);
}

.lp-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	max-width: var(--max-width-wide-trt);
	margin: 0 auto;
	padding: 12px 24px;
}

.lp-topbar__brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.lp-topbar__logo-link { display: inline-flex; }

.lp-topbar__logo {
	display: block;
	height: 38px;
	width: auto;
}

.lp-topbar__tagline {
	color: #fff;
	font-family: var(--font-head);
	font-weight: var(--weight-light);
	letter-spacing: 2px;
	font-size: .82rem;
	text-transform: uppercase;
	opacity: .85;
	border-left: 1px solid rgba(255,255,255,.2);
	padding-left: 14px;
	margin-left: 4px;
}

.lp-topbar__cta,
.lp-topbar__cta:link,
.lp-topbar__cta:visited {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--red);
	color: #fff;
	padding: 12px 22px;
	font-family: var(--font-body);
	font-weight: var(--weight-heavy);
	letter-spacing: 1px;
	text-transform: uppercase;
	font-size: .85rem;
	border-radius: var(--radius);
	transition: background .2s, color .2s;
	white-space: nowrap;
}

.lp-topbar__cta:hover,
.lp-topbar__cta:focus { background: #fff; color: var(--red); }

.lp-topbar__cta svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

@media (max-width: 720px) {
	.lp-topbar__tagline { display: none; }
	.lp-topbar__logo   { height: 32px; }
	.lp-topbar__cta    { padding: 10px 14px; font-size: .78rem; }
}

/*--------------------------------------------------------------
# TRT theme — footer + mobile call bar
# Lives in template-parts/footer/site-footer.php, fed by Site Settings.
--------------------------------------------------------------*/
.lp-site-footer {
	background: var(--black);
	color: #aaa;
	padding: 40px 24px 28px;
	text-align: center;
	font-size: .82rem;
}

.lp-site-footer__logo {
	height: 34px;
	width: auto;
	margin: 0 auto 14px;
	opacity: .92;
}

.lp-site-footer__links {
	display: flex;
	gap: 18px;
	justify-content: center;
	flex-wrap: wrap;
	margin: 8px 0 14px;
	padding: 0;
	list-style: none;
}

.lp-site-footer__link {
	color: #ddd;
	transition: color .2s;
}

.lp-site-footer__link:hover,
.lp-site-footer__link:focus { color: var(--red); }
.lp-site-footer__link:visited { color: #ddd; }
.lp-site-footer__link:visited:hover { color: var(--red); }

.lp-site-footer__sep {
	color: #555;
	user-select: none;
}

.lp-site-footer__copy {
	color: #c8c8c8;
	font-size: .74rem;
	letter-spacing: .5px;
	margin: 0;
}

/* Mobile call bar — fixed bottom on ≤720px only */
.lp-mobile-call {
	display: none;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 60;
	background: var(--red);
	color: #fff;
	padding: 14px 18px;
	text-align: center;
	font-family: var(--font-body);
	font-weight: var(--weight-heavy);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	box-shadow: 0 -6px 18px rgba(0,0,0,.18);
}

.lp-mobile-call a {
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-size: 1rem;
	letter-spacing: 1.5px;
}

.lp-mobile-call a:visited { color: #fff; }

.lp-mobile-call svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

@media (max-width: 720px) {
	.lp-mobile-call { display: block; }
	body { padding-bottom: 66px; }
}
