/* Self-hosted latin subsets — weights matching original Google Fonts set */
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lora-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/lora-700.woff2") format("woff2");
}
@font-face {
  font-family: "Lora";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/lora-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/open-sans-300.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/open-sans-400.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/open-sans-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/open-sans-600.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/open-sans-700.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/fonts/open-sans-800.woff2") format("woff2");
}

/* --- Reset / base (aligned with original Beautiful Jekyll + Bootstrap 3) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Lora", "Times New Roman", serif;
  font-size: 18px;
  color: #404040;
  position: relative;
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  margin-top: 20px;
  margin-bottom: 10px;
}

p {
  line-height: 1.5;
  margin: 30px 0;
}

a {
  color: #008aff;
  text-decoration: none;
}
a:hover,
a:focus {
  color: #0085a1;
}


img {
  max-width: 100%;
  height: auto;
  border: 0;
  vertical-align: middle;
}

/* Former Bootstrap utilities still used in posts */
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}
.center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


ul, ol {
  margin: 1em 0;
  padding-left: 1.5em;
}

blockquote {
  margin: 1.2em 0;
  padding: 0 1em;
  color: #808080;
  font-style: italic;
  border-left: 4px solid #eee;
}
blockquote p:first-child {
  margin-top: 0;
}

hr {
  border: 0;
  border-top: 1px solid #eee;
  margin: 1.5em 0;
}
hr.small {
  max-width: 100px;
  margin: 15px auto;
  border: 0;
  border-top: 4px solid #404040;
  border-radius: 3px;
  background: none;
}

