/*
Theme Name: Simple Coly Crypto
Theme URI:
Author: Coly
Author URI:
Description: A simple theme by Coly
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: simple-coly
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
/* 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;
}

/* 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;
}

/* Alignments
--------------------------------------------- */
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}

.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}

.aligncenter {
  clear: both;
  display: block;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 1.5em;
}

/* 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-right: auto;
  margin-left: 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;
}

/* 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;
}

/* In simple-coly-crypto-2/sass/core_components/_form_controls.scss */
/* --- General Forms (from Underscores base) --- */
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%;
}

/* --- Header Search Bar Specific Styles --- */
.search-bar {
  display: flex;
  align-items: center;
  background: var(--content-bg);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 0;
  flex-basis: 0; /* ADDED: Give it a very small base size for maximum shrinking */
  flex-grow: 1;
  max-width: 300px; /* Adjust this to your mockup's width */
  min-width: 0;
  overflow: hidden;
  height: 40px; /* Set a fixed height for the whole bar */
  box-sizing: border-box;
}

/* --- Search Form (.search-form) INSIDE the search bar --- */
.search-bar .search-form {
  display: flex;
  width: 100%;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  height: 100%; /* Make the form take full height of its parent (.search-bar) */
  min-width: 0; /* ADDED: Allow the form itself to shrink */
}

.search-bar .search-form label {
  flex-grow: 1; /* Allow the label (and thus input) to take available space */
  display: flex; /* Make label a flex container to hold span and input */
  align-items: center; /* Vertically align contents */
  height: 100%; /* Make label take full height */
  min-width: 0; /* ADDED: Allow the label to shrink */
}

.search-bar .search-form label .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* --- Search Input Field (.search-field) --- */
.search-bar .search-field {
  flex-grow: 1; /* Input takes up available space within its flex parent (label) */
  border: none;
  padding: 0.75rem 1rem; /* Padding inside the input */
  background-color: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  height: 100%; /* Make input take full height of its parent (label) */
  line-height: normal; /* Override any weird line-height from Underscores */
  box-sizing: border-box; /* Crucial for padding not adding to width/height */
}

/* --- Search Submit Button (.search-submit) --- */
.search-bar .search-submit {
  background-color: var(--primary);
  color: #ffffff;
  border: none;
  padding: 0.5rem; /* Tighter padding for the button, adjust as needed */
  cursor: pointer;
  font-weight: normal;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: normal;
  height: 100%; /* Make button take full height of its parent (form) */
  box-sizing: border-box; /* Crucial for padding not adding to width/height */
}

.search-bar .search-submit:hover {
  background-color: var(--secondary);
}

.search-bar .search-submit svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

/* 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: 16px;
  line-height: 1.6;
}

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
--------------------------------------------- */
/* Base Body Styles */
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--body-background);
  color: var(--text-primary);
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 3em 1.5em 0;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-right: 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;
}

/* Header Styles (MOBILE FIRST - default stacking) */
.header-main {
  background: var(--header-background);
  color: var(--text-header);
  padding: 1rem 1.5rem; /* Adjust padding for mobile */
  display: flex;
  flex-direction: column; /* Stacks header-top-row and header-ad-banner */
  align-items: center; /* Centers the columns if they don't take full width */
  box-shadow: 0 2px 6px var(--shadow);
  gap: 1rem; /* Space between the top row and the ad banner */
}

/* NEW: Container for Logo, Search, and Toggle on one line for mobile */
.header-top-row {
  width: 100%; /* Take full width of the header */
  display: flex; /* Makes its children (logo, actions) flex items */
  justify-content: space-between; /* Pushes logo left, actions right */
  align-items: center; /* Vertically centers logo and actions */
  gap: 1.5rem; /* Gap between logo and header-actions if needed, though space-between handles it */
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary); /* Logo text color */
  flex-shrink: 0; /* Prevents logo from shrinking on very small screens */
}

