/* AsciiDoctor*/
table{border-collapse:collapse;border-spacing:0;border:0}
.admonitionblock>table{border-collapse:separate;border:0;background:none;width:100%}
.admonitionblock>table td.icon{text-align:center;width:80px}
.admonitionblock>table td.icon img{max-width:none}
.admonitionblock>table td.icon .title{font-weight:bold;font-family:"Open Sans","DejaVu Sans",sans-serif;text-transform:uppercase}
.admonitionblock>table td.content{padding-left:1.125em;padding-right:1.25em;border-left:1px solid #ddddd8;color:rgba(0,0,0,.6)}
.admonitionblock>table td.content>:last-child>:last-child{margin-bottom:0}
.admonitionblock td.icon [class^="fa icon-"]{font-size:2.5em;text-shadow:1px 1px 2px rgba(0,0,0,.5);cursor:default}
.admonitionblock td.icon .icon-note::before{content:"\f05a";color:#19407c}
.admonitionblock td.icon .icon-tip::before{content:"\f0eb";text-shadow:1px 1px 2px rgba(155,155,0,.8);color:#111}
.admonitionblock td.icon .icon-warning::before{content:"\f071";color:#bf6900}
.admonitionblock td.icon .icon-caution::before{content:"\f06d";color:#bf3400}
.admonitionblock td.icon .icon-important::before{content:"\f06a";color:#bf0000}
.conum[data-value]{display:inline-block;color:#fff!important;background-color:rgba(100,100,0,.8);-webkit-border-radius:100px;border-radius:100px;text-align:center;font-size:.75em;width:1.67em;height:1.67em;line-height:1.67em;font-family:"Open Sans","DejaVu Sans",sans-serif;font-style:normal;font-weight:bold}

.conum[data-value] *{color:#fff!important}
.conum[data-value]+b{display:none}
.conum[data-value]::after{content:attr(data-value)}
pre .conum[data-value]{position:relative;top:-.125em}
b.conum *{color:inherit!important}
.conum:not([data-value]):empty{display:none}

/* Table border to null */
table td, table th {
    border: 0px;
  }


  /* Spacing */
.content {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
pre {
    padding: 0.2rem;
    
}

.listingblock .content {
    display: block;
}

.admonitionblock p {
    margin: 0;
}

.content article footer {
    margin-top: 8.0rem;
    margin-bottom: 8.0rem;
}

.paragraph {
    font-size: 1.9rem;
    line-height: 3rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.004em;
}

/* lists */
li > p {
    margin: 1rem 0 1rem 0;
    color: #3a3838;
    font-size: 1.9rem;
    line-height: 2.5rem;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.004em;
}

.container {
    /* OLD max-width: 80rem; */
    max-width: 76rem;
}

.container list {
    max-width: 78rem;
}

h2 {
    font-size: 3.2rem;
    margin-top: 9rem;
    margin-bottom: 5rem;
}

h3 {
    margin: 4rem 0 3.2rem 0;
    font-size: 1.8rem;
    text-transform: uppercase;
}

h4 {
    font-size: 2rem;
    line-height: 2rem;
    margin: 0px 0px;
    padding-left: 3rem;
}

iframe {
    margin-top: 30px;
}

/* Copy button on code blocks*/
/* https://www.dannyguo.com/blog/how-to-add-copy-to-clipboard-buttons-to-code-blocks-in-hugo/ */
.copy-code-button {
    color: #272822;
    background-color: #FFF;
    border-color: #272822;
    border: 2px solid;
    border-radius: 3px 3px 0px 0px;

    /* right-align */
    display: block;
    margin-left: auto;
    margin-right: 0;

    margin-bottom: -2.2rem;
    padding: 3px 8px;
    font-size: 0.8em;
}

.copy-code-button:hover {
    cursor: pointer;
    background-color: #F2F2F2;
}

.copy-code-button:focus {
    /* Avoid an ugly focus outline on click in Chrome,
       but darken the button for accessibility.
       See https://stackoverflow.com/a/25298082/1481479 */
    background-color: #E6E6E6;
    outline: 0;
}

.copy-code-button:active {
    background-color: #D9D9D9;
}

/* HOME PAGE */
.avatar img {
    width: 34rem;
    border-radius: 15% 0%;
}

#img-big-picture img {
    max-width: 150%;
    margin-left: -150px;
}

th, td {
    padding: 0.6rem;
}

div.admonitionblock > table > tbody > tr > td.content > a {
    display: contents;
}

div.admonitionblock > table > tbody > tr > td.content > code {
    display: contents;
}

pre code {
    line-height: 2rem;
    font-size: 1.3rem;
    margin-left: 0.4rem;
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
}

.container p   {
    text-overflow: ellipsis;
    /* width: 76rem; */
}

.container a {
    white-space: nowrap;
}

.container code a, .container.list a {
    white-space: inherit;
}

.container.list {
    max-width: 90rem;
}

.imageblock > .content {
    place-content: center;
}
.imageblock {
    text-align: center;
}

/* GIST Highlight */
#file-claps-js-LC6 {
    background-color: antiquewhite;
}


#file-claps-js-LC13, #file-claps-js-LC39 {
    background-color: lavender;
}

html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}

.section-nav a {
    transition: all 100ms ease-in-out;
}

div.twitter-tweet {
    margin: auto;
}

figcaption {
    font-style: italic;
    font-size: 1.5rem;
}

.admonitionblock>table td.content{
    font-size: 1.4rem;
    display: block;
}

div.admonitionblock.caution{
    background-color: #fbc287;
    border-radius: 2em;
}

div.admonitionblock.warning{
    background-color: #f5eaaf;
    border-radius: 2em;
}

div.gist-limited div.gist-data {
    max-height: 500px;
}

div.gist-file div.gist-data {
    max-height: 500px;
}

/* Badges */
.centered .about ul#badges li a {
  margin-left: 0.3rem;
  margin-right: 0.3rem;
}

/* MEDIA QUERIES */

@media(min-width: 200px) {
    .columned {
        display: block;
        /*width: 100%*/
    }

    body {
        display: block;
        width: 100%
    }

    div.post-meta {
        font-size: 14px;
    }

    .paragraph {
        font-size: 1.9rem;
        line-height: 3rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    li > p {
        margin: 1rem 0 1rem 0;
        color: #3a3838;
        font-size: 1.9rem; /* 1.6rem */
        line-height: 2.5rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    .content article header h1 {
        font-size: 3.0rem;
        line-height: 3.4rem;
    }

    h2 {
        font-size: 2.2rem;
        margin-top: 6rem;
        margin-bottom: 3rem;
    }

    h3 {
        margin: 4rem 0 3.2rem 0;
        font-size: 1.8rem;
        text-transform: uppercase;
    }

    h4 {
        font-size: 2rem;
        line-height: 2rem;
        margin: 0px 0px;
        padding-left: 3rem;
    }

    #tableOfContentContainer {
        display: none;
    }
    
}

@media(min-width: 1000px) {
    
    body {
        display: block;
        width: 100%
    }

    div.post-meta {
        font-size: 16px;
    }

    .paragraph {
        font-size: 1.9rem;
        line-height: 3rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    li > p {
        margin: 1rem 0 1rem 0;
        color: #3a3838;
        font-size: 1.9rem;
        line-height: 2.5rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    .content article header h1 {
        font-size: 4.0rem;
        line-height: 4.4rem;
    }


    h2 {
        font-size: 3.2rem;
        margin-top: 9rem;
        margin-bottom: 5rem;
    }
    
    h3 {
        margin: 4rem 0 3.2rem 0;
        font-size: 1.8rem;
        text-transform: uppercase;
    }
    
    h4 {
        font-size: 2rem;
        line-height: 2rem;
        margin: 0px 0px;
        padding-left: 3rem;
    }


    
    .columned {
        display: grid;
        grid-template-columns: 72rem 41rem;
        /* grid-template-columns: 71rem 38rem; */
    }

    .columned>div {
        margin-left: -4rem;
    }
    
    .columned>aside {
        margin-left: 5rem;
        border-left-width: 4px;
        border-color: #a3bffa
    }

    #tableOfContentContainer {
        display: block;
    }

    .columned>aside.tableOfContentContainer {
        /* position: -webkit-sticky; */
        position: sticky;
        top: 60px;
        align-self: start;

    }

    .columned>aside>h3 {
        font-size: 1.4rem;
        padding-left: .5rem;
        color: #1a202c;
        font-weight: 700;
        padding-bottom: .5rem;
        padding-top: 1rem;
        text-transform: none;
        margin: 0;
    }

    #TableOfContents {
        display: block;
        padding-left: .5rem;
        padding-bottom: 0.4rem;
        font-size: 1.4rem;
        color: #1a202c
    }

    #TableOfContents li {
        list-style: none
    }

    #TableOfContents li.active {
        padding-left: 0
    }

    #TableOfContents li.active:before {
        content: "→";
        display: inline-block;
        margin-left: -20px;
        width: 20px
    }

    #TableOfContents ul {
        margin-left: 1rem!important;
        padding-left: 0.4rem;
    }

    #TableOfContents li ul li {
        margin-left: 1rem;
        line-height: 2rem;
    }

    #TableOfContents li.active>a {
        color: #333;
        font-weight: 500
    }

    #TableOfContents a {
        text-decoration: none;
        padding: .125rem 0;
        color: #a0aec0;
        -webkit-transition: all 50ms ease-in-out;
        transition: all 50ms ease-in-out
    }

    #TableOfContents a:hover,#TableOfContents a:focus,#TableOfContents a:active {
        color: #666
    }
}




