/*
Theme Name: jerkwithacamera-2026
Theme URI: https://jerkwithacamera.com
Author: Reilly
Description: Custom photography portfolio theme for jerkwithacamera.com
Version: 15.2.27
License: GNU General Public License v2 or later
*/

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
  --accent: #ff9000;
  --black: #000000;
  --white: #ffffff;
  --gray-light: #afafaf;
  --gray-border: #e0e0e0;
  --font-typewriter: 'American Typewriter', 'Courier New', Georgia, serif;
  --font-body: Verdana, Geneva, Tahoma, sans-serif;

  /* Fluid base font size */
  --base: 1rem; /* ~16px */

  /* Z-index scale */
  --z-grid-overlay: 2;
  --z-dropdown:     1000;
  --z-overlay:      9999;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--base);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  font-weight: bold;
  text-decoration: none;
}

/* Preserve user-set bold links on hover */
a strong, strong a {
  font-weight: bold;
}

/* ============================================================
   TYPOGRAPHY SCALE (relative, not hard-coded)
   ============================================================ */

/* American Typewriter elements */
.site-title,
.site-nav,
.site-footer,
.post-title,
.page-title,
.entry-date,
.sidebar-widget-title,
.archive-page-title,
.pagination {
  font-family: var(--font-typewriter);
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: -0.01em;
}

.post-title {
  font-size: 1.4rem;
  font-weight: bold;
  line-height: 1.2;
  text-transform: lowercase;
  color: var(--black);
}

.post-title a {
  color: var(--black);
  font-weight: bold;
}

.post-title a:hover {
  color: var(--accent);
}

.entry-date {
  font-size: 0.7rem;
  color: var(--gray-light);
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 1.2rem;
}

.sidebar-widget-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  text-transform: lowercase;
}

.archive-page-title {
  font-size: 1rem;
  font-weight: bold;
  text-transform: lowercase;
  width: 70%;
  margin: 0 auto;
  padding: 0.6rem 0 0.8rem 0;
  display: block;
}

/* Body typography */
.entry-content {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--black);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-body);
  font-weight: bold;
  color: var(--black);
  margin: 1.5em 0 0.5em;
}

.entry-content h2 { font-size: 1rem; }
.entry-content h3 { font-size: 0.9rem; }

.entry-content p {
  margin-bottom: 1em;
}

.entry-content ul,
.entry-content ol {
  margin: 0.5em 0 1em 1.5em;
}

.entry-content li {
  font-size: 0.8rem;
  margin-bottom: 0.2em;
}

.entry-content ul li::marker {
  color: var(--black);
}

/* Image captions */
.wp-caption-text,
figcaption,
.entry-content .wp-element-caption {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.7rem;
  color: var(--gray-light);
  text-transform: lowercase;
  margin-top: 0.3rem;
  text-align: left;
  width: 95%;
  margin-left: auto;
  margin-right: auto;
}

/* Pullquote / blockquote — fix double border from WP block nesting */
.entry-content blockquote {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: bold;
  color: var(--accent);
  text-align: center;
  width: 70%;
  margin: 1.5em auto;
  padding: 0.8em 0;
  border-top: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  font-size: 1rem;
  line-height: 1.5;
}

/* WP pullquote block wraps a blockquote — remove inner borders to avoid doubling */
.entry-content .wp-block-pullquote {
  border: none;
  padding: 0;
  margin: 1.5em auto;
  width: 70%;
}

.entry-content .wp-block-pullquote blockquote {
  width: 100%;
  margin: 0 auto;
}

.entry-content blockquote p,
.entry-content .wp-block-pullquote p {
  margin: 0;
  color: var(--accent);
}

/* Details / summary styling */
.entry-content details {
  margin: 0.5em 0 1em 0;
}

.entry-content summary {
  font-weight: bold;
  font-size: 0.875rem;
  cursor: pointer;
  list-style: none;
  padding-left: 1.2em;
  position: relative;
}

.entry-content summary::before {
  content: '▼';
  position: absolute;
  left: 0;
  font-size: 0.6em;
  top: 0.3em;
}

.entry-content details[open] summary::before {
  content: '▼';
}

.entry-content details > *:not(summary) {
  font-size: 0.8rem;
  padding-left: 1.2em;
  margin-top: 0.3em;
}

/* ============================================================
   LAYOUT WRAPPER
   ============================================================ */
