/*!
Theme Name: solar
Theme URI: http://underscores.me/
Author: Underscores.me
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: solar
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.

solar 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
--------------------------------------------------------------*/
:root {
  /* ... your existing vars ... */
  --solar-header-h: 85px;  /* height of the top bar */
}


/* === LIGHT THEME (default) === */

:root {
  --solar-bg:        #E6E7EA;   /* matte silver */
  --solar-panel:     #F8F9FA;   /* anodized white panel */
  --solar-panel-dark:#D8D9DD;   /* brushed silver */
  --solar-text:      #25282B;   /* gunmetal text */
  --solar-text-inv:  #FFFFFF;

  --solar-accent:    #C269FF;   /* purple LED */
  --solar-accent-2:  #9B4DFF;   /* violet LED */

  --solar-radius-lg: 18px;
}


/* === DARK THEME OVERRIDE === */

body.solar-theme-dark {
  --solar-bg:        #1A1D21;   /* gin-metal dark grey */
  --solar-panel:     #2A2E33;   /* darker module panel */
  --solar-panel-dark:#15171A;   /* deep metal shading */

  --solar-text:      #EDEDED;   /* white-smoke */
  --solar-text-inv:  #15171A;

  --solar-accent:    #FFD94A;   /* yellow LED */
  --solar-accent-2:  #FFB300;   /* amber LED */
}


/* Base body */
body {
  background: var(--solar-bg);
  color: var(--solar-text);
}

/* === HEADER LAYOUT === */

.solar-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: var(--solar-bg);

  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--solar-header-h);
  z-index: 60; /* above the drawer */
}

/* Make sure content doesn't hide under the fixed header */
.site {
  padding-top: var(--solar-header-h);
}



.solar-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.solar-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--solar-text);
}

.solar-logo-text {
  display: inline-flex;
  flex-direction: column;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.solar-logo-main {
  font-size: 1.2rem;
  font-weight: 700;
}

.solar-logo-sub {
  font-size: 0.7rem;
  opacity: 0.7;
}

.solar-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* === MODULAR POTS (buttons) === */

/* =========================================================
   SOLAR POT (KNOB) – Updated for new LED colours & themes
   ========================================================= */

.solar-pot {
  --size: 48px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--solar-text);
}

/* === POT FACE === */

.solar-pot-face {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #ffffff, #dcdcdc); /* light metal */
  border: 2px solid #aaa;
  box-shadow:
    0 0 0 2px rgba(0,0,0,0.6),
    0 6px 12px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Dark theme face: metal grey */
body.solar-theme-dark .solar-pot-face {
  background:
    radial-gradient(circle at 30% 30%, #35383d, #1b1d21); /* dark brushed metal */
  border-color: #666;
}

/* === LED DOT (upper-right) === */

.solar-pot-face::before {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;

  background: var(--solar-accent); /* LED colour */
  box-shadow: 0 0 8px var(--solar-accent);
}

/* === INDICATOR (the rotating bar) === */

.solar-pot-indicator {
  width: 50%;
  height: 4px;
  border-radius: 999px;
  background: var(--solar-text);
  transform-origin: center center;
  transform: rotate(-45deg);
  transition: transform 0.25s ease-out;
}

/* Dark theme indicator in smoke-white */
body.solar-theme-dark .solar-pot-indicator {
  background: var(--solar-text);
}

/* === LABEL === */
.solar-pot-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* =========================================================
   NAV POT – including conic LED sectors
   ========================================================= */

.solar-pot-nav .solar-pot-face {
  background:
    radial-gradient(circle at 30% 30%, #ffffff, #e0e0e0),
    conic-gradient(
      from 0deg,
      var(--solar-accent) 0 30deg,     /* primary LED sector */
      var(--solar-panel-dark) 30deg 180deg,
      var(--solar-accent-2) 180deg 210deg,  /* secondary LED sector */
      var(--solar-panel-dark) 210deg 360deg
    );
}

body.solar-theme-dark .solar-pot-nav .solar-pot-face {
  background:
    radial-gradient(circle at 30% 30%, #2a2e33, #1a1d21),
    conic-gradient(
      from 0deg,
      var(--solar-accent) 0 30deg,       /* yellow */
      #111316 30deg 180deg,
      var(--solar-accent-2) 180deg 210deg, /* amber */
      #111316 210deg 360deg
    );
}

/* rotate indicator when menu is open */
.solar-pot-nav.is-open .solar-pot-indicator {
  transform: rotate(45deg);
}

/* =========================================================
   THEME POT (light ←→ dark)
   ========================================================= */

.solar-pot-theme .solar-pot-indicator {
  width: 60%;
  transform: rotate(-35deg); /* light position */
}

body.solar-theme-dark .solar-pot-theme .solar-pot-indicator {
  transform: rotate(35deg);  /* dark position */
}

/* Light/dark labels (optional aesthetic) */
.solar-theme-label { opacity: 0.4; }

body:not(.solar-theme-dark) .solar-theme-label--light {
  opacity: 1;
}

body.solar-theme-dark .solar-theme-label--dark {
  opacity: 1;
}

/* === RACK-STYLE NAV === */

.solar-rack {
  padding: 0.75rem 1.5rem 1.25rem;
  background: linear-gradient(to bottom, var(--solar-panel-dark), var(--solar-bg));
  border-bottom: 1px solid rgba(0,0,0,0.6);
}

.solar-rack-row {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}
/* =========================================
   SOLAR RACK ITEMS — jack + LED, tuned
   ========================================= */

.solar-rack-row > li {
  position: relative;
  background: var(--solar-panel);
  border-radius: 6px;         /* squarer corners */
  padding: 0.55rem 3.4rem 0.65rem 0.9rem;  /* extra right space for LED + jack */
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.45),
    0 4px 7px rgba(0,0,0,0.28);
  overflow: hidden;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.15s ease-out;
}

/* Full clickable area */
.solar-rack-row a {
  display: block;
  pointer-events: auto;
}

/* Hover lift */
.solar-rack-row > li:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.55),
    0 7px 14px rgba(0,0,0,0.35);
}

/* =========================================
   JACK INPUT (hole) — right side
   ========================================= */

/* Base jack socket */
.solar-rack-row > li::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.9rem;               /* jack closer to the edge */
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.9),
    inset 0 0 3px rgba(0,0,0,0.8);
}