@media(min-width: 1600px) {
    
    body {
        display: block;
        width: 100%
    }

    div.post-meta {
        font-size: 16px;
    }

    .paragraph {
        font-size: 1.9rem;
        line-height: 3rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    li > p {
        margin: 1rem 0 1rem 0;
        color: #3a3838;
        font-size: 1.9rem;
        line-height: 2.5rem;
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
        letter-spacing: -0.004em;
    }

    .content article header h1 {
        font-size: 4.0rem;
        line-height: 4.4rem;
    }


    h2 {
        font-size: 3.4rem;
        margin-top: 9rem;
        margin-bottom: 5rem;
    }
    
    h3 {
        margin: 4rem 0 3.2rem 0;
        font-size: 1.8rem;
        text-transform: uppercase;
    }
    
    h4 {
        font-size: 2rem;
        line-height: 2rem;
        margin: 0px 0px;
        padding-left: 3rem;
    }

    .columned {
        display: grid;
        grid-template-columns: 100% 52rem;
        /*width: 100%*/
    }

    .columned>div {
        margin-left: -4rem;
    }
    
    .columned>aside {
        margin-left: 7rem;
        border-left-width: 4px;
        border-color: #a3bffa
    }

    #tableOfContentContainer {
        display: block;
    }

    .columned>aside.tableOfContentContainer {
        /* position: -webkit-sticky; */
        position: sticky;
        top: 60px;
        align-self: start;

    }

    .columned>aside>h3 {
        font-size: 1.4rem;
        padding-left: .5rem;
        color: #1a202c;
        font-weight: 700;
        padding-bottom: .5rem;
        padding-top: 1rem;
        text-transform: none;
        margin: 0;
    }

    #TableOfContents {
        display: block;
        padding-left: .5rem;
        padding-bottom: 0.4rem;
        font-size: 1.4rem;
        color: #1a202c
    }

    #TableOfContents li {
        list-style: none
    }

    #TableOfContents li.active {
        padding-left: 0
    }

    #TableOfContents li.active:before {
        content: "→";
        display: inline-block;
        margin-left: -20px;
        width: 20px
    }

    #TableOfContents ul {
        margin-left: 1rem!important;
        padding-left: 0.4rem;
    }

    #TableOfContents li ul li {
        margin-left: 1rem;
        line-height: 2rem;
    }

    #TableOfContents li.active>a {
        color: #333;
        font-weight: 500
    }

    #TableOfContents a {
        text-decoration: none;

        padding: .125rem 0;
        color: #a0aec0;
        -webkit-transition: all 50ms ease-in-out;
        transition: all 50ms ease-in-out
    }

    #TableOfContents a:hover,#TableOfContents a:focus,#TableOfContents a:active {
        color: #666
    }

}