::selection {
  color: #fff;
  text-shadow: none;
  background: #0085a1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.text-center { text-align: center; }
.text-muted { color: #777; }
.subtitle { color: #808080; }
.hideme { display: none; }

/* --- Layout (replaces Bootstrap grid) --- */
.container,
.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container {
  max-width: 1170px;
}
.row {
  margin: 0;
}
.row > [class*="col-"] {
  width: 100%;
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
}

.main-content {
  padding-top: 80px;
}
@media (min-width: 768px) {
  .main-content {
    padding-top: 130px;
  }
}

.resp-iframe-container {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}
.resp-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Navbar --- */
.navbar-custom {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  min-height: 50px;
  background: #f5f5f5;
  border-bottom: 1px solid #eaeaea;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-custom .container-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  min-height: 50px;
}

.navbar-custom .navbar-header {
  flex: 1 1 auto;
  min-width: 0;
}

.navbar-custom .navbar-collapse {
  flex: 0 0 auto;
}

.navbar-custom .navbar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-custom .navbar-brand {
  display: inline-block;
  padding: 14px 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 22px;
  color: #404040;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus {
  color: #0085a1;
  text-decoration: none;
}

.navbar-custom .nav li a.nav-cta {
  display: inline-block;
  margin: 0 0 0 8px;
  padding: 5px 12px;
  line-height: 1.3;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  white-space: nowrap;
  color: #0085a1;
  background: transparent;
  border: 2px solid #0085a1;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.navbar-custom .nav li a.nav-cta:hover,
.navbar-custom .nav li a.nav-cta:focus {
  color: #fff;
  background: #0085a1;
  border-color: #0085a1;
  text-decoration: none;
}
.navbar-custom .nav li a.nav-cta.active {
  color: #fff;
  background: #0085a1;
  border-color: #0085a1;
}

@media (min-width: 768px) {
  .navbar-custom {
    padding: 20px 0;
    transition: padding 0.5s ease-in-out;
  }
  .navbar-custom.top-nav-short {
    padding: 0;
  }
  .navbar-custom .nav li a.nav-cta {
    margin-left: 15px;
    padding: 6px 18px;
    font-size: 12px;
    letter-spacing: 1.5px;
  }
}

.navbar-custom .avatar-container {
  display: none;
}

/* Nested nav (unused today; keep lightweight) */
.navbar-custom .nav .navlinks-children {
  display: none;
}

/* --- Footer --- */
footer {
  padding: 30px 0;
  background: #f5f5f5;
  border-top: 1px solid #eaeaea;
  margin-top: 50px;
  font-size: 14px;
}
footer a {
  color: #404040;
}
footer a:hover,
footer a:focus {
  color: #0085a1;
}
footer .footer-links {
  list-style: none;
  margin: 0 0 1em;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #404040;
  color: #fff;
  transition: background 0.15s ease;
}
footer .footer-links a:hover,
footer .footer-links a:focus {
  background: #0085a1;
  color: #fff;
}
footer .footer-links svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}
footer .copyright {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-align: center;
  margin: 0;
  color: #777;
}
@media (min-width: 768px) {
  footer {
    padding: 50px 0;
  }
  footer .footer-links a {
    width: 48px;
    height: 48px;
  }
  footer .footer-links svg {
    width: 22px;
    height: 22px;
  }
  footer .copyright {
    font-size: 16px;
  }
}

/* --- Post list --- */
.post-preview {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.post-preview:last-child {
  border-bottom: 0;
}
@media (min-width: 768px) {
  .post-preview {
    padding: 35px 0;
  }
}
.post-preview a {
  text-decoration: none;
  color: #404040;
}
.post-preview a:focus,
.post-preview a:hover {
  text-decoration: none;
  color: #0085a1;
}
.post-preview .post-title {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 10px;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .post-preview .post-title {
    font-size: 36px;
  }
}
.post-preview .post-subtitle {
  margin: 0 0 10px;
  font-weight: 300;
  line-height: 1.1;
}
.post-preview .post-meta,
.post-heading .post-meta {
  color: #808080;
  font-size: 18px;
  font-style: italic;
  margin: 0 0 10px;
}
.post-preview .post-entry {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.post-entry-container {
  display: inline-block;
  width: 100%;
}
.post-entry {
  width: 100%;
}
.post-image {
  float: right;
  height: 192px;
  width: 192px;
  margin-top: -35px;
  filter: grayscale(90%);
}
.post-image:hover {
  filter: grayscale(0%);
}
.post-image img {
  border-radius: 100px;
  height: 192px;
  width: 192px;
  object-fit: cover;
}
.post-preview .post-read-more {
  font-weight: 800;
}
@media (max-width: 500px) {
  .post-image,
  .post-image img {
    height: 100px;
    width: 100px;
  }
  .post-image {
    width: 100%;
    text-align: center;
    margin-top: 0;
    float: left;
  }
}

/* --- Tags --- */
.blog-tags {
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #999;
  font-size: 15px;
  margin-bottom: 30px;
}
.blog-tags a {
  color: #008aff;
  text-decoration: none;
  padding: 0 5px;
}
.blog-tags a:hover {
  border-radius: 2px;
  color: #008aff;
  background-color: #ccc;
}

/* --- Headers --- */
.intro-header {
  margin: 80px 0 20px;
  position: relative;
}
.intro-header.big-img {
  background: no-repeat center center;
  background-size: cover;
  margin-top: 51px;
  margin-bottom: 35px;
}
.intro-header.big-img .big-img-transition {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: no-repeat center center;
  background-size: cover;
  transition: opacity 1s linear;
}
.intro-header .page-heading {
  text-align: center;
}
.intro-header.big-img .page-heading,
.intro-header.big-img .post-heading {
  padding: 100px 0;
  color: #fff;
  text-shadow: 1px 1px 3px #000;
}
.intro-header .page-heading h1 {
  margin-top: 0;
  font-size: 50px;
}
.intro-header .post-heading h1 {
  margin-top: 0;
  font-size: 35px;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 27px;
  line-height: 1.1;
  display: block;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin: 10px 0 0;
}
.intro-header .post-heading .post-subheading {
  margin-bottom: 20px;
}
.intro-header.big-img .page-heading .page-subheading,
.intro-header.big-img .post-heading .post-subheading {
  font-weight: 400;
}
.intro-header.big-img .post-heading .post-meta {
  color: #eee;
}
.intro-header.big-img .img-desc {
  background: rgba(30, 30, 30, 0.6);
  position: absolute;
  padding: 5px 10px;
  font-size: 11px;
  color: #eee;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  right: 0;
  bottom: 0;
  display: none;
}
@media (min-width: 768px) {
  .intro-header {
    margin-top: 130px;
  }
  .intro-header.big-img {
    margin-top: 91px;
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    padding: 150px 0;
  }
  .intro-header .page-heading h1 {
    font-size: 80px;
  }
  .intro-header .post-heading h1 {
    font-size: 50px;
  }
  .intro-header.big-img .img-desc {
    font-size: 14px;
  }
}

.header-section.has-img .intro-header.no-img {
  display: none;
  margin: 0 0 40px;
  padding: 20px 0;
  background: #fcfcfc;
  box-shadow: 0 0 5px #aaa;
}
@media (max-width: 365px) {
  .header-section.has-img .intro-header.no-img {
    display: block;
  }
  .intro-header.big-img {
    width: 100%;
    height: 220px;
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading {
    display: none;
  }
  .header-section.has-img .big-img {
    margin-bottom: 0;
  }
}

.caption {
  text-align: center;
  font-size: 14px;
  padding: 10px;
  font-style: italic;
  margin: 0;
  display: block;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
}

/* --- Pager --- */
.pager {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}
.pager li a {
  display: inline-block;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 10px 5px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
  color: #404040;
}
@media (min-width: 768px) {
  .pager li a {
    padding: 15px 25px;
  }
  .pager.blog-pager {
    margin-top: 10px;
  }
}
.pager li a:hover,
.pager li a:focus {
  color: #fff;
  background: #0085a1;
  border-color: #0085a1;
  text-decoration: none;
}
.pager.blog-pager {
  margin-top: 0;
}

/* --- Tables --- */
table {
  border-collapse: collapse;
  width: 100%;
  margin: 1em 0;
}
table tr {
  border-top: 1px solid #ccc;
  background-color: #fff;
}
table tr:nth-child(2n) {
  background-color: #f8f8f8;
}
table tr th,
table tr td {
  border: 1px solid #ccc;
  text-align: left;
  padding: 6px 13px;
}
table tr th {
  font-weight: bold;
}

/* --- Code --- */
pre {
  font-size: 16px;
  line-height: 1.5;
  overflow: auto;
  padding: 1em;
  margin: 1em 0;
}
pre code {
  white-space: pre;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.9em;
}
code {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 0.9em;
  padding: 0.1em 0.3em;
  background: #f5f5f5;
  border-radius: 3px;
}
pre code {
  padding: 0;
  background: transparent;
}
pre.highlight,
.highlight > pre,
td.code pre {
  background: #fafafa;
  background-image: linear-gradient(#f9f9f9 50%, #fdfdfd 50%);
  background-repeat: repeat;
  background-size: 3em 3em;
  background-position: 0 10px;
  border-left: 7px solid #444;
}
code table,
code table td,
code table th,
code table tbody,
code table tr,
td.gutter pre {
  padding: 0;
  border: none;
  background-color: #fff;
}
.highlight > pre {
  padding: 0;
}
td.code pre {
  border-width: 0 0 0 2px;
  border-style: solid;
  border-color: #444;
  border-radius: 0;
}
td.gutter {
  padding-top: 3px;
}

/* Pygments */
.highlight .c { color: #999988; font-style: italic; }
.highlight .err { color: #a61717; background-color: #e3d2d2; }
.highlight .k { font-weight: bold; }
.highlight .o { font-weight: bold; }
.highlight .cm { color: #999988; font-style: italic; }
.highlight .cp { color: #999999; font-weight: bold; }
.highlight .c1 { color: #999988; font-style: italic; }
.highlight .cs { color: #999999; font-weight: bold; font-style: italic; }
.highlight .gd { color: #000; background-color: #ffdddd; }
.highlight .gd .x { color: #000; background-color: #ffaaaa; }
.highlight .ge { font-style: italic; }
.highlight .gr { color: #aa0000; }
.highlight .gh { color: #999; }
.highlight .gi { color: #000; background-color: #ddffdd; }
.highlight .gi .x { color: #000; background-color: #aaffaa; }
.highlight .go { color: #888; }
.highlight .gp { color: #555; }
.highlight .gs { font-weight: bold; }
.highlight .gu { color: #aaa; }
.highlight .gt { color: #aa0000; }
.highlight .kc { font-weight: bold; }
.highlight .kd { font-weight: bold; }
.highlight .kp { font-weight: bold; }
.highlight .kr { font-weight: bold; }
.highlight .kt { color: #445588; font-weight: bold; }
.highlight .m { color: #009999; }
.highlight .s { color: #d14; }
.highlight .na { color: #008080; }
.highlight .nb { color: #0086b3; }
.highlight .nc { color: #445588; font-weight: bold; }
.highlight .no { color: #008080; }
.highlight .ni { color: #800080; }
.highlight .ne { color: #990000; font-weight: bold; }
.highlight .nf { color: #990000; font-weight: bold; }
.highlight .nn { color: #555; }
.highlight .nt { color: #000080; }
.highlight .nv { color: #008080; }
.highlight .ow { font-weight: bold; }
.highlight .w { color: #bbb; }
.highlight .mf { color: #009999; }
.highlight .mh { color: #009999; }
.highlight .mi { color: #009999; }
.highlight .mo { color: #009999; }
.highlight .sb { color: #d14; }
.highlight .sc { color: #d14; }
.highlight .sd { color: #d14; }
.highlight .s2 { color: #d14; }
.highlight .se { color: #d14; }
.highlight .sh { color: #d14; }
.highlight .si { color: #d14; }
.highlight .sx { color: #d14; }
.highlight .sr { color: #009926; }
.highlight .s1 { color: #d14; }
.highlight .ss { color: #990073; }
.highlight .bp { color: #999; }
.highlight .vc { color: #008080; }
.highlight .vg { color: #008080; }
.highlight .vi { color: #008080; }
.highlight .il { color: #009999; }
.highlight .lineno {
  color: rgba(0, 0, 0, 0.3);
  padding: 0 10px;
  -webkit-user-select: none;
  user-select: none;
}
.lineno::selection {
  background-color: transparent;
}

#social-share-section {
  margin-bottom: 30px;
}
