/*
Theme Name: GreenShiftNow
Theme URI: https://greenshiftnow.com/
Author: GreenShiftNow
Author URI: https://greenshiftnow.com/
Description: Custom B2B theme for GreenShiftNow — secure AI and carbon accounting tools for sustainability teams. Field-driven via ACF, WooCommerce ready.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: greenshiftnow
Tags: business, custom-colors, custom-menu, custom-logo, e-commerce, two-columns, right-sidebar
*/

/* ==========================================================================
   1. Design tokens
   Colour values are overridden at runtime by the Customizer (Appearance >
   Customize > Brand Colours), which prints a :root block in the page head.
   ========================================================================== */

:root {
	--primary: #064e3b;
	--primary-light: #059669;
	--primary-dark: #022c22;
	--accent: #10b981;
	--bg-light: #f8fafc;
	--card-bg: #ffffff;
	--text-dark: #0f172a;
	--text-muted: #475569;
	--text-faint: #94a3b8;
	--border: #e2e8f0;
	--footer-bg: #031c15;

	--container: 1200px;
	--radius: 8px;
	--radius-lg: 12px;
	--font-body: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
}

/* ==========================================================================
   2. Reset
   Deliberately narrower than a universal reset so WooCommerce markup and
   Gutenberg block content keep their default spacing.
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-light);
	color: var(--text-dark);
	font-family: var(--font-body);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
	display: block;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

a {
	color: var(--primary-light);
}

/* ==========================================================================
   3. Accessibility helpers
   ========================================================================== */

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

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100000;
	background: #ffffff;
	color: var(--primary);
	padding: 12px 20px;
	font-weight: 700;
	border-radius: 0 0 var(--radius) 0;
}

.skip-link:focus {
	left: 0;
}

:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 2px;
}

/* ==========================================================================
   4. Layout
   ========================================================================== */

.gsn-container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 50px 5%;
	min-height: 60vh;
}

.gsn-container--narrow {
	max-width: 780px;
}