/*************************************************
 *  Gallery.
 **************************************************/

 .gallery {
    margin: 0.5em -4px 1.5em -4px;
    font-size: 0;
  }
  
  a[data-fancybox] {
    text-decoration: none;
    cursor: zoom-in;
  }
  
  .gallery a[data-fancybox] img {
    height: 250px;
    width: auto;
    max-width: inherit;
    display: inherit;
    margin: 0;
    padding: 4px;
    box-shadow: none;
    vertical-align: inherit;
  }
  
  .fancybox-caption {
    font-size: 1rem;
    line-height: 1.5rem;
    text-align: center;
  }


/*************************************************
 *  Side Projects section
 **************************************************/

.side-projects > h2 {
  margin-top: 6rem;
  margin-bottom: 2.5rem;
  text-transform: none;
  letter-spacing: -0.01em;
}

.side-projects > h2:first-of-type {
  margin-top: 4rem;
}

.side-projects > p {
  font-size: 1.8rem;
  line-height: 2.8rem;
  color: #3a3838;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 0 3rem 0;
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .project-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.project-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 1.2rem;
  padding: 2rem 2.2rem 1.2rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  min-width: 0;
}

.project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: #c8c8c8;
}

.project-card > header.project-card__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.2rem;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.project-card__title-row {
  display: flex;
  align-items: center;
  /* flex-wrap: wrap; */
  gap: 0.8rem;
  min-width: 0;
}

