/* Additive styles for new sections — does not modify the site's existing style.css */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}
.gallery figure { margin: 0; }
.gallery img {
  width: 100%;
  height: auto;
  display: block;
  border: 10px solid tan;
  border-radius: 3px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}
.gallery figcaption {
  font-size: 0.55em;
  text-align: center;
  margin-top: 8px;
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: #5b4636;
}

.nav-row {
  text-align: center;
  margin: 10px 0 34px;
  font-size: 0.72em;
  letter-spacing: 0.05em;
  font-variant: small-caps;
}
.nav-row a { margin: 0 12px; white-space: nowrap; }

.hero-img {
  width: 100%;
  max-width: 560px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 26px rgba(0,0,0,0.24);
  margin: 10px 0 26px;
  display: block;
}
.hero-caption {
  font-size: 0.6em;
  font-style: italic;
  color: #5b4636;
  margin-top: -18px;
  margin-bottom: 26px;
}

.card-list { margin: 30px 0; padding: 0; list-style: none; }
.card-list li {
  border-top: 1px solid rgba(128,0,32,0.25);
  padding: 18px 0;
}
.card-list h3 { margin: 0 0 6px; font-size: 0.95em; font-style: italic; font-weight: normal; }
.card-list p { margin: 0 0 6px; }

.pull-quote {
  font-style: italic;
  border-left: 3px solid #800020;
  padding-left: 18px;
  margin: 26px 0;
}

/* ---- Site shell: left-hand column (logo, blurb, nav) + main column ---- */

body {
  max-width: none;
  padding: 20px 40px;
}


.site-shell {
  display: flex;
  align-items: flex-start;
  gap: 0;
  max-width: 1360px;
  margin: 0 auto;
}

.side-col {
  width: 190px;
  flex: 0 0 190px;
  padding: 40px 22px 40px 0;
  box-sizing: border-box;
}

.side-col .side-logo {
  width: 64px;
  height: 64px;
  margin: 0 0 16px;
  display: block;
}

.side-col .side-blurb {
  font-size: 0.62em;
  line-height: 1.55;
  color: #5b4636;
  margin: 0 0 26px;
  font-style: italic;
}

.side-nav {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(128,0,32,0.25);
}
.side-nav::before,
.side-nav::after {
  content: '';
  position: absolute;
  top: -4px;
  width: 7px;
  height: 7px;
  background: #800020;
  opacity: 0.55;
  transform: rotate(45deg);
}
.side-nav::before { left: -4px; }
.side-nav::after { right: -4px; }
.side-nav li { margin: 0 0 6px; }
.side-nav a {
  font-size: 0.92em;
  letter-spacing: 0.04em;
  font-variant: small-caps;
  white-space: normal;
}
.side-nav a.current { color: #2a2117; border-bottom: 1px solid #800020; }

.main-col {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1120px;
  padding: 40px 20px 40px 32px;
  border-left: 1px solid rgba(128,0,32,0.18);
  box-sizing: border-box;
}
.main-col::before,
.main-col::after {
  content: '';
  position: absolute;
  left: -4px;
  width: 7px;
  height: 7px;
  background: #800020;
  opacity: 0.55;
  transform: rotate(45deg);
}
.main-col::before { top: -4px; }
.main-col::after { bottom: -4px; }

@media (max-width: 760px) {
  .site-shell { flex-direction: column; max-width: 600px; padding: 0 12px; }
  .side-col {
    width: auto;
    flex: none;
    padding: 24px 0 18px;
    display: flex;
    align-items: center;
    gap: 16px;
  }
  .side-col .side-logo { width: 44px; height: 44px; margin: 0; flex-shrink: 0; }
  .side-col .side-blurb { display: none; }
  .side-nav {
    border-top: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
  }
  .side-nav::before, .side-nav::after { display: none; }
  .side-nav li { margin: 0; }
  .main-col { max-width: none; padding: 0 0 30px; border-left: none; }
  .main-col::before, .main-col::after { display: none; }
}

/* ---- Shared photo frames + draggable photo stacks ----
   One shared component (this CSS + assets/js/photo-stack.js) used on every
   page across both sites, styled to match the original tan-bordered photo
   frames from thedirtygentleman.com's homepage. ---- */

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 54px;
  justify-content: flex-end;
  margin: 40px 0;
}

.photo-stack {
  position: relative;
  width: 300px;
  height: 260px;
  flex: 0 0 auto;
}

.photo-stack.single { width: 220px; height: 170px; }

.gilded-frame {
  position: absolute;
  width: 210px;
  height: 150px;
  box-sizing: border-box;
  border: 12px solid tan;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: grab;
  transform: rotate(var(--rot, 0deg));
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gilded-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-position: center;
}

.gilded-frame:hover {
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  transform: scale(1.02);
}

.gilded-frame:active { cursor: grabbing; }

.photo-stack.single .gilded-frame {
  position: static;
  margin: 0 auto;
}

/* Larger stack variant, matching the original 300x200 homepage photo size */
.photo-stack.large { width: 370px; height: 270px; }
.photo-stack.large .gilded-frame { width: 300px; height: 200px; }

/* ---- Object-list: bulleted object descriptions on detail pages ---- */

.object-list {
  list-style: none;
  margin: 22px 0;
  padding: 0;
}
.object-list li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 22px;
}
.object-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: #800020;
  opacity: 0.55;
  transform: rotate(45deg);
}

.entry-meta {
  font-size: 0.68em;
  letter-spacing: 0.04em;
  font-variant: small-caps;
  color: #7a6a55;
  margin: 26px 0 4px;
}

.site-notice {
  color: #6b5f52;
  font-size: 80%;
}

/* Cap the readable line length: .main-col itself stays wide enough to host
   a photo stack alongside the text, but the text elements themselves stop
   at a comfortable reading width. */
.main-col > p,
.main-col > h1,
.main-col > h2,
.main-col > h3,
.main-col > ul:not(.card-list),
.main-col > .pull-quote {
  max-width: 600px;
}