.gsn-panel {
	background: var(--card-bg);
	padding: 35px;
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

/* ==========================================================================
   5. Header & navigation
   ========================================================================== */

.site-header {
	background: var(--primary);
	color: #ffffff;
	padding: 1rem 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.admin-bar .site-header {
	top: 32px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.logo {
	font-size: 1.4rem;
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	line-height: 1.2;
	white-space: nowrap;
}

.logo span {
	color: var(--accent);
}

.site-tagline {
	display: none;
}

.custom-logo {
	max-height: 44px;
	width: auto;
}

.main-navigation ul {
	display: flex;
	list-style: none;
	gap: 6px;
	align-items: center;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.main-navigation a {
	color: #ecfdf5;
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background 0.2s, color 0.2s;
	padding: 8px 12px;
	border-radius: 4px;
	display: block;
	white-space: nowrap;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-page-ancestor > a {
	background: rgba(255, 255, 255, 0.1);
	color: var(--accent);
}

/* Add the CSS class "btn-header" to a menu item to render it as a button. */
.main-navigation .btn-header > a {
	background: var(--primary-light);
	color: #ffffff;
	font-weight: 600;
}

.main-navigation .btn-header > a:hover,
.main-navigation .btn-header > a:focus {
	background: #047857;
	color: #ffffff;
}

/* Sub-menus */
.main-navigation ul ul {
	display: none;
	position: absolute;
	background: var(--primary);
	padding: 8px;
	border-radius: var(--radius);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
	min-width: 220px;
	flex-direction: column;
	align-items: stretch;
	gap: 2px;
	z-index: 1001;
}

.main-navigation li {
	position: relative;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

/* Mobile toggle */
.menu-toggle {
	display: none;
	background: transparent;
	border: 2px solid rgba(255, 255, 255, 0.35);
	color: #ffffff;
	border-radius: 6px;
	padding: 8px 12px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 600;
	align-items: center;
	gap: 8px;
}

.menu-toggle:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.menu-toggle-bars {
	display: inline-block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
	content: "";
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	background: currentColor;
}

.menu-toggle-bars::before {
	top: -6px;
}

.menu-toggle-bars::after {
	top: 6px;
}

/* ==========================================================================
   6. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
	color: var(--primary);
	margin-bottom: 12px;
	line-height: 1.25;
}

h1 { font-size: 2.2rem; font-weight: 800; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p {
	color: var(--text-muted);
	margin-bottom: 15px;
}

.section-heading {
	text-align: center;
	margin-top: 40px;
}

.lead {
	font-size: 1.05rem;
}

/* Gutenberg / editor content needs its list and spacing defaults back. */
.entry-content ul,
.entry-content ol {
	margin: 0 0 1.25rem 1.5rem;
	color: var(--text-muted);
}

.entry-content li {
	margin-bottom: 8px;
}

.entry-content > * + * {
	margin-top: 0;
}

.entry-content blockquote {
	border-left: 4px solid var(--accent);
	padding-left: 20px;
	margin: 0 0 1.25rem;
	font-style: italic;
}

.entry-content img {
	border-radius: var(--radius);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.25rem;
}

.entry-content th,
.entry-content td {
	border: 1px solid var(--border);
	padding: 10px;
	text-align: left;
}

/* WordPress core alignment classes */
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.aligncenter { margin-left: auto; margin-right: auto; }
.alignwide { max-width: calc(var(--container) - 10%); }
.alignfull { max-width: none; }
.wp-caption-text,
.wp-element-caption {
	font-size: 0.85rem;
	color: var(--text-faint);
	text-align: center;
	margin-top: 8px;
}

.sticky .card-header::after {
	content: " ★";
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */

.btn-primary,
.btn-outline {
	border-radius: 6px;
	font-weight: 700;
	cursor: pointer;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
	background: var(--primary-light);
	color: #ffffff;
	padding: 12px 24px;
	border: 2px solid var(--primary-light);
}

.btn-primary:hover,
.btn-primary:focus {
	background: #047857;
	border-color: #047857;
	color: #ffffff;
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 10px 20px;
}

.btn-outline:hover,
.btn-outline:focus {
	background: var(--primary);
	color: #ffffff;
}

.btn-block {
	width: 100%;
	display: block;
}

.btn-accent {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--text-dark);
}

.btn-accent:hover,
.btn-accent:focus {
	background: #0ea371;
	border-color: #0ea371;
	color: var(--text-dark);
}

/* Inverted outline, for use on dark backgrounds */
.btn-outline-light {
	color: #ffffff;
	border-color: #ffffff;
}

.btn-outline-light:hover,
.btn-outline-light:focus {
	background: #ffffff;
	color: var(--primary);
}

.btn-row {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: center;
}

/* ==========================================================================
   8. Hero
   ========================================================================== */

.hero {
	background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
	color: #ffffff;
	padding: 80px 5%;
	text-align: center;
	border-radius: var(--radius-lg);
	margin-bottom: 40px;
}

.hero h1 {
	color: #ffffff;
	font-size: 2.6rem;
	font-weight: 800;
}

.hero p {
	color: #a7f3d0;
	font-size: 1.15rem;
	max-width: 780px;
	margin: 0 auto 25px;
}

.security-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(16, 185, 129, 0.15);
	border: 1px solid var(--accent);
	color: #a7f3d0;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 20px;
}

/* Compact page header used on interior pages */
.page-header {
	margin-bottom: 25px;
}

.page-header p {
	max-width: 820px;
}

/* ==========================================================================
   9. Callout banner
   ========================================================================== */

.training-hint {
	background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
	border-left: 5px solid var(--accent);
	color: #ffffff;
	padding: 30px;
	border-radius: var(--radius);
	margin: 40px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.training-hint h3 {
	color: var(--accent);
	margin-bottom: 6px;
	font-size: 1.4rem;
}

.training-hint p {
	color: #cbd5e1;
	margin-bottom: 0;
	max-width: 720px;
}

/* Dark feature panel (Corporate Training page header) */
.panel-dark {
	background: var(--primary);
	color: #ffffff;
	padding: 40px;
	border-radius: var(--radius);
	margin-bottom: 30px;
}

.panel-dark h1,
.panel-dark h2 {
	color: #ffffff;
	margin-top: 10px;
}

.panel-dark p {
	color: #a7f3d0;
}

.panel-dark .price-tag {
	color: #ffffff;
}

.panel-dark .badge {
	background: var(--accent);
	color: var(--primary);
}

/* ==========================================================================
   10. Grids & cards
   ========================================================================== */

.pillars-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
	margin: 30px 0;
}

.pillar-card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 20px;
	text-align: left;
}

.pillar-card h4 {
	color: var(--primary);
	margin-bottom: 8px;
	font-size: 1.1rem;
}

.pillar-card p:last-child {
	margin-bottom: 0;
}

.grid-3 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 25px;
	margin-top: 25px;
}

.card {
	background: var(--card-bg);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 25px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.card-header {
	border-bottom: 2px solid var(--accent);
	padding-bottom: 10px;
	margin-bottom: 15px;
}

.card-header h2,
.card-header h3 {
	margin-bottom: 0;
}

/* Cards use h2 for document outline reasons but must read at h3 size. */
.card-title,
h2.card-title {
	margin-top: 10px;
	font-size: 1.3rem;
	font-weight: 700;
}

.card-title a {
	color: var(--primary);
	text-decoration: none;
}

.card-title a:hover,
.card-title a:focus {
	color: var(--primary-light);
}

.card-thumb {
	border-radius: var(--radius);
	margin-bottom: 15px;
	overflow: hidden;
}

.card-thumb img {
	width: 100%;
	object-fit: cover;
}

.card p:last-of-type {
	margin-bottom: 0;
}

.card-footer {
	margin-top: 20px;
}

.price-tag {
	font-size: 1.8rem;
	font-weight: 800;
	color: var(--primary);
	margin: 15px 0;
}

.price-tag .price-note {
	font-size: 1rem;
	font-weight: 400;
}

.badge {
	background: #ecfdf5;
	color: var(--primary-light);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	align-self: flex-start;
	display: inline-block;
	letter-spacing: 0.02em;
}

.blog-meta {
	font-size: 0.8rem;
	color: var(--text-faint);
	margin-bottom: 8px;
	display: block;
}

.footer-security-tag,
.security-tag {
	color: var(--accent);
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 5px;
}

/* ==========================================================================
   11. Forms
   ========================================================================== */

.form-group {
	margin-bottom: 15px;
	text-align: left;
}

.form-group label {
	display: block;
	font-weight: 600;
	margin-bottom: 5px;
	font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea,
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
select,
textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid var(--border);
	border-radius: 6px;
	font-size: 0.95rem;
	background: #ffffff;
	color: var(--text-dark);
}

textarea {
	min-height: 120px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--accent);
	outline: 2px solid rgba(16, 185, 129, 0.25);
	outline-offset: 0;
}

/* Fluent Forms alignment with the theme */
.fluentform .ff-el-input--label label {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--text-dark);
}

.fluentform .ff-btn-submit {
	background: var(--primary-light) !important;
	border-color: var(--primary-light) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	padding: 12px 24px !important;
}

.fluentform .ff-btn-submit:hover {
	background: #047857 !important;
	border-color: #047857 !important;
}

/* Formidable Forms alignment with the theme.
   Formidable ships its own visual style that overrides most theme CSS, hence
   the !important flags — they are matching its specificity, not fighting ours. */
.frm_forms .frm_form_field {
	margin-bottom: 15px;
	text-align: left;
}

.frm_forms .frm_primary_label {
	font-weight: 600 !important;
	font-size: 0.9rem !important;
	color: var(--text-dark) !important;
	margin-bottom: 5px !important;
	padding: 0 !important;
}

.frm_forms .frm_description {
	color: var(--text-muted);
	font-size: 0.85rem;
}

.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="url"],
.frm_forms input[type="number"],
.frm_forms select,
.frm_forms textarea {
	width: 100% !important;
	padding: 10px !important;
	border: 1px solid var(--border) !important;
	border-radius: 6px !important;
	font-size: 0.95rem !important;
	background: #ffffff !important;
	color: var(--text-dark) !important;
	box-shadow: none !important;
}

.frm_forms input:focus,
.frm_forms select:focus,
.frm_forms textarea:focus {
	border-color: var(--accent) !important;
	outline: 2px solid rgba(16, 185, 129, 0.25) !important;
}

.frm_forms .frm_submit input[type="submit"],
.frm_forms .frm_submit button,
.frm_forms .frm_button_submit {
	background: var(--primary-light) !important;
	border: 2px solid var(--primary-light) !important;
	color: #ffffff !important;
	font-weight: 700 !important;
	border-radius: 6px !important;
	padding: 12px 24px !important;
	width: 100%;
	cursor: pointer;
	text-shadow: none !important;
	box-shadow: none !important;
}

.frm_forms .frm_submit input[type="submit"]:hover,
.frm_forms .frm_submit button:hover,
.frm_forms .frm_button_submit:hover {
	background: #047857 !important;
	border-color: #047857 !important;
}

.frm_forms .frm_error,
.frm_forms .frm_error_style {
	color: #b91c1c;
	font-size: 0.85rem;
}

.frm_forms .frm_message,
.frm_forms .frm_success_style {
	background: #ecfdf5;
	border: 1px solid var(--accent);
	border-radius: var(--radius);
	color: var(--primary);
	padding: 15px;
}

.form-placeholder {
	border: 2px dashed var(--border);
	border-radius: var(--radius);
	padding: 30px;
	text-align: center;
	color: var(--text-muted);
	background: var(--bg-light);
}

.form-placeholder code {
	background: #ffffff;
	border: 1px solid var(--border);
	border-radius: 4px;
	padding: 2px 6px;
	font-size: 0.85rem;
}

/* ==========================================================================
   12. Pagination & archives
   ========================================================================== */

.gsn-pagination {
	margin-top: 40px;
	display: flex;
	justify-content: center;
}

.gsn-pagination .page-numbers {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 4px;
	border: 1px solid var(--border);
	border-radius: 6px;
	background: #ffffff;
	color: var(--primary);
	text-decoration: none;
	font-weight: 600;
}

.gsn-pagination .page-numbers.current,
.gsn-pagination .page-numbers:hover {
	background: var(--primary);
	color: #ffffff;
	border-color: var(--primary);
}

.entry-meta {
	font-size: 0.85rem;
	color: var(--text-faint);
	margin-bottom: 20px;
}

.entry-footer {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid var(--border);
	font-size: 0.9rem;
}

.post-navigation {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	margin-top: 30px;
	flex-wrap: wrap;
}

.post-navigation a {
	text-decoration: none;
	font-weight: 600;
}

/* ==========================================================================
   13. WooCommerce
   ========================================================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-top-color: var(--accent);
	background: #ffffff;
	border-radius: var(--radius);
	list-style: none;
}

.woocommerce-message::before,
.woocommerce-info::before {
	color: var(--accent);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--primary-light);
	color: #ffffff;
	font-weight: 700;
	border-radius: 6px;
	padding: 12px 24px;
}

.woocommerce .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
	background: #047857;
	color: #ffffff;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--primary);
	font-size: 1.8rem;
	font-weight: 800;
}

.woocommerce div.product .product_title {
	color: var(--primary);
}

.woocommerce-product-gallery {
	margin-bottom: 30px;
}

.woocommerce .quantity input.qty {
	width: 70px;
	padding: 8px;
}

.woocommerce-tabs ul.tabs li.active a {
	color: var(--primary) !important;
}

/* Cart, checkout and account are ordinary pages, but need the full width. */
.gsn-woo .gsn-container--narrow {
	max-width: var(--container);
}

/* Store card price line */
.product-card .price-tag del {
	font-size: 1.1rem;
	font-weight: 400;
	color: var(--text-faint);
	margin-right: 8px;
}

.product-card .price-tag ins {
	text-decoration: none;
}

/* ==========================================================================
   14. Footer
   ========================================================================== */

.site-footer {
	background: var(--footer-bg);
	color: var(--text-faint);
	padding: 60px 5% 25px;
	margin-top: 80px;
	font-size: 0.9rem;
	border-top: 3px solid var(--accent);
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr repeat(3, 1fr);
	gap: 40px;
	max-width: var(--container);
	margin: 0 auto 40px;
	text-align: left;
}

.footer-col h4 {
	color: #ffffff;
	margin-bottom: 15px;
	font-size: 1rem;
	font-weight: 700;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 8px;
}

.footer-col p {
	color: var(--text-faint);
	font-size: 0.88rem;
	line-height: 1.6;
}

.footer-links,
.footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: color 0.2s;
}