/* For the custom logo IMAGE (if set) */
.custom-logo { /* This targets the <img> tag output by the_custom_logo() */
  max-width: 170px; /* <--- Adjust maximum width here (e.g., 150px, 200px) */
  height: auto; /* <--- IMPORTANT: Maintains aspect ratio */
  display: block; /* Removes extra space below image if it's inline */
  margin: 0; /* Ensures no default margins are present */
  padding: 0; /* Ensures no default padding is present */
}

/* --- END LOGO SIZING --- */
/* Header Action Container (Search + Toggle) */
/*.header-actions {
  display: flex;
  align-items: center;
  /* Remove width: 100%; as it's now a flex item in header-top-row */
/*justify-content: flex-end; /* Pushes search and toggle to the right */
/*gap: 10px; /* Space between search and toggle */
/*flex-grow: 1; /* Allows header-actions to take available space in the top row */
/*}*/
.header-actions {
  display: flex;
  flex-direction: row; /* CHANGED: Search and toggle side-by-side on mobile */
  align-items: center;
  justify-content: flex-end; /* Pushes search and toggle to the right */
  gap: 1rem; /* Space between search and toggle */
  width: 100%; /* Ensure actions take full width on mobile */
  flex-grow: 1; /* Allows header-actions to take available space in the top row */
  flex-wrap: wrap; /* ADDED: Allow items to wrap if space is too constrained */
  min-width: 0; /* ADDED: Allow this container to shrink */
}

/* Theme Toggle Styles (already updated) */
.toggle-theme {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: var(--content-bg);
  color: var(--text-header);
  border: 1px solid var(--border);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 4px var(--shadow);
  position: relative;
  flex-shrink: 0; /* Prevents toggle button from shrinking */
  box-sizing: border-box;
}

.toggle-theme:hover {
  background-color: var(--border);
}

.theme-toggle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.theme-toggle-icon svg {
  stroke: var(--text-header);
  transition: stroke 0.3s ease;
  display: block;
  width: 20px;
  height: 20px;
}

/* Theme toggle text popup (already updated) */
.theme-toggle-text {
  position: absolute;
  top: 50%;
  right: calc(100% + 10px);
  transform: translateY(-50%);
  z-index: 10;
  background-color: var(--content-bg);
  color: var(--text-primary);
  padding: 8px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  font-size: 0.9rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) translateX(5px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.theme-toggle-text::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent var(--content-bg);
  filter: drop-shadow(2px 0px 2px rgba(0, 0, 0, 0.1));
}