/* Light theme jack: lighter metal */
body:not(.solar-theme-dark) .solar-rack-row > li::before {
  background:
    radial-gradient(circle at 40% 30%, #d5d9e0 0 35%, #9a9faa 35% 100%);
}

/* Dark theme jack: darker metal */
body.solar-theme-dark .solar-rack-row > li::before {
  background:
    radial-gradient(circle at 40% 30%, #555a63 0 35%, #22252b 35% 100%);
}

/* Inner hole impression */
.solar-rack-row > li::before {
  background:
    radial-gradient(circle at 50% 50%, #000 0 32%, transparent 32% 100%),
    radial-gradient(circle at 40% 30%, #d5d9e0 0 35%, #9a9faa 35% 100%);
}
body.solar-theme-dark .solar-rack-row > li::before {
  background:
    radial-gradient(circle at 50% 50%, #05070b 0 32%, transparent 32% 100%),
    radial-gradient(circle at 40% 30%, #555a63 0 35%, #22252b 35% 100%);
}


/* =========================================
   LED — OFF by default (light)
   ========================================= */

.solar-rack-row > li::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 2.3rem;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(0,0,0,0.12);  /* OFF in light theme */
  box-shadow: 0 0 0 1px rgba(0,0,0,0.5);
  transition:
    background 0.15s ease-out,
    box-shadow 0.15s ease-out;
}

/* OFF in dark theme – but NOT on the current item */
body.solar-theme-dark .solar-rack-row > li:not(.current-menu-item):not(.current_page_item)::after {
  background: rgba(0,0,0,0.55);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.9);
}

/* =========================================
   LED — ON (light *and* dark)
   ========================================= */

.solar-rack-row > li.current-menu-item::after,
.solar-rack-row > li.current_page_item::after {
  background: var(--solar-accent);  /* purple in light, yellow in dark */
  box-shadow:
    0 0 6px var(--solar-accent),
    0 0 12px var(--solar-accent);
}

.solar-rack-row a {
  text-decoration: none;
  color: var(--solar-text);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
  display: inline-block;
}
.solar-rack-row a:hover {
  color: var(--solar-accent);
}

/* Mobile: rack hidden until Menu pot opens it */
@media (max-width: 768px) {
  .solar-rack {
    display: none;
  }
  .solar-rack.is-open {
    display: block;
  }
}

/* Make main wrapper follow Solar theme background */
/* Global background driven by theme variables */
body,
#page,
.site {
  background: var(--solar-bg);
  color: var(--solar-text);
}

.site {
  min-height: 100vh;
}



/* 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%;
}


/* =========================================
   TITLES / HEADINGS — Solar style
   ========================================= */

h1, h2, h3, h4, h5, h6 {
  font-family: inherit;              /* use theme font */
  color: var(--solar-text);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
}

/* hierarchy sizes */
h1 { font-size: 1.7rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
h4 { font-size: 0.95rem; }
h5 { font-size: 0.85rem; }
h6 { font-size: 0.75rem; }

/* links inside headings follow theme colours */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: var(--solar-text);
  text-decoration: none;
}

h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
  color: var(--solar-accent);
}



/* 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
--------------------------------------------- */
/* =========================================
   GLOBAL LINK THEMING (Solar Return)
   ========================================= */

/* Normal links follow theme text color */
a,
a:visited {
  color: var(--solar-text);
  text-decoration: none;
}

/* Hover = theme accent (purple in light, yellow in dark) */
a:hover,
a:focus {
  color: var(--solar-accent);
}

/* Active/current links also use accent */
a:active {
  color: var(--solar-accent);
}

/* Ensure headings with links also follow theme text color */
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
  color: var(--solar-text);
}

h1 a:hover, h2 a:hover, h3 a:hover,
h4 a:hover, h5 a:hover, h6 a:hover {
  color: var(--solar-accent);
}

/* 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
--------------------------------------------------------------*/

/*-------------------------------------------------------------
 * Styles
 * --------------------------------------------------------------*/

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

/* =========================================
   SOLAR NAV — vertical slide-out drawer
   ========================================= */

.main-navigation.solar-rack {
  position: fixed;
  top: var(--solar-header-h);          /* start just under the header */
  right: 0;
  height: calc(100vh - var(--solar-header-h));
  width: 260px;
  max-width: 80vw;

  padding: 1rem 1rem 1rem;            /* normal padding now, header is separate */

  background: linear-gradient(
    to bottom,
    var(--solar-panel-dark),
    var(--solar-bg)
  );
  box-shadow:
    -4px 0 10px rgba(0,0,0,0.5),
    0 0 0 1px rgba(0,0,0,0.7);
  border-left: 1px solid rgba(0,0,0,0.6);

  display: block;
  transform: translateX(100%);        /* off-screen by default */
  transition: transform 0.25s ease-out;

  z-index: 50;                        /* below the header */
}

/* When the Menu pot toggles .is-open, slide drawer into view */
.main-navigation.solar-rack.is-open {
  transform: translateX(0);
}


/* =========================================
   SOLAR RACK LIST
   ========================================= */

/* Always a vertical stack inside the drawer */
.solar-rack-row {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.solar-rack-row > li {
  width: 100%;
  flex: 1 1 auto;

  background: var(--solar-panel);
  padding: 0.55rem 0.8rem 0.65rem;
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.45),
    0 4px 7px rgba(0,0,0,0.28);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.12s ease-out,
    box-shadow 0.12s ease-out,
    background 0.15s ease-out;
}

/* Clickable areas */
.solar-rack-row a {
  display: block;
  pointer-events: auto;
}

/* OPTIONAL: a bit narrower on very small phones */
@media (max-width: 600px) {
  .main-navigation.solar-rack {
    width: 75vw;
    padding-top: 4rem;
  }
}

.solar-rack-row a {
  display: block;
  pointer-events: auto;
  color: var(--solar-text);          /* use theme text colour */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

/* Optional: hover colour */
.solar-rack-row > li:hover a {
  color: var(--solar-accent);        /* purple (light) / yellow (dark) */
}



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

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

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	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;
}

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

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

.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%;
}

/* Hide Underscores default menu button; we use the Solar pot instead */
.main-navigation .menu-toggle {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}




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

.post,
.page {
	margin: 0 0 1.5em;
}

.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;
}

