/*
Theme Name: Genesis Sample
Theme URI: https://demo.studiopress.com/
Description: Custom dark developer blog theme.
Author: StudioPress
Author URI: https://www.studiopress.com/
Version: 3.4.3
Template: genesis
License: GPL-2.0-or-later
Text Domain: genesis-sample
Requires at least: 5.4
Requires PHP: 5.6
*/

/*
───█▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█───
───█  DARK DEV BLOG v1.0  █───
───█▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█───
*/

/* ==========================================================================
   CSS Variables
   ========================================================================== */

:root {
  --color-bg: #0d1117;
  --color-bg-elevated: #161b22;
  --color-bg-overlay: #1c2129;
  --color-border: #30363d;
  --color-border-muted: #21262d;
  --color-text: #e6edf3;
  --color-text-muted: #8b949e;
  --color-text-dim: #6e7681;
  --color-accent: #58a6ff;
  --color-accent-hover: #79c0ff;
  --color-accent-muted: rgba(88, 166, 255, 0.12);
  --color-green: #3fb950;
  --color-green-muted: rgba(63, 185, 80, 0.15);
  --color-orange: #d2991d;
  --color-red: #f85149;
  --color-purple: #a371f7;
  --color-cyan: #39d2c0;
  --font-mono: "JetBrains Mono", "Fira Code", "Cascadia Code", "SF Mono", "Menlo", "Consolas", monospace;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  --radius: 8px;
  --radius-sm: 4px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Normalize / Reset
   ========================================================================== */

html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body { margin: 0; }
main { display: block; }
hr { box-sizing: content-box; height: 0; overflow: visible; }
pre { font-family: var(--font-mono); font-size: 1em; }
a { background-color: transparent; }
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
b, strong { font-weight: 700; }
code, kbd, samp { font-family: var(--font-mono); font-size: 1em; }
small { font-size: 80%; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sub { bottom: -0.25em; }
sup { top: -0.5em; }
img { border-style: none; max-width: 100%; height: auto; vertical-align: top; }
button, input, optgroup, select, textarea { font-family: inherit; font-size: 100%; line-height: 1.5; margin: 0; }
button, input { overflow: visible; }
button, select { text-transform: none; }
[type="button"], [type="reset"], [type="submit"], button { -webkit-appearance: button; }
[type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner, button::-moz-focus-inner { border-style: none; padding: 0; }
[type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring, button:-moz-focusring { outline: 1px dotted ButtonText; }
fieldset { padding: 0.35em 0.75em 0.625em; }
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
progress { vertical-align: baseline; }
textarea { overflow: auto; }
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
details { display: block; }
summary { display: list-item; }
[hidden], template { display: none; }

/* Box Sizing */
html { box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; }

/* Float Clearing */
.author-box::before, .clearfix::before, .entry::before, .entry-content::before,
.footer-widgets::before, .nav-primary::before, .nav-secondary::before,
.pagination::before, .site-container::before, .site-footer::before,
.site-header::before, .site-inner::before, .widget::before, .wrap::before {
  content: " "; display: table;
}
.author-box::after, .clearfix::after, .entry::after, .entry-content::after,
.footer-widgets::after, .nav-primary::after, .nav-secondary::after,
.pagination::after, .site-container::after, .site-footer::after,
.site-header::after, .site-inner::after, .widget::after, .wrap::after {
  clear: both; content: " "; display: table;
}

/* ==========================================================================
   Base / Typography
   ========================================================================== */

html {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  margin: 0;
  overflow-x: hidden;
}

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

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

p { margin: 0 0 1.5em; padding: 0; }

ol, ul { margin: 0; padding: 0; }
li { list-style-type: none; }

hr {
  border: 0;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

b, strong { font-weight: 700; color: var(--color-text); }
blockquote, cite, em, i { font-style: italic; }

mark {
  background: var(--color-accent-muted);
  color: var(--color-accent-hover);
  padding: 0.1em 0.3em;
  border-radius: var(--radius-sm);
}

blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 3px solid var(--color-accent);
  background: var(--color-bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-text-muted);
}

blockquote p:last-child { margin-bottom: 0; }

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--color-text);
  margin: 0 0 0.8em;
}

h1 { font-size: 1.65rem; letter-spacing: -0.02em; }
h2 { font-size: 1.3rem; letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; }
h4 { font-size: 0.92rem; }
h5 { font-size: 0.85rem; }
h6 { font-size: 0.8rem; color: var(--color-text-muted); }

h2::before {
  content: "## ";
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.85em;
  font-weight: 400;
}

/* Code */
code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--color-bg-overlay);
  color: var(--color-orange);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-muted);
}