.site-wrapper {
  margin: 0 auto;
  padding: 0 15%;
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header {
  padding: 1rem 0 0.8rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.site-title {
  list-style: none;
}

.site-title a,
.site-title a:link,
.site-title a:visited,
.site-title a:hover,
.site-title a:active,
.site-title a:focus {
  color: var(--black) !important;
  font-weight: bold;
  text-decoration: none;
  outline: none;
}

.site-nav {
  font-size: 0.8rem;
  font-weight: normal;
  position: relative;
}

/* ── Top-level list ── */
.site-nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  position: relative;
}

/* Pipe separators between top-level items only */
.site-nav > ul > li {
  position: relative;
  display: flex;
  align-items: center;
}

.site-nav > ul > li + li::before {
  content: ' | ';
  color: var(--black);
  margin: 0 0.3em;
  /* Make sure the pipe doesn't interfere with dropdown positioning */
  pointer-events: none;
}

.site-nav ul li a {
  color: var(--black);
  text-decoration: none;
  font-family: var(--font-typewriter);
  white-space: nowrap;
  display: block;
  padding: 0.15rem 0;
}

.site-nav ul li a:hover,
.site-nav ul li.current-menu-item > a,
.site-nav ul li.current-menu-ancestor > a {
  color: var(--accent);
  font-weight: bold;
}

/* ── Dropdown base (1st level sub-menu) ── */
.site-nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-top: 2px solid var(--accent);
  list-style: none;
  min-width: 200px;
  z-index: var(--z-dropdown);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  /* Remove pipe separators inside dropdowns */
}

.site-nav ul ul li {
  display: block;
  position: relative;
}

/* No pipes inside dropdowns */
.site-nav ul ul li + li::before {
  content: none;
}

.site-nav ul ul li a {
  padding: 0.45rem 0.9rem;
  display: block;
  color: var(--black);
  font-size: 0.75rem;
  border-bottom: 1px solid var(--gray-border);
}

.site-nav ul ul li:last-child a {
  border-bottom: none;
}

.site-nav ul ul li a:hover {
  color: var(--accent);
  font-weight: bold;
  background: var(--white);
}

/* ── Fly-out (2nd level sub-menu) ── */
.site-nav ul ul ul {
  top: -2px; /* align with parent item, accounting for accent border */
  left: 100%;
  border-top: 2px solid var(--accent);
}

/* ── 3rd level fly-out ── */
.site-nav ul ul ul ul {
  top: -2px;
  left: 100%;
  border-top: 2px solid var(--accent);
}

/* ── Flip dropdowns that would fall off the right edge ── */
/* Applied via JS — see nav-dropdown.js */
.site-nav ul ul.flip-left,
.site-nav ul ul ul.flip-left {
  left: auto;
  right: 100%;
}

/* ── Show on hover ── */
.site-nav ul li:hover > ul,
.site-nav ul li:focus-within > ul {
  display: block;
}

/* ── Fly-out indicator for items with children ── */
.site-nav ul ul li.menu-item-has-children > a::after {
  content: ' ›';
  color: var(--gray-light);
  font-size: 0.7rem;
  float: right;
  margin-left: 0.5rem;
}

/* ============================================================
   HERO / FEATURED IMAGE (posts and pages)
   ============================================================ */
.hero-image {
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  margin-bottom: 1.2rem;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, 50% 50%);
}

/* ============================================================
   POST / PAGE LAYOUT
   ============================================================ */
.content-area {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.content-area.full-width {
  grid-template-columns: 1fr;
}

/* Post images within content */
/* Post images within content — exclude gallery figures */
.entry-content img:not(.wp-block-gallery img),
.entry-content figure:not(.wp-block-gallery):not(figure.wp-block-image) {
  width: 95%;
  margin: 1.2em auto;
  cursor: pointer;
}

.entry-content figure:not(.wp-block-gallery):not(figure.wp-block-image) {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.entry-content figure:not(.wp-block-gallery):not(figure.wp-block-image) img {
  width: 100%;
}

/* ============================================================
   LIGHTBOX / SLIDESHOW
   ============================================================ */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: var(--z-overlay);
  align-items: center;
  justify-content: center;
}

.lightbox-overlay.active {
  display: flex;
}

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

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1.2rem;
  right: 1.5rem;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  font-family: var(--font-typewriter);
  line-height: 1;
  background: none;
  border: none;
  padding: 0;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-family: var(--font-typewriter);
  user-select: none;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-caption {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--gray-light);
  font-family: var(--font-body);
  font-style: italic;
  font-size: 0.7rem;
  text-transform: lowercase;
  white-space: normal;
  text-align: center;
  max-width: 70vw;
  line-height: 1.5;
}

.lightbox-caption a {
  color: var(--accent);
  font-style: italic;
  text-decoration: none;
}

