/* Reset basic elements */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/* Base styling */
body {
  font: 400 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  color: #f1f5f9;                      /* Bright off-white / slate-100 */
  background-color: #1e293b;           /* Medium-dark slate — much lighter than before */
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/* Typography rhythm */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
  font-weight: 400;
}

/* Main element */
main {
  display: block;
}

/* Images and figures */
img {
  max-width: 100%;
  vertical-align: middle;
}
figure > img {
  display: block;
}
figcaption {
  font-size: 14px;
}

/* Lists */
ul, ol {
  margin-left: 30px;
}
li > ul, li > ol {
  margin-bottom: 0;
}

/* Links */
a {
  color: #60a5fa;                     /* Bright cyber blue – blue-400 */
  text-decoration: none;
}
a:visited {
  color: #93c5fd;                     /* Lighter visited blue */
}
a:hover {
  color: #dbeafe;                     /* Very light blue on hover */
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}
.social-media-list li + li {
  padding-top: 5px;
}

/* Blockquotes */
blockquote {
  color: #cbd5e1;                     /* slate-300 */
  border-left: 4px solid #334155;     /* slate-700 */
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/* Code formatting */
pre, code {
  font-size: 15px;
  border: 1px solid #334155;          /* slate-700 */
  border-radius: 3px;
  background-color: #0f172a;          /* slate-950 — dark but contrasted */
  color: #e2e8f0;                     /* slate-200 */
}
code {
  padding: 1px 5px;
}
pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding: 0;
}

/* Wrapper */
.wrapper {
  max-width: calc(800px - 30px * 2);
  margin: 0 auto;
  padding: 0 30px;
  background-color:  #242b37;  
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: calc(800px - 30px);
    padding: 0 15px;
  }
}

/* Clearfix */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/* Icons */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #94a3b8;                      /* slate-400 */
  padding-right: 5px;
  vertical-align: text-top;
}

/* Tables */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: #e2e8f0;
  border-collapse: collapse;
  border: 1px solid #334155;
}
table tr:nth-child(even) {
  background-color: #172033;          /* Slightly darker row */
}
table th, table td {
  padding: 10px 15px;
  border: 1px solid #334155;
}
table th {
  background-color: #1e293b;          /* Matches body bg for header */
  border-bottom-color: #475569;
}

/* Site header */
.site-header {
  border-top: 5px solid #10b981;      /* emerald-500 – green secure accent */
  border-bottom: 1px solid #334155;
  min-height: 56px;
  position: relative;
}
.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
  color: #60a5fa;                     /* Cyber blue title */
}
.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger,
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #f1f5f9;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #1e293b;
    border: 1px solid #334155;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger],
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    cursor: pointer;
    text-align: center;
    padding-top: 10px;
  }
  .site-nav .menu-icon > svg {
    fill: #60a5fa;
  }
  .site-nav input ~ .trigger {
    display: none;
    clear: both;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
}

/* Site footer */
.site-footer {
  border-top: 1px solid #334155;
  padding: 30px 0;
}
.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}
.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}
.footer-col-wrapper {
  font-size: 15px;
  color: #94a3b8;
  margin-left: -15px;
}
.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}
.footer-col-1 {
  width: calc(35% - 15px);
}
.footer-col-2 {
  width: calc(20% - 15px);
}
.footer-col-3 {
  width: calc(45% - 15px);
}
@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: calc(50% - 15px);
  }
  .footer-col-3 {
    width: calc(100% - 15px);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: calc(100% - 15px);
  }
}

/* Page content */
.page-content {
  padding: 30px 0;
  flex: 1;
  
}
.page-heading {
  font-size: 32px;
}/* ===== Post List Heading ===== */
.post-list-heading {
  font-size: 32px;
  font-weight: 700;
  color: #60f0fa; /* Neon cyber blue */
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 6px #60f0fa;
  margin-bottom: 1.5rem;
  font-family: 'Roboto Mono', monospace;
}

/* ===== Post List ===== */
.post-list {
  margin-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.post-list > li {
  margin-bottom: 30px;
}

/* ===== Post Preview Card ===== */
.post-preview {
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0f172a;  /* Dark cyber background */
  box-shadow: 0 4px 12px rgba(0, 255, 255, 0.1); /* subtle glow */
  transition: all 0.3s ease;
}
.post-preview:hover {
  background: #172033;
  box-shadow: 0 6px 20px rgba(0, 255, 255, 0.3); /* glowing hover */
  transform: translateY(-3px);
}

/* ===== Post Link & Title ===== */
.post-link {
  text-decoration: none;
  color: inherit;
  display: block;
  font-size: 1.5rem;
  font-family: 'Roboto Mono', monospace;
}
.post-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #60f0fa; /* Cyber blue */
  font-weight: 500;
  letter-spacing: 0.4px;
  transition: color 0.3s ease;
}
.post-title:hover {
  color: #1ee5ff;
  text-shadow: 0 0 6px #1ee5ff;
}

/* ===== Post Meta & Excerpt ===== */
.post-meta {
  font-size: 0.875rem;
  color: #94a3b8;
  font-style: italic;
  margin-bottom: 0.75rem;
}
.post-excerpt {
  font-size: 1rem;
  color: #cbd5e1;
  line-height: 1.6;
}

/* ===== Post Content ===== */
.post-header {
  margin-bottom: 2rem;
}
.post-content {
  margin-bottom: 3rem;
  font-family: 'Roboto', sans-serif;
  color: #cbd5e1;
}
.post-content h2 {
  font-size: 2rem;
  color: #60f0fa;
  margin-bottom: 1rem;
  text-shadow: 0 0 4px #60f0fa;
}
.post-content h3 {
  font-size: 1.5rem;
  color: #38bdf8;
  margin-bottom: 0.75rem;
}
.post-content h4 {
  font-size: 1.125rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

/* ===== Code Blocks & Security Vibe ===== */
pre, code {
  background: #0f172a;
  color: #7dd3fc;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: 'Fira Code', monospace;
  overflow-x: auto;
  box-shadow: inset 0 0 5px rgba(0, 255, 255, 0.2);
}

/* ===== Links & Buttons ===== */
a {
  color: #60f0fa;
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}
a:hover {
  color: #1ee5ff;
  text-shadow: 0 0 6px #1ee5ff;
}

/* ===== Optional subtle animation ===== */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 6px #60f0fa; }
  50% { text-shadow: 0 0 12px #60f0fa; }
}
.post-title.glow {
  animation: glow 2s infinite;
}