.toggle-theme:hover .theme-toggle-text {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Ad Banner Styles (Mobile: underneath header-top-row) */
.header-ad-banner {
  width: 100%;
  text-align: center;
  /*background-color: #e0e0e0; /* Placeholder background */
  /*color: #333;*/
  padding: 15px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  /*border: 1px dashed #aaa;*/
  box-sizing: border-box; /* Include padding and border in the element's total width/height */
}

/* Ensure ad content is responsive */
.header-ad-banner img {
  max-width: 100%;
  height: auto;
  display: block; /* Remove extra space below image */
  margin: 0 auto; /* Center image if smaller than 100% */
}

/* Main Container Layout */
.container {
  display: grid;
  grid-area: content;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: 2rem;
  padding: 2rem;
  /*max-width: 1640px;*/
  width: 100%;
  margin: 0 auto;
  background: var(--body-background);
}
h1, h2, h3, h4, h5, h6 {
  color:var(--text-primary);
}
.content-holder {
  width: 100%; /* Make it try to take 100% of parent width */
  max-width: 1280px;
  margin: 0 auto;
  background: var(--content-bg);
		color:var(--text-primary);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px var(--shadow);
}

.content {
  font-family: Open Sans, Arial, sans-serif; /* Use an easy-reading font */
  /*font-size: 1.1rem; /* This will be 18px */

  line-height: 1.6; /* Good line spacing for readability */
  /*color: #333; /* Good contrast */
  max-width: 55rem; /* Max width of 720px for optimal line length */
  margin: 0 auto; /* Centers the content block horizontally */
  padding: 0 1rem; /* Optional: Add some padding on the sides for smaller screens, 16px here */
}

.full-width-top-area {
  background: var(--body-background);
}

.sidebar {
  /*display: none; /* Hide sidebars on mobile by default */
}

/* Main 3-Column Content Area components */
.left-sidebar {
  grid-area: left-sidebar;
  /*padding: 1rem;*/
  /*background-color: var(--content-bg);*/
  /*color: var(--text-primary);*/
  min-width: 150px;
  /*border: 1px solid var(--border);*/
}

.right-sidebar {
  grid-area: right-sidebar;
  /*padding: 1rem;*/
  /*background-color: var(--content-bg);*/
  /*color: var(--text-primary);*/
  min-width: 150px;
  /*border: 1px solid var(--border);*/
}

/* Text color for paragraphs/lists in sidebars */
.sidebar p, .sidebar li {
  color: var(--text-secondary);
}

/* Footer Styles */
.footer-main {
  background: var(--menu-bg);
  color: var(--menu-text);
  padding: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-main h4 {
  color: var(--menu-text);
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem;
  color: #aaa;
  background: var(--primary);
  padding-bottom: 1rem;
}

/* Navigation
--------------------------------------------- */
/* --- Global / Base Styles --- */

/* Main Navigation Container */
.main-navigation {
    background: var(--menu-bg);
    color: var(--menu-text);
    padding: 0.5rem 2rem; /* Keep existing padding for the main nav bar */
    display: flex; /* This makes it a flex container */
    gap: 1.5rem; /* For spacing direct children of .main-navigation (e.g., logo and ul) */
    font-weight: 500;
    justify-content: center; /* Centers items horizontally within .main-navigation */
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    position: relative; /* Important for positioning absolute children like dropdowns or mobile menu */
}

/* Base style for the main menu list (ul) - Default for desktop */
.main-navigation ul {
    display: flex; /* Makes items horizontal on desktop */
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem; /* Spacing BETWEEN horizontal menu items */
}

/* Base style for individual list items (li) */
.main-navigation li {
    position: relative; /* For dropdown positioning */
    margin-left: 0; /* Clear any default margins */
}

/* Base style for menu links (a) */
.main-navigation ul li a {
    color: var(--menu-text);
    display: block;
    text-decoration: none;
    padding: 2px 0; /* Small vertical padding for desktop links */
}

.main-navigation ul li a:visited {
    color: var(--menu-text);
}

.main-navigation ul li a:hover,
.main-navigation ul li a:focus {
    color: var(--menu-text);
    text-decoration: underline;
}

/* --- Dropdown / Sub-menu Styles --- */
.main-navigation ul ul {
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 100%;
    right: -999em; /* Off-screen by default */
    z-index: 99999;
    flex-direction: column; /* Ensure sub-menus stack vertically */
    min-width: 200px; /* Give dropdown a min-width */
    background: var(--menu-bg-dropdown); /* Use a specific variable for dropdown background */
    padding: 10px 0; /* Padding for dropdown container */
}

.main-navigation ul ul ul {
    right: -999em;
    top: 0;
}

/* Show dropdown on hover/focus */
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
    right: auto; /* Bring dropdown back on screen */
    display: flex; /* Display as flex column */
}

.main-navigation ul ul li a {
    width: 100%; /* Make dropdown links fill their parent */
    padding: 8px 15px; /* Padding for dropdown links */
    color: var(--menu-text); /* Use your color variable */
    text-decoration: none;
}

.main-navigation ul ul li a:hover,
.main-navigation ul ul li a:focus {
    background-color: rgba(0, 0, 0, 0.05); /* Light hover effect for dropdown items */
    color: var(--menu-text);
    text-decoration: none; /* No underline in dropdowns usually */
}


/* --- Menu Toggle Button Base Styles (for hamburger/close icon) --- */
.menu-toggle {
    /* Hide the text content visually, but keep for screen readers */
    font-size: 0; /* Ensures no default text size contributes to height/width */
    line-height: 0; /* Crucial: removes extra vertical space that text might create */
    text-indent: -9999px; /* Hides text off-screen */
    overflow: hidden; /* Ensures hidden text doesn't affect layout */
    white-space: nowrap; /* Prevents text wrapping */
    
    /* Basic button styling to make it look like a container for the icon */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0; /* Remove any default padding */
    width: 40px; /* Define a fixed size for the clickable area */
    height: 40px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */

    /* Color for the SVG icon (inherited by currentColor in SVG) */
    color: var(--menu-text); /* Use your theme variable for icon color */
    
    /* Initially hide on desktop, will be shown in mobile media query */
    display: none;
    position: relative; /* For absolute positioning of SVGs */
}

/* SVG icon styling within the toggle button */
.menu-toggle svg {
    display: block; /* Important for predictable behavior */
    width: 24px; /* Adjust as needed */
    height: 24px; /* Adjust as needed */
    /* Centering technique for SVG within the button */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0; /* Ensure no extra margins */
    padding: 0;
}

/* Default state: hamburger visible, close hidden */
.menu-toggle .hamburger-icon {
    display: block;
}
.menu-toggle .close-icon {
    display: none;
}


/* --- Media Queries --- */

/* Desktop Styles (hide toggle button, ensure horizontal menu) */
@media screen and (min-width: 769px) {
    .main-navigation .menu-toggle {
        display: none; /* Explicitly hide button on desktop */
    }
    .main-navigation ul {
        display: flex; /* Ensure main menu is horizontal */
    }
}

/* Mobile Styles (show toggle button, stack menu vertically, apply spacing) */
@media screen and (max-width: 768px) {
    /* Main navigation container adjustments for mobile */
    .main-navigation {
        justify-content: space-between; /* Push logo left, toggle button right */
        align-items: center; /* Vertically center items in the nav bar */
        padding: 0.5rem 1rem; /* Adjust horizontal padding for smaller screens if needed */
        min-height: 50px; /* Ensure menu bar has minimum height */
    }

    /* Show the menu toggle button on mobile */
    .main-navigation .menu-toggle {
        display: block;
    }

    /* Hide the main menu list by default on mobile */
    .main-navigation ul {
        display: none; /* Hidden by default */
        flex-direction: column; /* Stack items vertically */
        width: 100%;
        position: absolute;
        top: 100%; /* Position it right below the main-navigation bar */
        left: 0;
        background-color: var(--menu-bg); /* Mobile menu background */
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        padding: 0; /* Remove padding from the ul itself */
        z-index: 90; /* Lower than dropdown but above content */
        gap: 0; /* Ensure no gap for vertical stacking */
    }

    /* Show the mobile menu when the 'toggled' class is active */
    /* Adjust this selector based on where 'toggled' class appears (e.g., #site-navigation.toggled or .main-navigation.toggled) */
    #site-navigation.toggled ul,
    .main-navigation.toggled ul { /* Example: if .main-navigation gets toggled */
        display: flex; /* Show the menu */
    }

    /* Individual Mobile List Item (li) */
    .main-navigation li {
        margin: 0; /* Clear horizontal margins */
        border-bottom: 1px solid var(--border-color, rgba(0, 0, 0, 0.1)); /* Separator */
    }
    .main-navigation li:last-child {
        border-bottom: none; /* No border on the last item */
    }

    /* Mobile Menu Links (a) - Where you add the spacing */
    .main-navigation ul li a {
        padding: 15px 20px; /* INCREASE THIS for more vertical/horizontal spacing */
        text-align: left; /* Typically left-aligned for mobile lists */
    }

    /* Mobile Menu Link Hover/Focus */
    .main-navigation ul li a:hover,
    .main-navigation ul li a:focus {
        background-color: var(--menu-hover-bg, rgba(0, 0, 0, 0.05));
        text-decoration: none; /* No underline on mobile hover */
    }

    /* Mobile Current Menu Item */
    .main-navigation ul li.current-menu-item a,
    .main-navigation ul li.current_page_item a {
        background-color: var(--menu-active-bg, rgba(0, 0, 0, 0.1));
        font-weight: bold;
    }

    /* Dropdown/Sub-menu on mobile (nested ul) */
    .main-navigation ul ul {
        position: static; /* Sub-menus should stack below on mobile, not absolute */
        box-shadow: none; /* No shadow needed */
        background: var(--menu-bg-sub, rgba(0, 0, 0, 0.03)); /* Slightly different background */
        padding: 0; /* Remove padding from mobile sub-menu container */
    }
    .main-navigation ul ul li {
        border-top: 1px solid var(--border-color, rgba(0, 0, 0, 0.05)); /* Lighter border for sub-items */
        border-bottom: none; /* Sub-items don't need bottom border if padding is enough */
    }
    .main-navigation ul ul li:first-child {
        border-top: none; /* No top border on first sub-item */
    }
    .main-navigation ul ul li a {
        padding-left: 30px; /* Indent sub-menu items */
    }
    .main-navigation ul li:hover > ul,
    .main-navigation ul li.focus > ul {
        display: flex; /* Show sub-menu on mobile when parent is active */
    }
		 /* Rule to hide hamburger when menu is expanded (OPEN) */
    .menu-toggle[aria-expanded="true"] .hamburger-icon {
        display: none;
    }

    /* Rule to show close icon when menu is expanded (OPEN) */
    .menu-toggle[aria-expanded="true"] .close-icon {
        display: block;
    }

    /* Ensure the mobile menu (ul) itself is displayed when the nav is toggled */
    /* This might still rely on the 'toggled' class on the nav */
    #site-navigation.toggled ul,
    .main-navigation.toggled ul {
        display: flex; /* or 'block', based on your mobile menu layout */
    }
}


.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%;
}