.lightbox-caption a:hover {
  font-weight: bold;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  padding-top: 0.2rem;
}

.sidebar .widget {
  margin-bottom: 1.5rem;
}

.sidebar .widget select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.3rem;
  border: 1px solid var(--gray-border);
}

.sidebar .search-form {
  display: flex;
  gap: 0;
}

.sidebar .search-field {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.75rem;
  padding: 0.25rem 0.4rem;
  border: 1px solid var(--gray-border);
  border-right: none;
}

.sidebar .search-submit {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--black);
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  font-size: 0.75rem;
}

/* ============================================================
   PHOTO GRID (index, archive, search, front page)
   ============================================================ */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  width: 70%;
  margin: 0 auto;
}

/* Blog index / archive = 5 columns */
.photo-grid.blog-grid {
  grid-template-columns: repeat(6, 1fr);
}

.grid-item {
  position: relative;
  overflow: hidden;
  /* Padding-bottom hack forces a perfect square regardless of image size */
  width: 100%;
  padding-bottom: 100%;
  height: 0;
}

.grid-item a {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.grid-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* Scale up 5% to cover any sub-pixel border gaps */
  transform: scale(1.055);
  transition: transform 0.3s ease;
}

/* Placeholder div (no featured image) fills the square */
.grid-item a > div {
  position: absolute;
  inset: 0;
}

/* Hover overlay */
.grid-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 144, 0, 0.80);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: var(--z-grid-overlay);
}

.grid-item:hover .grid-item-overlay {
  opacity: 1;
}

.grid-item:hover img {
  transform: scale(1.03);
}

.grid-item-label {
  font-family: var(--font-typewriter);
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--white);
  text-align: center;
  padding: 0.5rem 1rem;
  line-height: 1.3;
  text-transform: lowercase;
}

.front-page-grid .grid-item-label {
  font-size: 2.2rem;
}

.category-short-film .photo-grid,
.category-webseries .photo-grid,
.category-just-pretty .photo-grid,
.category-music-video .photo-grid,
.category-drone-video .photo-grid,
.category-filmmaker-update .photo-grid,
.category-4x4 .photo-grid {
  grid-template-columns: repeat(3, 1fr);
}
.category-short-film .grid-item,
.category-webseries .grid-item,
.category-just-pretty .grid-item,
.category-music-video .grid-item,
.category-drone-video .grid-item,
.category-filmmaker-update .grid-item,
.category-4x4 .grid-item {
  padding-bottom: 56.25%; /* 16:9 */
}

/* ============================================================
   PAGE GRID TEMPLATES — column overrides
   ============================================================ */
.page-grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.page-grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.page-grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.page-grid-cols-5 { grid-template-columns: repeat(5, 1fr); }
.page-grid-cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-wrap {
  text-align: center;
  padding: 1.5rem 0 1rem;
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
}

.pagination-wrap .page-numbers {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--gray-border);
  margin: 0 0.1rem;
}

.pagination-wrap .page-numbers.current {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: bold;
}

.pagination-wrap .page-numbers:hover {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: bold;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--gray-border);
  padding: 1.2rem 0 1.5rem;
  text-align: center;
}

.footer-nav {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.footer-nav ul {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  align-items: center;
}

.footer-nav ul li {
  display: flex;
  align-items: center;
}

.footer-nav ul li + li::before {
  content: ' | ';
  color: var(--black);
  margin: 0 0.3em;
}

.footer-nav ul li a {
  color: var(--black);
  font-family: var(--font-typewriter);
}

.footer-nav ul li a:hover {
  color: var(--accent);
  font-weight: bold;
}

.footer-copyright {
  font-size: 0.65rem;
  color: var(--gray-light);
  font-family: var(--font-typewriter);
}

/* ============================================================
   FRONT PAGE — section grid (3 col, orphans centred)
   ============================================================ */
.front-page-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.front-page-grid .grid-item {
  width: 33.333%;
  padding-bottom: 0;
  height: 0;
  /* Use vw-based height to maintain square relative to the grid width (70% of viewport) */
  padding-bottom: calc(70vw / 3);
}

/* ============================================================
   TAG CLOUD
   ============================================================ */
.post-tags {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
}

.post-tags a {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--black);
  border: 1px solid var(--gray-border);
  padding: 0.15rem 0.4rem;
  margin: 0.15rem 0.1rem;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.post-tags a:hover {
  color: var(--accent);
  border-color: var(--accent);
  font-weight: bold;
}

/* ============================================================
   COMMENTS
   ============================================================ */
.comments-section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gray-border);
  display: flex;
  justify-content: center;
}

