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

/**
 * Basic 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: #111;
  background-color: #fdfdfd;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited {
  color: rgb(22.9483471074, 86.2541322314, 168.5516528926);
}
a:hover {
  color: #111;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #828282;
  border-left: 4px solid #e8e8e8;
  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 #e8e8e8;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

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

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

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(62.9, 62.9, 62.9);
  border-collapse: collapse;
  border: 1px solid #e8e8e8;
}
table tr:nth-child(even) {
  background-color: rgb(247.3, 247.3, 247.3);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(239.65, 239.65, 239.65);
  border: 1px solid rgb(221.8, 221.8, 221.8);
  border-bottom-color: rgb(201.4, 201.4, 201.4);
}
table td {
  border: 1px solid #e8e8e8;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid rgb(66.25, 66.25, 66.25);
  border-bottom: 1px solid #e8e8e8;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: rgb(66.25, 66.25, 66.25);
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #111;
  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: #fdfdfd;
    border: 1px solid #e8e8e8;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: rgb(66.25, 66.25, 66.25);
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #e8e8e8;
  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: #828282;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #828282;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  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: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.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: #099;
}

body {
  font-family: "Literata", serif;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #1f1f1f;
  scroll-behavior: smooth;
}

.post-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

.post-preview {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 1.5rem;
}

.post-excerpt {
  color: #555;
  line-height: 1.6;
}

.read-more {
  font-weight: bold;
  text-decoration: none;
  color: #222;
}

.read-more:hover {
  text-decoration: underline;
}

img {
  border-radius: 8px;
}

body.page-notes .page-content,
body.page-stories .page-content,
body.page-film-roll .page-content {
  padding-top: 1rem;
}

.layout-home .page-content,
.home .page-content,
.page-content {
  padding-top: 1rem !important;
  padding-bottom: 0.5rem !important;
}

.layout-home .home,
body .home,
.wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.post-header {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0.125rem !important;
}

.post-meta {
  margin-bottom: 0.125rem !important;
}

.post-content {
  margin-bottom: 0.5rem !important;
}

body.page-notes .home,
body.page-stories .home,
body.page-film-roll .film-roll-page {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 0;
}

body.page-notes .home > p:first-child,
body.page-stories .home > p:first-child,
body.page-film-roll .film-roll-page > p:first-child {
  margin-top: 0;
}

.filter-description {
  font-family: "Literata", serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 1rem;
  margin-top: 0;
}

.post-preview h2 {
  margin-bottom: 0.25rem;
}

.post-meta {
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-link.active {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}

.site-nav .page-link[href="/notes/"]:focus,
.site-nav .page-link[href="/notes/"].current,
body.page-notes .site-nav .page-link[href="/notes/"] {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}

.site-nav .page-link[href="/stories/"]:focus,
.site-nav .page-link[href="/stories/"].current,
body.page-stories .site-nav .page-link[href="/stories/"] {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}

.site-nav .page-link[href="/film-roll/"]:focus,
.site-nav .page-link[href="/film-roll/"].current,
body.page-film-roll .site-nav .page-link[href="/film-roll/"] {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}

.site-nav .page-link[href="/origin_story/"]:focus,
.site-nav .page-link[href="/origin_story/"].current,
body.page-origin-story .site-nav .page-link[href="/origin_story/"] {
  font-weight: bold;
  color: #222;
  text-decoration: underline;
}

/* --- Photo with caption --- */
.photo-caption {
  margin: 1.5rem 0;
  text-align: center;
}

.photo-caption img {
  margin-bottom: 0.5rem;
  width: 100%;
  border-radius: 8px;
}

.photo-caption .caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #666;
  font-style: italic;
  display: block;
  margin-top: 0.5rem;
}

/* --- Side by side photos --- */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0;
}

.photo-grid img {
  width: 100%;
  border-radius: 8px;
}