.footer-main a, .footer-main a:visited {
  color: var(--menu-text);
	font-weight: 500;
  text-decoration: none;
}

.footer-main a:hover {
  color: var(--menu-text);
  text-decoration: underline;
}

.footer-main li {
  list-style-type: none;
}


/* Comments
--------------------------------------------- */
.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/* 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;
}

/* ... (Your existing :root and body.dark-mode variables) ... */
:root {
  --primary: #24264c;             /* Deep Blue (Menubar, Footer, main accent) */
  --secondary: #00B8D4;           /* Vibrant Cyan/Teal (Accent for buttons, links, active states) */

  /* Backgrounds & Surfaces */
  --body-background: #fbf8f2; /*#fef6f5; /*#FFFAF5;     /* Overall page background - soft, warm off-white */
  --header-background: #FFFEFD;   /* Header background - crisp white for a clean top */
  --content-bg: #FBFBFD; /*#fffefe;#fdfdff;*/
  /*--content-bg: #fffefd;*/
  /* Text Colors */
  --menu-text: #E0F7FA;           /* Text color for Menubar/Footer (light, slightly cool white) */
  /*--menu-text: #EBFDFF;*/
  --text-header: var(--text-primary); /* Header text color (if on light header) */
  --text-primary: #212529;        /* Main content text color (dark charcoal) */
  /*--text-primary: #111111;*/
  --text-secondary: #6C757D;      /* Secondary content text color (muted gray) */
  /*--text-secondary: #555555;*/

  /* Borders & Shadows */
  /*--border: #EEEAE5; */             /* General border color - light, subtle warm gray */
  --shadow: rgba(0, 0, 0, 0.1);  /* Soft shadow for depth */
  --border: #e0e0e0;
  /*--shadow: rgba(0, 0, 0, 0.1);*/
  --primary: #24264c;
  --secondary: #00c2ff;

	--meter-background: #fdfdfe; /*#f8f9ff;*/
	/*--meter-background: #FDFFFF;*/

  --menu-bg: var(--primary);

  --crypto-disclaimer-bg: #fff8f8;
  --crypto-disclaimer-txt: var(--text-primary);


}