.footer-links a:hover,
.footer-links a:focus {
	color: var(--accent);
}

.footer-bottom {
	max-width: var(--container);
	margin: 0 auto;
	padding-top: 25px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	font-size: 0.82rem;
}

/* ==========================================================================
   15. Responsive
   The original mockup had no breakpoints; a 7-item nav and a 4-column
   footer both fail below ~900px, so these are load-bearing.
   ========================================================================== */

@media (max-width: 1100px) {
	.footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 980px) {
	.menu-toggle {
		display: inline-flex;
	}

	.site-header {
		flex-wrap: wrap;
	}

	.main-navigation {
		display: none;
		width: 100%;
		order: 3;
	}

	.main-navigation.is-open {
		display: block;
	}

	.main-navigation ul {
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		padding-top: 12px;
		border-top: 1px solid rgba(255, 255, 255, 0.12);
		margin-top: 12px;
	}

	.main-navigation a {
		padding: 12px;
	}

	.main-navigation ul ul {
		position: static;
		display: flex;
		box-shadow: none;
		padding: 0 0 0 16px;
		min-width: 0;
	}

	.hero {
		padding: 55px 6%;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1.05rem;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 700px) {
	.gsn-container {
		padding: 32px 5%;
	}

	h1 { font-size: 1.7rem; }
	h2 { font-size: 1.45rem; }

	.grid-3,
	.pillars-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: 1fr;
	}

	.training-hint,
	.panel-dark,
	.gsn-panel {
		padding: 24px;
	}

	.training-hint .btn-primary {
		width: 100%;
	}

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.btn-row .btn-primary,
	.btn-row .btn-outline {
		width: 100%;
	}

	.alignleft,
	.alignright {
		float: none;
		margin: 0 0 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ==========================================================================
   16. Print
   ========================================================================== */

@media print {
	.site-header,
	.site-footer,
	.menu-toggle,
	.btn-primary,
	.btn-outline {
		display: none !important;
	}
}
