/*
Theme Name: HighTechYeti
Theme URI: https://hightechyeti.example
Author: Ken Gebhart / Microsoft Copilot
Author URI: https://hightechyeti.example
Description: A dark, electric-blue technology blog theme for HighTechYeti, built for AI, security, cloud, automation, and geeky cool stuff.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hightechyeti
Tags: blog, custom-logo, custom-menu, featured-images, one-column, two-columns, right-sidebar, block-styles, wide-blocks, dark
*/

:root {
  --hty-bg: #071426;
  --hty-bg-deep: #030A14;
  --hty-section: #0D1B2A;
  --hty-section-alt: #12243A;
  --hty-card: rgba(18, 36, 58, 0.88);
  --hty-primary: #00A8FF;
  --hty-secondary: #0084FF;
  --hty-accent: #00D4FF;
  --hty-text: #FFFFFF;
  --hty-muted: #C7D3E0;
  --hty-small: #8FA5BB;
  --hty-border: rgba(0, 168, 255, 0.28);
  --hty-shadow: 0 24px 70px rgba(0, 168, 255, 0.15);
  --hty-radius: 22px;
  --hty-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--hty-muted);
  background: radial-gradient(circle at 20% 0%, rgba(0, 168, 255, .18), transparent 34%), radial-gradient(circle at 80% 8%, rgba(0, 212, 255, .12), transparent 30%), var(--hty-bg);
  line-height: 1.65;
}
a { color: var(--hty-primary); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover, a:focus { color: var(--hty-accent); }
img { max-width: 100%; height: auto; }

.screen-reader-text { position: absolute; left: -9999px; }
.container { width: min(var(--hty-max), calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(3, 10, 20, 0.86);
  border-bottom: 1px solid var(--hty-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--hty-text); }
.custom-logo { max-height: 56px; width: auto; }
.site-title { margin: 0; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 900; letter-spacing: -0.04em; }
.site-title span { color: var(--hty-primary); }
.site-description { margin: -4px 0 0; color: var(--hty-small); font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }

.menu-toggle { display: none; border: 1px solid var(--hty-border); background: transparent; color: var(--hty-text); padding: .6rem .85rem; border-radius: 12px; }
.primary-menu { display: flex; list-style: none; gap: 22px; margin: 0; padding: 0; align-items: center; }
.primary-menu a { color: var(--hty-text); font-weight: 700; font-size: .95rem; }
.primary-menu a:hover { color: var(--hty-accent); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 126px) 0;
  border-bottom: 1px solid var(--hty-border);
}
.hero:before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(3,10,20,.55), rgba(13,27,42,.48)), repeating-linear-gradient(90deg, rgba(0,168,255,.06) 0 1px, transparent 1px 100px); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 44px; align-items: center; }
.hero-kicker { color: var(--hty-accent); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .9rem; }
.hero h1 { margin: 12px 0 18px; color: var(--hty-text); font-size: clamp(2.8rem, 7vw, 6.25rem); line-height: .94; letter-spacing: -0.07em; }
.hero h1 strong { color: var(--hty-primary); }
.hero p { margin: 0 0 28px; font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 760px; }
.hero-card { background: linear-gradient(145deg, rgba(18,36,58,.92), rgba(3,10,20,.92)); border: 1px solid var(--hty-border); border-radius: var(--hty-radius); padding: 30px; box-shadow: var(--hty-shadow); }
.hero-card ul { margin: 0; padding-left: 1.2rem; }

.button, .wp-block-button__link, input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 22px; font-weight: 900; color: #fff !important; background: linear-gradient(135deg, var(--hty-primary), var(--hty-secondary)); box-shadow: 0 12px 30px rgba(0,132,255,.28); border: 0; cursor: pointer;
}
.button.secondary { background: transparent; border: 1px solid var(--hty-primary); color: var(--hty-primary) !important; box-shadow: none; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }

.main { padding: 56px 0; }
.grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .75fr); gap: 32px; align-items: start; }
.post-card { background: var(--hty-card); border: 1px solid var(--hty-border); border-radius: var(--hty-radius); padding: 26px; margin-bottom: 24px; box-shadow: 0 18px 44px rgba(0,0,0,.22); }
.post-card h2, .entry-title { margin: 0 0 10px; color: var(--hty-text); font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -0.04em; }
.entry-meta, .entry-footer { color: var(--hty-small); font-size: .92rem; }
.entry-content { color: var(--hty-muted); }
.entry-content h2, .entry-content h3 { color: var(--hty-text); line-height: 1.16; }
.entry-content blockquote { border-left: 4px solid var(--hty-primary); margin-left: 0; padding: 12px 20px; background: rgba(0,168,255,.08); border-radius: 0 14px 14px 0; }

.sidebar .widget, .widget { background: rgba(13,27,42,.82); border: 1px solid var(--hty-border); border-radius: 18px; padding: 22px; margin-bottom: 22px; }
.widget-title, .widget h2, .widget h3 { color: var(--hty-text); margin-top: 0; }
.widget ul { padding-left: 1.1rem; }

.category-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 34px; }
.category-tile { background: rgba(18,36,58,.82); border: 1px solid var(--hty-border); border-radius: 18px; padding: 20px; color: var(--hty-text); }
.category-tile strong { display: block; color: var(--hty-accent); margin-bottom: 6px; }

.pagination, .nav-links { display: flex; gap: 12px; flex-wrap: wrap; }
.nav-links a, .nav-links span, .page-numbers { padding: 10px 14px; border: 1px solid var(--hty-border); border-radius: 12px; background: rgba(18,36,58,.7); }

.site-footer { background: var(--hty-bg-deep); border-top: 1px solid var(--hty-border); padding: 42px 0; color: var(--hty-small); }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.footer-brand { color: var(--hty-text); font-weight: 900; font-size: 1.2rem; }

input, textarea, select { width: 100%; background: rgba(3,10,20,.75); border: 1px solid var(--hty-border); color: var(--hty-text); border-radius: 14px; padding: 12px 14px; }
label { color: var(--hty-text); font-weight: 700; }

.wp-caption, .gallery-caption { color: var(--hty-small); }
.bypostauthor { outline: 1px solid var(--hty-primary); }
.alignwide { max-width: min(1280px, calc(100vw - 40px)); }
.alignfull { max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }

@media (max-width: 900px) {
  .hero-inner, .grid, .footer-inner { grid-template-columns: 1fr; }
  .category-strip { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .menu-toggle { display: inline-flex; }
  .primary-menu { display: none; position: absolute; left: 20px; right: 20px; top: 78px; flex-direction: column; align-items: flex-start; background: rgba(3,10,20,.97); border: 1px solid var(--hty-border); border-radius: 18px; padding: 18px; }
  .primary-menu.is-open { display: flex; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 26px, var(--hty-max)); }
  .category-strip { grid-template-columns: 1fr; }
  .hero { padding: 56px 0; }
}