body.dark-mode {
  /* Core Brand & UI Colors */
  --primary: #0D0E1C;             /* Deep Blue (Main accent remains) */
  --secondary: #00B8D4;           /* Vibrant Cyan/Teal (Accent remains) */
  /*--primary: #081021;*/
	
	  /* Backgrounds & Surfaces */
  --body-background: #1d2026; /*#010C14; /*#1F180A; /*#1F1F1F;     /* Dark gray page background - slightly warmer than pure black */
  /*--body-background: #33312F;*/
  --header-background: #1d2026;   /* Header background - matches body */
  /*--header-background: #33312F;*/
  --content-bg: #2b2d31;          /* Content block background - slightly lighter warm dark gray */
  /*--content-bg: #2F3333;*/

	  /* Text Colors */
  --menu-text: #F8F8F8;           /* Text color for Menubar/Footer */
  /*--menu-text: #D6FBFF;*/
  --text-header: var(--text-primary); /* Header text color */
  /*--text-header: #f3f4f6;*/
  --text-primary: #F8F8F8;        /* Main content text color - light gray */
  /*--text-primary: #effdff;*/
  --text-secondary: #B0B0B0;      /* Secondary content text color - lighter gray */
  /*--text-secondary: #9ca3af;*/

	  /* Borders & Shadows */
  --border: #444444;              /* General border color - dark gray */
  --shadow: rgba(0, 0, 0, 0.4);   /* More pronounced shadow */
  /*--border: #374151;
  --shadow: rgba(0, 0, 0, 0.5);*/
	/*--meter-background: var(--content-bg);*/
	--meter-background: #36393e;

  --menu-bg: var(--primary);

  --crypto-disclaimer-bg: #2F2325; /*#1b0404; /*#1f0000;*/
  --crypto-disclaimer-txt: #ff6666;


}

