/* CSS Reset + Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f4f4f4;
}

/* Header */
header {
  background: white;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #ddd;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.site-logo {
  height: 80px;
  width: 80px;
  object-fit: contain;
}

.navbar .nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar .nav-menu li {
  position: relative;
}

.navbar .nav-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

.navbar .nav-menu a:hover {
  color: #0077cc;
  text-decoration: underline;
}

/* Main Layout */
main {
  padding: 1.5rem;
  background: transparent;
  box-shadow: none;
}


/* Blog Listing */
.blog-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.blog-list-item article {
  background: #ffffff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
  transition: box-shadow 0.2s ease;
}

.blog-list-item article:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.blog-list-item h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  color: #0056b3;
}

.blog-list-item .blog-date {
  font-size: 0.9rem;
  color: #999;
  margin-bottom: 1rem;
  display: block;
}

.blog-list-item p.blog-excerpt {
  font-size: 1rem;
  color: #444;
  margin-bottom: 1rem;
}

.blog-list-item a {
  font-weight: 600;
  color: #0077cc;
}

/* Breadcrumbs */
.breadcrumbs {
  font-size: 1rem;
  margin: 1rem 0;
  padding: 1rem 2rem;
  background: #f9f9f9;
  color: #666;
}

.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.breadcrumbs li::after {
  content: ">";
  margin: 0 0.5rem;
  color: #ccc;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.breadcrumbs a {
  color: #0077cc;
  text-decoration: none;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Article Page */
article {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 8px;
  line-height: 1.8;
  font-size: 1.1rem;
  color: #333;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

article h1,
article h2,
article h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #0056b3;
}

article p {
  margin-bottom: 1.25rem;
}

article ul {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

article li {
  margin-bottom: 0.5rem;
}

article footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.95rem;
  color: #555;
}

/* Misc */
a {
  color: #4fc3f7;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  color: #81d4fa;
}

.logo {
  max-height: 60px;
}

/* Optional cleanup */
.has-dropdown > .dropdown,
.has-sub-dropdown > .sub-dropdown {
  display: none !important;
}

.homepage .hero h1 {
  font-size: 4rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #0077cc;
  margin-bottom: 0.5rem;
}

.homepage .hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #444;
  margin-top: 0;
}

footer {
  text-align: center;
  padding: 1rem 0;
  background: #333;
  color: #fff;
}
.cover-image {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.cover-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}
.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #ddd;
  background: #fdfcff; /* a soft violet-tinted white - elegant and modern */
  font-size: 1rem;
  color: #333;
}

