html,body {
  height:100vh;
  padding:0;
  margin:0;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  align-items:center;
  height: 100vh;
}

.jumbotron__content {
  grid-area: 1 / 1 / 2 / 2;
  width: 60%;
  margin: auto;
}

@media (max-width: 600px){
  .jumbotron__content {
    grid-area: 1 / 1 / 2 / 2;
    width: 90%;
    margin: auto;
  }
}

.jumbotron__title {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 0;
}

.jumbotron__description {
  margin-top: 0;
  font-size: 18px;

}

a, a:visited {
  color: white;
  background-color: #5f5886;
  text-decoration: none;
}

.jumbotron__medialinks {
  margin-top: 20px;
  list-style: none;
  padding-left: 0;
}

.jumbotron__medialink-item {
  float: left;
  margin-right:10px;
}

#content{
    max-width: 60%;
    margin: auto;
}

#postamble{
    max-width: 60%;
    margin:auto;
}

@media (max-width: 600px){
    #content{
        max-width: 80%;
        margin: auto;
    }

    #postamble{
        max-width: 80%;
        margin:auto;
    }
}

.figure * img{
    width: 90%;
}

#content * a{
    text-decoration: underline;
    text-underline-position: under;
}

.links-nav {
  margin-top: 2em;
}
.links-nav a {
  text-decoration: underline;
  }
.links-nav ol {
  list-style: none;
  padding: 0;
  }

.links-nav ol li{
  /* list-style-position: outside; */
  line-height: 1.5em;
  }

.main-nav ol{
  list-style: none;
  padding: 0;
}

.post-footer {
  text-align: center;
  margin-top: 5em;
  padding: 1em;
  border-top: 1px solid black;
}

.highlight-primary {
  background-color: #d5deaa;
}

.highlight-secondary {
  background-color: #5f5886;
  color: white;
}


@font-face {
  font-family: 'pp_right_serif_monofine';
  src: url('/fonts/pprightserifmono-fine-webfont.woff2') format('woff2'),
       url('/fonts/pprightserifmono-fine-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'pp_right_serif_monoregular';
  src: url('/fonts/pprightserifmono-regular-webfont.woff2') format('woff2'),
       url('/fonts/pprightserifmono-regular-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}




@font-face {
  font-family: 'pp_right_serif_monodark';
  src: url('/fonts/pprightserifmono-dark-webfont.woff2') format('woff2'),
       url('/fonts/pprightserifmono-dark-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}

.wedding>h1 {
  font-family: 'pp_right_serif_monodark';
  font-size: 5em;
  color: #5f5886;
}

.wedding>h2 {
  font-family: 'pp_right_serif_monoregular';
  color: #5f5886;
  margin-bottom: 0.3em;
}

.wedding-gallery {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wedding-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.wedding-gallery__item {
  display: block;
  overflow: hidden;
  border-radius: 0.75rem;
  background: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border: none;
  padding: 0;
  cursor: pointer;
}

.wedding-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 200ms ease-out;
  display: block;
}

.wedding-gallery__item:hover img,
.wedding-gallery__item:focus img {
  transform: scale(1.04);
}

.wedding-gallery__item:focus-visible {
  outline: 3px solid rgba(95, 88, 134, 0.4);
  outline-offset: 2px;
}

.wedding-gallery__pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
  font-family: 'pp_right_serif_monoregular';
  margin-bottom: 1rem;
}

.wedding-gallery__pager-button {
  background: none;
  border: 1px solid #5f5886;
  border-radius: 2rem;
  padding: 0.35rem 1.1rem;
  margin-bottom: 0;
  color: #5f5886;
  font-size: 1rem;
  cursor: pointer;
  transition: background 120ms ease-out;
}

.wedding-gallery__pager-button:hover:not(:disabled),
.wedding-gallery__pager-button:focus-visible:not(:disabled) {
  background: rgba(95, 88, 134, 0.1);
}

.wedding-gallery__pager-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wedding-gallery__pager-status {
  color: #5f5886;
  white-space: nowrap;
}

.wedding-gallery__empty {
  margin-top: 2rem;
  font-style: italic;
}

.wedding-gallery__noscript {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #5f5886;
}

.wedding-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 150ms ease-out;
  z-index: 1000;
}

.wedding-lightbox.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.wedding-lightbox__backdrop {
  position: absolute;
  inset: 0;
}

.wedding-lightbox__dialog {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  max-width: min(90vw, 1200px);
  width: 100%;
  max-height: 90vh;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wedding-lightbox__media {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.wedding-lightbox__image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wedding-lightbox__caption {
  margin: 0;
  text-align: center;
  font-family: 'pp_right_serif_monoregular';
  color: #5f5886;
}

.wedding-lightbox__close {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.6rem;
  cursor: pointer;
  color: #5f5886;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wedding-lightbox__close:hover,
.wedding-lightbox__close:focus-visible {
  background: #fff;
}

.wedding-lightbox__nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.wedding-lightbox__nav-button {
  border: 1px solid #5f5886;
  border-radius: 999px;
  padding: 0.5rem 1.25rem;
  background: none;
  color: #5f5886;
  cursor: pointer;
  font-size: 1.1rem;
}

.wedding-lightbox__nav-button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/*
.wedding>p,.wedding.li {
  font-family: "Open Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
  */