.photo-grid .caption {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #666;
  font-style: italic;
  text-align: center;
  margin-top: 0.5rem;
}

/* Stack photos on mobile */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}
/* --- Keep nav pushed to the right --- */
.site-header .wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between; /* pushes nav (Origin Story) to right */
}

/* Group title + tagline together */
.brand {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

/* Keep nav looking normal */
.site-nav {
  margin-left: auto;
}

/* Title */
.site-title {
  margin: 0;
  padding: 0;
  line-height: 1;
  display: inline;
  font-weight: 600;
  vertical-align: baseline;
}

/* Tagline */
.tagline {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #666;
  letter-spacing: -0.01em;
  margin-left: 0.45rem;
  text-transform: lowercase;
  position: relative;
  top: 1px; /* tweak for optical alignment */
}

/* On small screens, stack neatly */
@media (max-width: 560px) {
  .brand {
    flex-direction: column;
    align-items: flex-start;
  }
  .tagline {
    margin-left: 0;
    margin-top: 0.2rem;
    top: 0;
  }
  /* Ensure nav links are visible on mobile */
  .site-nav .page-link {
    display: block;
    padding: 10px;
    color: #111 !important;
  }
}
.site-footer {
  text-align: center;
  border-top: 1px dashed #999;
  padding: 1.5rem 0;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #666;
}

.site-nav .page-link {
  font-size: 0.9rem;
}

@media screen and (max-width: 768px) {
  .site-nav .page-link {
    font-size: 0.85rem;
  }
}
.site-footer .social {
  margin-top: 0.5rem;
}

.newsletter-note {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #888;
}

.newsletter-toggle {
  color: #888;
  text-decoration: none;
  cursor: pointer;
}

.newsletter-toggle:hover {
  color: #111;
  text-decoration: underline;
}

.newsletter-form-container {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px dashed #ccc;
}

.icon-instagram,
.icon-substack {
  width: 22px;
  height: 22px;
  opacity: 0.8;
  transition: opacity 0.2s;
  vertical-align: middle;
}

.icon-instagram:hover,
.icon-substack:hover {
  opacity: 1;
}

/* --- buttondown form styling --- */
.bd-form {
  margin-top: 1rem;
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  text-transform: lowercase;
}

.bd-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  color: #111;
}