.project-card__icon {
  font-size: 1.8rem;
  color: #555;
  margin-right: 0.2rem;
}

.project-card__title {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.2;
  color: #1a202c;
  text-decoration: none;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  white-space: normal;
}

a.project-card__title:hover {
  color: #2b6cb0;
}

.project-card__title-icon {
  font-size: 1.1rem;
  opacity: 0.55;
}

.project-card__badge {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  line-height: 1.8rem;
}

.project-card__badge--live {
  background: #def7ec;
  color: #03543f;
}

.project-card__badge--wip {
  background: #fef3c7;
  color: #92400e;
}

.project-card__badge--soon {
  background: #e0e7ff;
  color: #3730a3;
}

.project-card__badge--private {
  background: #f3f4f6;
  color: #4b5563;
}

.project-card__releases {
  font-size: 1.1rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.8rem;
  text-decoration: none;
}

.project-card__releases:hover {
  color: #2b6cb0;
}

.project-card__status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.project-card .project-card__tags {
  list-style: none;
  margin: 0.6rem 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.project-card .project-card__tag {
  font-size: 1rem;
  font-weight: 500;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0 0.7rem;
  border-radius: 999px;
  line-height: 1.5rem;
  white-space: nowrap;
  margin: 0;
}

/* Per-tag color variants */
.project-card__tag--go {
  color: #075985;
  background: #e0f2fe;
  border-color: #bae6fd;
}
.project-card__tag--swift,
.project-card__tag--swiftui {
  color: #9a3412;
  background: #ffedd5;
  border-color: #fed7aa;
}
.project-card__tag--macos {
  color: #334155;
  background: #f1f5f9;
  border-color: #cbd5e1;
}
.project-card__tag--kubernetes {
  color: #1e3a8a;
  background: #dbeafe;
  border-color: #bfdbfe;
}
.project-card__tag--cli {
  color: #44403c;
  background: #f5f5f4;
  border-color: #e7e5e4;
}
.project-card__tag--lima {
  color: #115e59;
  background: #ccfbf1;
  border-color: #99f6e4;
}
.project-card__tag--opa {
  color: #3730a3;
  background: #e0e7ff;
  border-color: #c7d2fe;
}
.project-card__tag--web-ui,
.project-card__tag--web {
  color: #5b21b6;
  background: #ede9fe;
  border-color: #ddd6fe;
}
.project-card__tag--terraform {
  color: #6b21a8;
  background: #f3e8ff;
  border-color: #e9d5ff;
}
.project-card__tag--gcp,
.project-card__tag--gcs,
.project-card__tag--cloud-run,
.project-card__tag--cloud-functions {
  color: #1d4ed8;
  background: #eff6ff;
  border-color: #dbeafe;
}
.project-card__tag--keycloak {
  color: #991b1b;
  background: #fee2e2;
  border-color: #fecaca;
}
.project-card__tag--homebrew {
  color: #854d0e;
  background: #fef9c3;
  border-color: #fef08a;
}
.project-card__tag--service-mesh {
  color: #0f766e;
  background: #ccfbf1;
  border-color: #99f6e4;
}
.project-card__tag--pki,
.project-card__tag--mtls {
  color: #9f1239;
  background: #ffe4e6;
  border-color: #fecdd3;
}
.project-card__tag--javascript {
  color: #854d0e;
  background: #fef9c3;
  border-color: #fde68a;
}
.project-card__tag--chrome-extension {
  color: #b91c1c;
  background: #fef2f2;
  border-color: #fecaca;
}
.project-card__tag--slack {
  color: #6b21a8;
  background: #faf5ff;
  border-color: #e9d5ff;
}
.project-card__tag--identity,
.project-card__tag--saas {
  color: #3730a3;
  background: #eef2ff;
  border-color: #c7d2fe;
}
.project-card__tag--e2e-encryption {
  color: #166534;
  background: #dcfce7;
  border-color: #bbf7d0;
}

.project-card__body {
  font-size: 1.5rem;
  line-height: 2rem;
  color: #3a3838;
  flex: 1 1 auto;
}

.project-card__body p {
  margin: 0 0 0.6rem 0;
  font-size: 1.5rem;
  line-height: 2rem;
}

.project-card__body p:last-child {
  margin-bottom: 0;
}

.project-card__body code {
  font-size: 1.3rem;
  padding: 0.1rem 0.4rem;
  background: #f3f4f6;
  border-radius: 0.3rem;
}

.project-card__body a {
  white-space: normal;
}

.project-card > footer.project-card__footer {
  margin-top: 0.6rem;
  margin-bottom: 0;
  padding-top: 0.4rem;
  border-top: 1px dashed #e3e3e3;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex-wrap: wrap; /* Controls how they behave when space is tight */
}

.project-card__link {
  font-size: 1.3rem;
  color: #4a5568;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-card__link:hover {
  color: #1a202c;
}

/* Cookie Notice */
#cookie-notice {font-size: larger; padding: 0.5rem 1rem; display: none;
  text-align: center; position: fixed; bottom: 0; padding-top: 40px;
  padding-bottom: 40px; width: 100%; background: rgb(70, 70, 70);
  color: rgba(255,255,255,0.8);}
  