/* Logo and Theme Toggle Filters (already good) */
#logo {
  height: 80px;
  transition: filter 0.3s;
}

[data-theme=light] #logo {
  filter: none;
}

[data-theme=dark] #logo {
  filter: invert(1) brightness(1.2);
}

/* Theme toggle icon styling (already good) */
.theme-icon { /* This class is not directly used for the SVG itself, but for the filter logic */
  transition: filter 0.3s ease;
}

body.dark-mode .theme-icon {
  filter: invert(1) grayscale(1) brightness(2);
}

/* 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;
  right: 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;
}

/* Responsive Adjustments (Media Queries) */
/* --- Media Queries for Wider Screens --- */
@media (max-width: 768px) {
  .left-sidebar, .right-sidebar {
    display: none;
  }
}
/* Tablet/Medium Screens (e.g., 768px and up) */
@media (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 250px; /* Content and Right Sidebar */
    grid-template-areas: "content right-sidebar";
  }
  .left-sidebar {
    display: none;
  }
  /*.sidebar:last-child {
    display: block; /* Show right sidebar */
  /*}*/
}
/* Desktop/Large Screens (e.g., 1024px and up) */
@media (min-width: 1280px) {
  .header-main {
    display: grid; /* Switch to CSS Grid for header layout */
    grid-template-columns: auto 1fr auto; /* Logo | Ad | Actions */
    grid-template-areas: "logo ad actions"; /* Named areas for clarity */
    height: 100px; /* Restore fixed header height */
    padding: 0 2rem; /* Restore desktop padding */
    flex-direction: row; /* Override mobile flex-direction */
    gap: 1.5rem; /* Remove gap between grid items (spacing handled by columns) */
  }
  /* On desktop, header-top-row essentially disappears, its children become direct grid items */
  .header-top-row {
    display: contents; /* The magic property! It removes the box but keeps its children */
  }
  .header-left {
    grid-area: logo; /* Place logo in 'logo' area */
    display: flex; /* If logo needs specific alignment inside its grid cell */
    align-items: center;
  }
  .header-ad-banner {
    grid-area: ad; /* Place ad in 'ad' area */
    text-align: center;
    margin: 0; /* Reset mobile margin */
    padding: 0 1rem; /* Add padding within the ad column */
    display: flex; /* Use flex to center content vertically/horizontally */
    align-items: center;
    justify-content: center;
  }
  .header-actions {
    grid-area: actions; /* Place actions in 'actions' area */
    width: auto; /* Allow content to dictate width */
    justify-content: flex-end; /* Push search/toggle to the right */
  }
  /* Restore max-width for search bar on desktop if desired */
  .search-bar {
    max-width: 400px; /* Limit search bar width on desktop */
  }
  .container {
    grid-template-columns: 250px 1fr 250px; /* Left, Content, Right Sidebars */
    grid-template-areas: "left-sidebar content right-sidebar";
  }
  .sidebar {
    display: block; /* Show both sidebars */
  }
}