.bd-form .row {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.bd-form input[type=email] {
  padding: 0.5rem 0.6rem;
  border: 1px solid #111;
  background: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  min-width: 240px;
}

.bd-form button {
  padding: 0.5rem 0.8rem;
  border: 1px solid #111;
  background: linear-gradient(#fff, #f6f6f6);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.1);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
}

.bd-form button:hover {
  text-decoration: underline dotted;
}

.bd-note {
  display: block;
  margin-top: 0.4rem;
  color: #666;
  font-size: 0.72rem;
}

/* Buttondown button text visibility fix */
.bd-form button,
.buttondown-button {
  color: #000 !important;
  font-size: 16px !important;
  padding: 12px 24px !important;
}

/* Mobile specific button fix */
@media (max-width: 768px) {
  .bd-form button,
  .buttondown-button {
    color: #000 !important;
    font-size: 16px !important;
  }
}
/* Subtle CTA at top of posts */
.post-cta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.8rem;
  color: #888;
  text-align: center;
  margin: 1.5rem 0 2rem 0;
  padding: 0.75rem 1rem;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
}

.post-cta a {
  color: #666;
  text-decoration: none;
  border-bottom: 1px dotted #999;
}

.post-cta a:hover {
  color: #111;
  border-bottom: 1px solid #111;
}

.film-roll-page-header {
  text-align: center;
  margin-bottom: 3rem;
}
.film-roll-page-header h1 {
  font-family: "JetBrains Mono", monospace;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.film-roll-page-header .film-roll-intro {
  color: #666;
  font-style: italic;
}

.film-roll-grid {
  max-width: 1400px;
  margin: 0 auto;
}

.film-roll-item {
  margin: 0 0 1rem 0;
  padding: 0;
  position: relative;
}
.film-roll-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}
.film-roll-item .image-number {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  color: #999;
  display: block;
  margin-bottom: 0.5rem;
  text-decoration: none;
}
.film-roll-item .image-number:hover {
  color: #666;
  text-decoration: underline;
}
.film-roll-item .caption {
  color: #666;
  line-height: 1.5;
  margin: 0.75rem auto 0.5rem auto;
  font-style: italic;
  font-size: 0.85rem;
  text-align: center;
  max-width: 100%;
  display: block;
}
.film-roll-item .image-meta {
  color: #888;
  line-height: 1.5;
  margin: 0.5rem auto 0.5rem auto;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.75rem;
  text-align: center;
  max-width: 100%;
  display: block;
}
.film-roll-item .download-link {
  text-align: center;
  margin: 0.5rem auto 2rem auto;
}
.film-roll-item .download-link .full-res-download {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #888;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
}
.film-roll-item .download-link .full-res-download:hover {
  color: #333;
  text-decoration: underline;
}

@media screen and (max-width: 768px) {
  .film-roll-item {
    margin-bottom: 3rem;
  }
  .film-roll-item img {
    border-radius: 2px;
  }
  .film-roll-item figcaption.image-meta {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
}
.post-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  background: #f5f5f5;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: lowercase;
  margin-left: 0.5rem;
}

.tag-stories {
  background: #e3f2fd;
  color: #1976d2;
}

.tag-notes {
  background: #f3e5f5;
  color: #7b1fa2;
}

.tag-filmroll {
  background: #e8f5e8;
  color: #388e3c;
}

.nav-filter.active {
  font-weight: bold;
  text-decoration: underline;
}

.film-roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 1.5rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .film-roll-grid {
    grid-template-columns: 1fr;
    grid-gap: 1rem;
  }
}
.film-roll-image {
  margin: 0;
  position: relative;
}
.film-roll-image img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.film-roll-image img:hover {
  transform: scale(1.02);
}
.film-roll-image figcaption {
  font-style: italic;
  font-size: 0.9rem;
  color: #666;
  margin-top: 0.5rem;
}

.film-roll-nav {
  border-top: 1px solid #e5e5e5;
  padding-top: 2rem;
  margin-top: 3rem;
}
.film-roll-nav .nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.film-roll-nav a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
}
.film-roll-nav a:hover {
  color: #333;
  text-decoration: underline;
}

.lightbox,
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: -10px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  line-height: 1;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.film-roll-item img {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.film-roll-item img:hover {
  opacity: 0.9;
}

/* Tag system styles */
.post-tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 12px;
  margin-left: 8px;
  text-transform: lowercase;
}

.tag-notes {
  background-color: #e3f2fd;
  color: #1565c0;
}

.tag-stories {
  background-color: #f3e5f5;
  color: #7b1fa2;
}

.tag-filmroll {
  background-color: #e8f5e8;
  color: #2e7d32;
}

.tag-origin {
  background-color: #fff3e0;
  color: #ef6c00;
}

/* Navigation styles */
.nav-filter.active {
  font-weight: bold;
  color: #222;
}

.nav-filter {
  text-decoration: none;
}

.nav-filter:hover {
  text-decoration: underline;
}

/* Film roll specific styles */
.film-roll-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.film-roll-image {
  margin: 0;
}
.film-roll-image img {
  width: 100%;
  height: auto;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.film-roll-image img:hover {
  opacity: 0.9;
}
.film-roll-image figcaption {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

.film-roll-nav {
  margin: 2rem 0;
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
}
.nav-links a:hover {
  color: #222;
  text-decoration: underline;
}

/* Lightbox styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .film-roll-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
  }
  .post-tag {
    display: block;
    margin-top: 4px;
    margin-left: 0;
    width: fit-content;
  }
}

/*# sourceMappingURL=main.css.map */