#cookie-notice a {font-weight: 600; display: inline-flex; cursor: pointer; margin-left: 0.5rem;}
#cookie-notice-accept {color:rgb(86, 228, 58)}
#cookie-notice-deny {color:rgb(243, 34, 34)}
@media (max-width: 767px) {
    #cookie-notice span {display: block; padding-top: 3px; margin-bottom: 1rem;}
    #cookie-notice a {position: relative; bottom: 4px;}
    #cookie-notice {left: 0px;}
}
  
/* Comparison tables: [.versus] on an AsciiDoc table */
table.versus {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
  font-size: .92em;
  margin: 1.5rem 0;
}
table.versus th, table.versus td { padding: .7rem .9rem; vertical-align: top; text-align: left; }
table.versus thead th { color: #fff; font-weight: 700; letter-spacing: .02em; }
table.versus thead th:nth-child(1) { background: #343a40; }
table.versus thead th:nth-child(2) { background: #24292f; }
table.versus thead th:nth-child(3) { background: #7048e8; }
table.versus tbody td { border-top: 1px solid #e9ecef; }
table.versus tbody td:nth-child(1) { background: #f8f9fa; font-weight: 600; color: #343a40; white-space: nowrap; }
table.versus tbody td:nth-child(2) { background: #fff; }
table.versus tbody td:nth-child(3) { background: #f8f6ff; }
table.versus tbody tr:hover td { background: #fff9db; }
table.versus p { margin: 0; }
table.versus .better {
  display: inline-block;
  margin-right: .4rem;
  padding: 0 .45rem;
  border-radius: 999px;
  font-size: .72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.6;
  vertical-align: .1em;
  color: #0b7a3e;
  background: #d3f9d8;
}
@media (max-width: 700px) {
  table.versus tbody td:nth-child(1) { white-space: normal; }
}

/* Home tagline: one line on wide screens, one part per line below 900px */
.about h2.tagline { white-space: nowrap; }
.about .tagline__part { white-space: nowrap; }
@media (max-width: 900px) {
  .about h2.tagline { white-space: normal; }
  .about .tagline__part { display: block; }
  .about .tagline__sep { display: none; }
}

/* Post footer: tag list and related posts */
.post-tags { margin: 3rem 0 1rem; font-size: 1.5rem; }
.post-tags__label { font-weight: 700; margin-right: .5rem; }
.post-tags .post-tags__tag {
  display: inline-block;
  margin: 0 .5rem .5rem 0;
  padding: .1rem .9rem;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  text-decoration: none;
}
.post-tags .post-tags__tag:hover { background: #f1f3f5; }
.related-posts { margin: 2rem 0 3rem; }
.related-posts h3 { font-size: 1.8rem; margin-bottom: .5rem; }
.related-posts ul { margin: 0; padding-left: 2rem; }
.related-posts li { margin: .3rem 0; }
.related-posts__date { color: #868e96; font-size: .85em; }

/* Lightbox for the figure shortcode (static/js/lightbox.js) */
dialog.lightbox {
  max-width: 95vw;
  max-height: 95vh;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, .85); }
dialog.lightbox figure { margin: 0; text-align: center; }
dialog.lightbox img { max-width: 90vw; max-height: 85vh; display: block; margin: 0 auto; }
dialog.lightbox figcaption { color: #f1f3f5; margin-top: .8rem; font-size: 1.5rem; }
dialog.lightbox button {
  position: fixed;
  border: 0;
  background: rgba(0, 0, 0, .4);
  color: #fff;
  font-size: 3.2rem;
  line-height: 1;
  padding: .4rem 1.2rem;
  cursor: pointer;
}
dialog.lightbox .lightbox-close { top: 1rem; right: 1rem; }
dialog.lightbox .lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
dialog.lightbox .lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
dialog.lightbox button[hidden] { display: none; }

/* Search page (Pagefind UI) */
#search { margin-top: 2rem; --pagefind-ui-primary: #1565c0; --pagefind-ui-font: inherit; }

/* About page photo */
.about-photo img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
}

/* About page: space around the closing "Back to posts" link */
.about-back {
    margin-top: 6rem;
    margin-bottom: 8rem;
}

/* Navigation bar: sticky, translucent, underline on hover and on the current section */
:root {
    --nav-accent: #c2410c;
}

html {
    scroll-padding-top: 7rem;
}

.navigation {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: rgba(250, 250, 250, 0.85);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.navigation--home {
    position: static;
    background-color: transparent;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border-bottom: 0;
    box-shadow: none;
}

.navigation .navigation-title {
    position: relative;
    padding-left: 1.4rem;
}

.navigation .navigation-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 0.5rem;
    height: 1.8rem;
    transform: translateY(-50%);
    background-color: var(--nav-accent);
    border-radius: 0.2rem;
}

.navigation a:hover,
.navigation a:focus {
    text-decoration: none;
}

.navigation .navigation-list .navigation-item a.navigation-link {
    position: relative;
    display: inline-block;
    transition: color 0.2s;
}

.navigation .navigation-list .navigation-item a.navigation-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.2rem;
    height: 2px;
    background-color: var(--nav-accent);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease-out;
}

.navigation .navigation-list .navigation-item a.navigation-link:hover::after,
.navigation .navigation-list .navigation-item a.navigation-link:focus-visible::after,
.navigation .navigation-list .navigation-item a.navigation-link.is-active::after {
    transform: scaleX(1);
}

.navigation .navigation-list .navigation-item a.navigation-link:hover,
.navigation .navigation-list .navigation-item a.navigation-link:focus-visible,
.navigation .navigation-list .navigation-item a.navigation-link.is-active,
.navigation .navigation-title:hover,
.navigation .navigation-title:focus-visible,
.navigation .menu-button:hover {
    color: var(--nav-accent);
}

@media only screen and (max-width: 768px) {
    .navigation .navigation-list {
        background-color: rgba(250, 250, 250, 0.97);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.06);
    }

    .navigation .navigation-list .navigation-item a.navigation-link::after {
        bottom: 0.9rem;
    }
}

.navigation .menu-button svg {
    display: block;
    height: 6rem;
}