/* Quick Links / Glossary Styling */

.quick-links-addon-wrapper {
				    width: 100%; /* Takes full width of its parent (.right-sidebar) */
            color: var(--text-primary);
						background-color: var(--content-bg);
            border: 1px solid var(--border);
            box-shadow: 0 4px 6px -1px rgba(var(--shadow), 0.1), 0 2px 4px -1px rgba(var(--ga-shadow-color-rgb), 0.06);
            border-radius: 0.75rem;
            padding: 0.75rem 1rem;
            margin-bottom: 2rem; /* Space below the menu */
            box-sizing: border-box;
            transition: all 0.3s ease; /* For smooth transitions of inherited styles */
            display: block !important; /* FORCES VISIBILITY HERE IN CSS */

            /* STICKY POSITIONING FOR MENU */
            position: -webkit-sticky; /* For Safari */
            position: sticky;
            top: 1.5rem; /* How far from the top of the viewport the menu sticks */
            align-self: flex-start; /* Ensures it aligns to the top in a flex container (if parent is flex) */
            max-height: calc(100vh - 3rem); /* Limits height to viewport - adjust based on 'top' value */
            overflow-y: auto; /* Enables vertical scrolling if content exceeds max-height */
        }
				
				.quick-links-menu-title {
            font-size: 1.25rem; /* Standard heading size */
            font-weight: 700; /* Bold */
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid currentColor; /* Use current text color for border, or specify a var from your theme */
            color: var(--text-primary); 
        }
				
				.glossary-links-list { /* This is now a div containing the <a> links directly */
            /*padding: 0 !important;
            margin: 0 !important;*/
            display: flex !important; /* FORCES horizontal display */
            flex-wrap: wrap !important; /* ALLOWS wrapping to multiple lines */
            /*justify-content: flex-start !important; /* FORCES alignment to the start */
            /*align-items: center !important; /* FORCES vertical centering of items */
            gap: 1.1rem !important; /* FORCES space between letters */
            overflow-x: hidden !important; /* HIDE horizontal scrollbar */
            /*padding-bottom: 0 !important; /* Removed scrollbar padding */
        }

				.quick-link-item {
				    margin:1px;
            display: block;
            text-decoration: none;
            padding: 0.25rem 0.75rem; /* Minimal padding for clickable area */
            border-radius: 0.375rem; /* Subtle rounded corners */
            transition: all 0.2s ease-in-out; /* Smooth transition for hover/active states */
            font-size: 0.85rem !important;
            line-height: 1.2 !important;
            /* Text color should inherit from .right-sidebar or be set here if needed */
            color: var(--text-primary);
						font-size: 1.125rem;
            font-weight: 500;
        }

        .quick-link-item:hover {
            background-color: rgba(0, 0, 0, 0.05); /* Very light overlay on hover */
            /* Color change on hover should be handled by your theme or by a specific variable */
            /* color: var(--text-primary); // Example: if your theme defines this */
        }

        /* Active Link Styles */
        .quick-link-item.is-active {
            background-color: rgba(0, 0, 0, 0.1); /* Slightly darker background for active link */
            font-weight: 600; /* Semi-bold for active link */
            /* Color change on active should be handled by your theme or by a specific variable */
            /* color: var(--accent-color); // Example: if your theme defines this */
        }
				.quick-links-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .quick-links-list li {
            margin-bottom: 0.5rem; /* Spacing between list items */
        }
        .quick-links-list li:last-child {
            margin-bottom: 0;
        }
				
				/* Disabled Letter Styles */
        .quick-link-item.is-disabled {
            color: var(--ga-disabled-text) !important;
            opacity: 0.6 !important;
            cursor: not-allowed !important;
        }
				
				
				/* In your theme's style.css or a custom CSS file */
.quick-links-addon-wrapper.is-hidden-by-js {
    display: none !important; /* Use !important to strongly enforce hiding */
    visibility: hidden !important; /* Add visibility hide for extra safety */
}
				

				
				
/*# sourceMappingURL=style.css.map */