pre {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1em 1.2em;
  overflow-x: auto;
  margin: 1.5em 0;
  font-size: 0.85em;
  line-height: 1.6;
}

pre code {
  background: none;
  border: 0;
  padding: 0;
  color: var(--color-text);
}

/* Tables */
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 2em;
}

thead { border-bottom: 2px solid var(--color-border); }

th {
  font-weight: 700;
  text-align: left;
  padding: 0.75em;
  color: var(--color-text);
  font-size: 0.9em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

td {
  padding: 0.75em;
  border-bottom: 1px solid var(--color-border-muted);
}

tr:hover td { background: var(--color-bg-overlay); }

/* Forms */
input, select, textarea {
  background-color: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  padding: 12px 16px;
  width: 100%;
  border-radius: var(--radius-sm);
  transition: border-color var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--color-accent-muted);
}

input[type="checkbox"], input[type="image"], input[type="radio"] {
  width: auto;
}

::placeholder { color: var(--color-text-dim); opacity: 1; }

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button {
  background: var(--color-accent);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 28px;
  text-decoration: none;
  display: inline-block;
  transition: all var(--transition);
  letter-spacing: 0.01em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover {
  background: var(--color-accent-hover);
  color: #fff;
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
  transform: translateY(-1px);
}

button:disabled,
input:disabled {
  background: var(--color-bg-elevated);
  color: var(--color-text-dim);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button { display: none; }

/* Screen Reader */
.screen-reader-shortcut, .screen-reader-text, .screen-reader-text span {
  border: 0; clip: rect(0, 0, 0, 0); height: 1px; overflow: hidden;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   Structure & Layout
   ========================================================================== */

.site-container {
  animation: fadein 0.6s ease-out;
  word-wrap: break-word;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.site-inner {
  clear: both;
  margin: 0 auto;
  max-width: 1100px;
  padding: 40px 20px;
}

/* ==========================================================================
   Site Header
   ========================================================================== */

.site-header {
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 9999;
}

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

.title-area {
  float: left;
  padding: 18px 0;
}

.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  margin: 0;
  font-family: var(--font-mono);
}

.site-title a {
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-title a::before {
  content: "> ";
  color: var(--color-green);
}

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

.site-description {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--color-text-dim);
  margin-left: 14px;
  display: inline;
}

.wp-custom-logo .site-title {
  border: 0; clip: rect(0, 0, 0, 0); height: 1px; overflow: hidden;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.genesis-nav-menu { clear: both; line-height: 1; width: 100%; }
.genesis-nav-menu .menu-item { display: block; float: none; position: relative; }

.genesis-nav-menu a {
  color: var(--color-text-muted);
  display: block;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.genesis-nav-menu a:hover,
.genesis-nav-menu .current-menu-item > a {
  color: var(--color-accent-hover);
}

.genesis-nav-menu .sub-menu {
  clear: both; display: none; left: -9999px; margin: 0;
  opacity: 1; padding-left: 20px; position: static; z-index: 99;
}

.genesis-nav-menu .sub-menu a {
  background: var(--color-bg-elevated);
  font-size: 0.85rem;
  word-wrap: break-word;
}

.genesis-nav-menu .menu-item:hover > .sub-menu { display: block; left: auto; opacity: 1; }

/* Header Nav */
.nav-primary { clear: left; padding: 15px 0; width: 100%; }

/* Responsive Menu */
.js .nav-primary { display: none; position: relative; }
.genesis-responsive-menu .genesis-nav-menu .menu-item:hover > .sub-menu { display: none; }

.menu-toggle, .sub-menu-toggle {
  background: transparent !important;
  border: 0;
  color: var(--color-text-muted);
  display: block;
  margin: 0 auto;
  overflow: hidden;
  text-align: center;
  visibility: visible;
  box-shadow: none !important;
  transform: none !important;
}

.menu-toggle:hover, .sub-menu-toggle:hover {
  color: var(--color-accent-hover);
  background: transparent !important;
}

.menu-toggle {
  float: right;
  line-height: 20px;
  margin: 10px 0;
  padding: 12px 0;
  position: relative;
  z-index: 1000;
  font-size: 1rem;
}

.menu-toggle::before { margin-right: 8px; }

.sub-menu-toggle {
  float: right;
  padding: 9px 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 100;
}

.sub-menu-toggle::before {
  display: inline-block;
  transition: transform 0.25s ease;
}

.sub-menu-toggle.activated::before { transform: rotate(180deg); }

/* Footer Menu */
.nav-secondary { margin-top: 10px; }
.nav-secondary .genesis-nav-menu { line-height: 1.5; }
.nav-secondary .menu-item { display: inline-block; }
.nav-secondary a { margin: 0 10px; padding: 0; }
.nav-secondary a:hover { color: var(--color-accent-hover); }

/* ==========================================================================
   Content Area / Entries
   ========================================================================== */

.entry {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--color-border-muted);
}

.entry:last-of-type { border-bottom: 0; }

.entry-title {
  font-size: 1.45rem;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.entry-title a {
  color: var(--color-text);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Entry Meta */
.entry-header .entry-meta {
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.entry-header .entry-meta a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.entry-header .entry-meta a:hover { color: var(--color-accent); }

.entry-footer .entry-meta {
  border-top: 1px solid var(--color-border-muted);
  padding-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

.entry-categories a {
  background: var(--color-accent-muted);
  color: var(--color-accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-right: 6px;
  text-decoration: none;
  transition: all var(--transition);
}

.entry-categories a:hover {
  background: var(--color-accent);
  color: #fff;
}

.entry-tags { display: block; margin-top: 6px; }

.entry-tags a {
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

.entry-tags a::before { content: "#"; color: var(--color-text-dim); }

/* Entry Content */
.entry-content ol, .entry-content ul {
  margin-bottom: 1.5em;
  padding-left: 1.5em;
}

.entry-content ol > li { list-style-type: decimal; margin-bottom: 0.4em; }
.entry-content ul > li { list-style-type: disc; margin-bottom: 0.4em; }
.entry-content ul ul > li { list-style-type: circle; }
.entry-content ol ol, .entry-content ul ul { margin-bottom: 0; }

.entry-content .wp-caption-text { margin-bottom: 0; }

/* Post images */
.entry-content img {
  border-radius: var(--radius);
}

/* More Link */
.more-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.more-link::after {
  content: " →";
  transition: transform var(--transition);
  display: inline-block;
}

.more-link:hover::after { transform: translateX(4px); }

/* Sticky */
.content .sticky {
  background: var(--color-bg-elevated);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--color-accent-muted);
}

/* ==========================================================================
   Author Box
   ========================================================================== */

.author-box {
  background: var(--color-bg-elevated);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  margin-bottom: 40px;
}

.author-box .avatar { border-radius: 50%; float: left; margin-right: 24px; }

.author-box-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.author-box p:last-child { margin-bottom: 0; }

/* ==========================================================================
   After Entry
   ========================================================================== */

.after-entry {
  background: var(--color-bg-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
  margin-bottom: 40px;
}

.after-entry .widget:last-of-type { margin-bottom: 0; }

/* ==========================================================================
   Breadcrumb
   ========================================================================== */

.breadcrumb {
  border-bottom: 1px solid var(--color-border-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
  padding-bottom: 12px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   Pagination
   ========================================================================== */

.pagination { clear: both; margin: 60px 0; }

.archive-pagination li { display: inline; }

.archive-pagination li a {
  background: var(--color-bg-elevated);
  color: var(--color-text-muted);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 4px 4px 0;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-muted);
  transition: all var(--transition);
}

.archive-pagination li a:hover,
.archive-pagination li.active a {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

/* ==========================================================================
   Comments
   ========================================================================== */

.comment-respond, .entry-comments, .entry-pings { margin-bottom: 40px; }

.comment-list li { padding: 30px 0 0 24px; }
.comment-list .depth-1 { padding-left: 0; }

.comment-header { margin-bottom: 20px; }
.comment-content { clear: both; }

.comment-content ul > li { list-style-type: disc; }

.comment-respond input[type="email"],
.comment-respond input[type="text"],
.comment-respond input[type="url"] { width: 50%; }

.comment-respond label { display: block; margin-bottom: 6px; font-weight: 600; }

.comment-header p { margin-bottom: 0; }
.entry-pings .reply { display: none; }

/* ==========================================================================
   Sidebar
   ========================================================================== */

.sidebar {
  font-size: 0.88rem;
  line-height: 1.65;
}

.sidebar .widget {
  background: var(--color-bg-elevated);
  border: 0;
  border-radius: var(--radius);
  padding: 22px 20px;
  margin-bottom: 24px;
  transition: box-shadow var(--transition);
}

.sidebar .widget:hover {
  box-shadow: var(--shadow-lg);
}

.sidebar .widget-title {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border-muted);
}

.sidebar .widget-title::before {
  content: "> ";
  color: var(--color-green);
  font-weight: 700;
}

.sidebar ul > li {
  margin-bottom: 8px;
  padding: 4px 0;
  transition: padding var(--transition);
}

.sidebar ul > li a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  display: flex;
  align-items: baseline;
  gap: 8px;
  transition: color var(--transition), padding var(--transition);
}

.sidebar ul > li a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.sidebar ul > li a::before {
  content: "»";
  color: var(--color-text-dim);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* Tag cloud in sidebar */
.sidebar .tagcloud a,
.sidebar .wp-block-tag-cloud a {
  display: inline-block;
  background: var(--color-bg-overlay);
  color: var(--color-text-muted);
  padding: 4px 10px;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 0.78rem !important;
  margin: 0 4px 8px 0;
  text-decoration: none;
  transition: all var(--transition);
}

.sidebar .tagcloud a:hover,
.sidebar .wp-block-tag-cloud a:hover {
  background: var(--color-accent-muted);
  color: var(--color-accent-hover);
}

/* Search in sidebar */
.sidebar .search-form input[type="search"] {
  background: var(--color-bg);
  border: 1px solid var(--color-border-muted);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.85rem;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.sidebar .search-form input[type="search"]:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-muted);
  outline: none;
}

/* Categories with count badge */
.sidebar .widget_categories li a,
.sidebar .wp-block-categories-list li a {
  justify-content: space-between;
}

.sidebar .widget_categories li a::after,
.sidebar .wp-block-categories-list li a::after {
  content: attr(data-count);
  background: var(--color-bg-overlay);
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: auto;
}

/* Recent posts styling */
.sidebar .widget_recent_entries li a {
  display: block;
  line-height: 1.4;
}

.sidebar .widget_recent_entries .post-date {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-dim);
  font-family: var(--font-mono);
  margin-top: 2px;
}

/* ==========================================================================
   Footer Widgets
   ========================================================================== */

.footer-widgets {
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  clear: both;
  padding: 60px 0;
}

.footer-widgets .wrap { max-width: 1100px; margin: 0 auto; }

.footer-widget-area {
  margin-bottom: 40px;
  padding: 0 20px;
}

.footer-widget-area:last-child,
.footer-widgets .widget:last-child { margin-bottom: 0; }

/* ==========================================================================
   Site Footer
   ========================================================================== */

.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-dim);
  padding: 30px 20px;
  text-align: center;
  font-family: var(--font-mono);
}

.site-footer p { margin-bottom: 0; }

.site-footer a { color: var(--color-text-muted); }
.site-footer a:hover { color: var(--color-accent); }

/* ==========================================================================
   Widgets
   ========================================================================== */

.widget { margin-bottom: 30px; }
.widget p:last-child { margin-bottom: 0; }
.widget ul > li { margin-bottom: 8px; }

.widget ul > li a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.widget ul > li a:hover { color: var(--color-accent); }

/* Search Form */
.search-form { overflow: hidden; }
.entry-content .search-form { margin-bottom: 30px; width: 50%; }
.widget_search input[type="submit"] { border: 0; clip: rect(0,0,0,0); height: 1px; margin: -1px; padding: 0; position: absolute; width: 1px; }

/* ==========================================================================
   Plugins
   ========================================================================== */

/* Genesis eNews Extended */
.after-entry .enews { text-align: center; padding: 10px; }
.sidebar .enews { background: var(--color-bg-overlay); padding: 24px; border-radius: var(--radius); }
.enews-widget input { margin-bottom: 10px; }
.enews form + p { margin-top: 16px; }

/* Genesis Simple FAQ */
.gs-faq__question {
  background: transparent !important;
  border-bottom: 1px solid var(--color-border-muted);
  color: var(--color-text) !important;
  padding: 14px 0;
  font-weight: 600;
}

.gs-faq__question:hover { color: var(--color-accent) !important; }

/* ==========================================================================
   Gallery
   ========================================================================== */

.gallery { overflow: hidden; }
.gallery img { border: 1px solid var(--color-border); padding: 4px; border-radius: var(--radius); }
.gallery img:hover { border-color: var(--color-accent); }

.gallery-item { float: left; margin: 0 0 24px; text-align: center; }

.gallery-columns-1 .gallery-item { width: 100%; }
.gallery-columns-2 .gallery-item { width: 50%; }
.gallery-columns-3 .gallery-item { width: 33.333%; }
.gallery-columns-4 .gallery-item { width: 25%; }
.gallery-columns-5 .gallery-item { width: 20%; }
.gallery-columns-6 .gallery-item { width: 16.666%; }
.gallery-columns-7 .gallery-item { width: 14.285%; }
.gallery-columns-8 .gallery-item { width: 12.5%; }
.gallery-columns-9 .gallery-item { width: 11.111%; }

/* ==========================================================================
   Alignment
   ========================================================================== */

.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }

figcaption, .gallery-caption, .wp-caption-text {
  font-size: 0.82rem;
  color: var(--color-text-dim);
  margin-top: 0.5em;
  text-align: center;
}

/* ==========================================================================
   Skip Links
   ========================================================================== */

.genesis-skip-link { margin: 0; }
.genesis-skip-link .skip-link-hidden { display: none; visibility: hidden; }
.genesis-skip-link li { height: 0; list-style: none; width: 0; }
:focus { color: var(--color-text); outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* ==========================================================================
   Desktop (960px+)
   ========================================================================== */

@media only screen and (min-width: 960px) {

  .site-header {
    position: sticky;
    top: 0;
    z-index: 9999;
  }

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

  /* Navigation */
  .genesis-nav-menu .menu-item { display: inline-block; }

  .genesis-nav-menu .sub-menu,
  .genesis-nav-menu .sub-menu a { width: 200px; }

  .genesis-nav-menu .sub-menu {
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg-elevated);
    opacity: 0;
    padding-left: 0;
    position: absolute;
    top: 100%;
    transition: opacity 0.2s ease;
    box-shadow: var(--shadow-lg);
  }

  .genesis-nav-menu .sub-menu a {
    border-bottom: 1px solid var(--color-border-muted);
    padding: 12px 16px;
    border-radius: 0;
  }

  .genesis-nav-menu .sub-menu .menu-item:last-child a { border-bottom: 0; }

  .genesis-nav-menu .sub-menu .sub-menu { margin: 0; left: 100%; top: -1px; }

  .genesis-nav-menu > .menu-highlight > a {
    background: var(--color-accent);
    color: #fff;
    border-radius: var(--radius);
    margin-left: 12px;
    padding: 8px 18px;
  }

  .genesis-nav-menu > .menu-highlight > a:hover {
    background: var(--color-accent-hover);
    color: #fff;
  }

  .genesis-nav-menu > .menu-bold > a { font-weight: 700; }

  .js .nav-primary { display: block; }

  .menu-toggle, .sub-menu-toggle { display: none; visibility: hidden; }

  .nav-primary {
    clear: none;
    float: right;
    width: auto;
    padding-top: 22px;
  }

  /* Content / Sidebar */
  .content { float: left; width: 66%; }
  .sidebar { float: right; width: 30%; }
  .sidebar-content .content { float: right; }
  .sidebar-content .sidebar { float: left; }
  .full-width-content .content { float: none; margin: 0 auto; width: 100%; }

  /* Column Classes */
  .five-sixths, .four-sixths, .one-fourth, .one-half, .one-sixth,
  .one-third, .three-fourths, .three-sixths, .two-fourths, .two-sixths,
  .two-thirds { float: left; margin-left: 2.56%; }

  .one-half, .three-sixths, .two-fourths { width: 48.72%; }
  .one-third, .two-sixths { width: 31.62%; }
  .four-sixths, .two-thirds { width: 65.81%; }
  .one-fourth { width: 23.08%; }
  .three-fourths { width: 74.36%; }
  .one-sixth { width: 14.53%; }
  .five-sixths { width: 82.91%; }
  .first { clear: both; margin-left: 0; }

  /* Spacing */
  .after-entry, .archive-description, .author-box,
  .comment-respond, .entry, .entry-comments, .entry-pings { margin-bottom: 60px; }

  .site-inner { padding: 60px 30px; }

  /* Footer Widgets */
  .footer-widget-area { float: left; margin-bottom: 0; width: calc(100% / 3); }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  *, *::before, *::after { background: transparent !important; box-shadow: none !important; color: #000 !important; }
  a, a:visited { text-decoration: underline; }
  .nav-primary, .nav-secondary, .sidebar, .comment-form { display: none !important; }
}