.article-footer .related-heading {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #444;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

.article-footer .related-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.article-footer .related-links li {
  margin: 0;
}

.article-footer .related-links a {
  color: #0056b3;
  font-weight: 500;
  text-decoration: none;
}

.article-footer .related-links a:hover {
  text-decoration: underline;
  color: #0077cc;
}


.article-footer .subscribe-blurb {
  font-size: 0.95rem;
  color: #555;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 1rem;
}

table th,
table td {
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

table thead th {
  background-color: #f4f6f8;
  font-weight: 600;
  color: #333;
}

table tbody tr:nth-child(even) {
  background-color: #fafafa;
}

@media (max-width: 768px) {
  table {
    font-size: 0.9rem;
  }
}
pre[class*="language-"] {
  padding-top: 0.5rem !important;
  margin-top: 0 !important;
}
pre[class*="language-"] {
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  overflow-x: auto;
}

code[class*="language-"] {
  background: none;
  padding: 0;
}


pre {
  background: #f6f8fa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1rem;
  overflow-x: auto;
  margin: 2rem 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95rem;
  background-color: #f0f0f0;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

pre code {
  padding: 0;
  background: none;
}

/* Optional: label language types if desired */
.language-js::before,
.language-wsd::before {
  display: block;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 0.5rem;
}

.code-expander summary {
  font-weight: bold;
  cursor: pointer;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #0077cc;
}

.code-expander[open] summary::after {
  content: " ▲";
  font-size: 0.75rem;
}

.code-expander summary::after {
  content: " ▼";
  font-size: 0.75rem;
}

.code-expander pre {
  margin-top: 0.5rem;
}

.button {
  display: inline-block;
  background-color: #0d6efd; /* blue */
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.button:hover {
  background-color: #0a58ca;
}

.calendly-button {
  margin-top: 2rem;
  text-align: center;
  display: inline-block;
}.tooltip-container {
  position: relative;
  display: inline-block;
}

.tooltip {
  position: absolute;
  bottom: 0;
  left: 100%;
  margin-left: 12px;
  background-color: rgba(30, 30, 30, 0.95);
  color: #fff;
  width: 320px;
  padding: 1rem;
  border-radius: 6px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 400ms ease, visibility 400ms ease;
  z-index: 10;
}

.tooltip-container:hover .tooltip {
  opacity: 1;
  visibility: visible;
}



/* Responsive adjustment for mobile */
@media (max-width: 600px) {
  .tooltip {
    position: static;
    width: 100%;
    margin: 1rem 0 0;
  }
}


.cta-section {
  text-align: center;
  margin: 2rem auto 1.5rem;  
  padding: 2rem;
  background: #f4f7fc;
  border-top: 1px solid #ddd;
  border-radius: 8px;
}

.cta-heading {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.cta-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #005fa3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.nav-cta,
.cta-button {
  background-color: #0077cc;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.2s ease-in-out;
}

.nav-cta:hover,
.cta-button:hover {
  background-color: #005fa3;
}


/* ========================== */
/*   Thoughts Page Wrapper    */
/* ========================== */

body.thoughts {
  background-color: #fdfcff;
  padding-top: 2rem;
}

body.thoughts main {
  padding-bottom: 3rem;
}




/**************************************/
/*         Thoughts Section           */
/**************************************/


.thoughts-post {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.thoughts-post .subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-top: -1rem;
}

.thoughts-post {
  max-width: 70ch;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background-color: #fdfcff;
  border-left: 5px solid #cfc3ff;
  border-radius: 12px;
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  line-height: 1.75;
  color: #1a1a1a;
  box-shadow:
    -8px 0 20px rgba(103, 103, 127, 0.2), /* Left */
     8px 0 20px rgba(103, 103, 127, 0.2); /* Right */
}

.thoughts-post h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2c2c2c;
  line-height: 1.2;
}

.thoughts-description {
  font-style: italic;
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 50ch;
}

.thoughts-post h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #ddd;
  color: #444;
}

.thoughts-post p {
  margin-bottom: 1.5rem;
  color: #222;
}

.thoughts-post ul {
  margin-left: 1.5rem;
  margin-bottom: 2rem;
  color: #222;
}

.thoughts-post li {
  margin-bottom: 0.75rem;
}

.thoughts-post blockquote {
  border-left: 4px solid #aaa;
  padding-left: 1rem;
  margin: 2rem 0;
  font-style: italic;
  color: #444;
  background: #f5f5f7;
  padding: 1rem 1.25rem;
  border-radius: 6px;
}


/**************************************/
/*     END Thoughts Section           */
/**************************************/


.section-intro {
  max-width: 60ch;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  color: #444;
  text-align: center;
}

.post-list.thoughts-list {
  list-style: none;
  padding: 0;
  max-width: 60ch;
  margin: 0 auto;
}

.post-item {
  margin-bottom: 2.5rem;
}

.post-item h2 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.post-description {
  color: #666;
  margin-bottom: 0.5rem;
}

.post-meta {
  font-size: 0.9rem;
  color: #999;
}


/**************************************/
/*            Vlog Section            */
/**************************************/

.vlog-list {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.vlog-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  margin-bottom: 2rem;
  padding: 1.5rem; /* Add internal padding */
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.vlog-thumbnail {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 6px;
  display: block;
  margin-bottom: 1rem; /* space between image and title */
}


.vlog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.vlog-card-link {
  display: flex;
  flex-direction: row;
  gap: 2rem; /* little more breathing space */
  text-decoration: none;
  color: inherit;
  padding: 2rem;
}



.vlog-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vlog-card-content h3 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  color: #0056b3;
}

.vlog-card-content small {
  color: #666;
  margin-bottom: 0.5rem;
}

.vlog-card-content p {
  margin: 0;
  color: #333;
  line-height: 1.5;
}