.entry-title,
.entry-header h1,
.entry-header h2 {
  margin-top: 0;
}



/* =========================================
   ENTRY TITLES — look like module labels
   ========================================= */

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;

  padding: 0.35rem 0.85rem;
  border-radius: 5px;
  background: var(--solar-panel);
  color: var(--solar-text);

  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.9rem;

  box-shadow:
    0 0 0 1px rgba(0,0,0,0.4),
    0 4px 8px rgba(0,0,0,0.25);
}

/* small “rail” line to the left of the title */
.entry-title::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0),
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
}

/* small accent dot/LED next to the title */
.entry-title::after {
  content: "";
  width: 7px;
  height: 7px;
 border-radius: 50%;
  background: var(--solar-accent);
  box-shadow: 0 0 6px var(--solar-accent);
}

/* links on titles */
.entry-title a {
  color: var(--solar-text);
  text-decoration: none;
}

.entry-title a:hover {
  color: var(--solar-accent);
}

/* Dark theme: slightly different panel feel */
body.solar-theme-dark .entry-title {
  background: var(--solar-panel);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.8),
    0 4px 10px rgba(0,0,0,0.5);
}

/* H2 / H3 inside content blocks as sub-modules */

.entry-content h2,
.entry-content h3 {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--solar-panel);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.35),
    0 2px 4px rgba(0,0,0,0.18);
  margin-top: 1.4em;
  margin-bottom: 0.7em;
}

.entry-content h2::before,
.entry-content h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
}

.entry-content h2::after,
.entry-content h3::after {
  content: "";
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0,0,0,0.3);
}

/* Dark tweak */
body.solar-theme-dark .entry-content h2,
body.solar-theme-dark .entry-content h3 {
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.7),
    0 3px 6px rgba(0,0,0,0.4);
}



/* 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;
}