.comments-wrap {
  width: 70%;
}

/* ── Toggle button ── */
.comments-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-typewriter);
  font-size: 1rem;
  font-weight: bold;
  text-transform: lowercase;
  color: var(--black);
  margin-bottom: 0;
}

.comments-toggle:hover {
  color: var(--accent);
}

.comments-toggle-arrow {
  font-size: 0.7rem;
  color: var(--gray-light);
  transition: color 0.15s;
  line-height: 1;
}

.comments-toggle:hover .comments-toggle-arrow {
  color: var(--accent);
}

/* ── Collapsible body ── */
.comments-body {
  padding-top: 1.2rem;
}

.comments-body[hidden] {
  display: none;
}

/* Individual comment */
.comment-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  border-left: 2px solid var(--gray-border);
  margin-top: 1rem;
}

.comment {
  margin-bottom: 1.5rem;
}

.comment-body {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--gray-border);
}

.comment-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.comment-author {
  font-family: var(--font-typewriter);
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: lowercase;
}

.comment-author a {
  color: var(--black);
}

.comment-author a:hover {
  color: var(--accent);
}

.comment-metadata {
  font-family: var(--font-typewriter);
  font-size: 0.65rem;
  color: var(--gray-light);
  text-transform: lowercase;
}

.comment-metadata a {
  color: var(--gray-light);
}

.comment-content {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--black);
}

.comment-content p {
  margin-bottom: 0.5em;
}

.comment-reply-link {
  font-family: var(--font-typewriter);
  font-size: 0.7rem;
  color: var(--gray-light);
  text-transform: lowercase;
  margin-top: 0.4rem;
  display: inline-block;
}

.comment-reply-link:hover {
  color: var(--accent);
  font-weight: bold;
}

.comment-awaiting-moderation {
  font-size: 0.7rem;
  color: var(--gray-light);
  font-style: italic;
  font-family: var(--font-body);
}

.comments-closed {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gray-light);
  font-style: italic;
}

/* ── Comment form ── */
.comment-respond {
  margin-top: 1.5rem;
}

.comment-reply-title {
  font-family: var(--font-typewriter);
  font-size: 1rem;
  font-weight: bold;
  text-transform: lowercase;
  margin-bottom: 1rem;
}

.comment-reply-title small {
  font-size: 0.7rem;
  font-weight: normal;
  margin-left: 0.5rem;
}

.comment-form label {
  display: block;
  font-family: var(--font-typewriter);
  font-size: 0.75rem;
  text-transform: lowercase;
  color: var(--black);
  margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.8rem;
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--gray-border);
  color: var(--black);
  background: var(--white);
  margin-bottom: 1rem;
  display: block;
  box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.comment-form textarea {
  min-height: 120px;
  resize: vertical;
}

.comment-form .submit {
  font-family: var(--font-typewriter);
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: lowercase;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
}

.comment-form .submit:hover {
  background: var(--accent);
}

.comment-form .logged-in-as {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

.comment-form .logged-in-as a {
  color: var(--accent);
}

.comment-notes {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--gray-light);
  margin-bottom: 1rem;
}

/* ============================================================
   WORDPRESS GALLERY — minimal overrides
   ============================================================ */

/* Hide captions */
.entry-content figure.wp-block-gallery figcaption,
.entry-content figure.wp-block-gallery .wp-element-caption,
.entry-content figure.wp-block-gallery figure.wp-block-image figcaption,
.entry-content figure.wp-block-gallery figure.wp-block-image::after {
  display: none !important;
  content: none !important;
}

/* Pointer cursor on gallery images */
.entry-content figure.wp-block-gallery img {
  cursor: pointer;
}

/* Prevent global scale transform from affecting gallery images */
.entry-content figure.wp-block-gallery img {
  transform: none !important;
  transition: opacity 0.2s ease !important;
}

.entry-content figure.wp-block-gallery figure:hover img {
  opacity: 0.85;
}


@media (max-width: 700px) {
  /* Hide sidebar entirely on mobile */
  .sidebar {
    display: none;
  }

  /* Full width content on mobile */
  .content-area {
    grid-template-columns: 1fr;
  }

  /* Tighter header on mobile */
  .site-header {
    flex-direction: column;
    gap: 0.4rem;
  }

  .site-nav > ul {
    flex-wrap: wrap;
  }

  /* Single column grid on mobile */
  .photo-grid.blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Slightly smaller post title on mobile */
  .post-title {
    font-size: 1.15rem;
  }
}

