/* ============================================
   FONTS — Self-hosted
   ============================================ */
@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/montserrat-italic-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Open Sans';
  src: url('/fonts/opensans-italic-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  color: #999;
}

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

/* ============================================
   HEADER & NAV
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 50px;
  transition: transform 0.3s ease, background 0.3s ease;
}

header.nav-hidden {
  transform: translateY(-100%);
}

header.default-header {
  background: #000;
}

header.transparent-light-header {
  background: transparent;
}

header.transparent-light-header .site-title,
header.transparent-light-header .nav-item > a {
  color: #fff;
}

header.transparent-light-header .site-title:hover,
header.transparent-light-header .nav-item > a:hover {
  color: #ccc;
}

header.transparent-dark-header {
  background: transparent;
}

header.transparent-dark-header .site-title,
header.transparent-dark-header .nav-item > a {
  color: #000 !important;
}

header.transparent-dark-header .site-title:hover,
header.transparent-dark-header .nav-item > a:hover {
  color: #555;
}

.nav-inner {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

.site-title:hover {
  color: #999;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 15px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
  font-size: 0.75rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 8px 0;
  display: block;
}

.nav-item > a:hover {
  color: #999;
}

.has-dropdown:hover > .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #000;
  list-style: none;
  min-width: 180px;
  z-index: 100;
  padding: 5px 0;
}

.dropdown li {
  position: relative;
}

.dropdown li a {
  display: block;
  padding: 5px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  text-align: right;
}

.dropdown li a:hover {
  color: #999;
}

.has-subdropdown:hover > .subdropdown {
  display: block;
}

.subdropdown {
  display: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #000;
  list-style: none;
  min-width: 200px;
  z-index: 200;
  padding: 5px 0;
}

.subdropdown li a {
  display: block;
  padding: 5px 20px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #fff;
  white-space: nowrap;
  text-align: left;
}

.subdropdown li a:hover {
  color: #999;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  max-width: 1216px;
  margin: 0 auto;
  padding: 80px 20px 60px;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: #000;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
  margin-top: 0;
}

.footer-inner {
  max-width: 1216px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer-logo:hover {
  color: #ccc;
}

.footer-copyright,
.footer-ai,
.footer-powered {
  color: #555;
  font-size: 0.625rem;
  font-weight: 400;
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.0;
  margin: 0;
}

.footer-powered a {
  color: #555;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-powered a:hover {
  color: #777;
}

.footer-ai a {
  color: #555;
  text-decoration: none;
}

.footer-ai a:hover {
  color: #777;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #333;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  font-weight: bolder;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.back-to-top:hover {
  background: #222;
  color: #ccc;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-hero-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -80px;
  height: 100vh;
  overflow: hidden;
}

.gallery-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gallery-page {
  max-width: 1216px;
  margin: 0 auto;
  padding: 60px 20px;
}

.gallery-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 60px;
  text-align: center;
}

.row-hero,
.row-single {
  margin-bottom: 40px;
}

.row-hero figure,
.row-single figure {
  margin: 0;
}

.row-hero img,
.row-single img {
  width: 100%;
  height: auto;
  display: block;
}

.row-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.row-single figure,
.row-duo figure {
  margin: 0;
}

.row-single img,
.row-duo img {
  width: 100%;
  height: auto;
  display: block;
}

figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  color: #777;
  margin-top: 0;
  padding-left: 0;
  font-weight: 400;
  font-style: normal;
}

/* Gallery figure hover effect */
.gallery-figure {
  overflow: hidden;
}

.gallery-figure img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-figure:hover img {
  transform: scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* ============================================
   VIEW ANOTHER GALLERY
   ============================================ */
.view-another {
  background: #101010;
  padding: 60px 20px;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.view-another-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #777;
  text-align: center;
  margin-bottom: 2rem;
}

.view-another-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1216px;
  margin: 0 auto;
}

.view-another-item {
  display: block;
  text-decoration: none;
}

.view-another-img-wrap {
  overflow: hidden;
  aspect-ratio: 3/2;
}

.view-another-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.view-another-item:hover .view-another-img-wrap img {
  transform: scale(1.05);
}

.view-another-label {
  display: block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #777;
  margin-top: 0.5rem;
  text-align: center;
}

.view-another-item:hover .view-another-label {
  color: #fff;
}

/* ============================================
   SECTION PAGES (Photography, Models, Art)
   ============================================ */
.section-page {
  padding-top: 20px;
}

.section-page h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 2rem;
}

.section-item {
  margin-bottom: 0.6rem;
}

.section-item a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-item a:hover {
  color: #999;
}

/* ============================================
   BLOG - LAYOUT
   ============================================ */
.blog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: start;
  background: #fff;
  color: #222;
  margin: -80px -20px -60px;
  padding: 100px 40px 60px;
  min-height: 100vh;
}

/* ============================================
   BLOG - SIDEBAR
   ============================================ */
.blog-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
}

.search-box {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #ddd;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #222;
  outline: none;
}

.search-box:focus {
  border-color: #999;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  margin-bottom: 0.4rem;
}

.sidebar-list li a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #444;
  text-decoration: none;
}

.sidebar-list li a:hover {
  color: #000;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  color: #444;
  border: 1px solid #ddd;
  padding: 2px 8px;
  text-decoration: none;
}

.tag:hover {
  background: #f5f5f5;
  color: #000;
}

.sidebar-feature {
  margin: 1.5rem 0;
}

.sidebar-feature img {
  width: 100%;
  height: auto;
}

/* ============================================
   SEARCH RESULTS
   ============================================ */
.search-results-list {
  list-style: none;
  margin-top: 0.75rem;
}

.search-results-list li {
  padding: 0.4rem 0;
  border-bottom: 1px solid #eee;
}

.search-results-list li a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #222;
  display: block;
}

.search-results-list li a:hover {
  color: #000;
}

.search-result-date {
  font-size: 0.75rem;
  color: #999;
  display: block;
}

.search-no-results {
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
}

/* ============================================
   BLOG - CONTENT AREA
   ============================================ */
.blog-content {
  min-width: 0;
}

.blog-content figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
}

.post-excerpt {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #eee;
}

.post-excerpt:last-child {
  border-bottom: none;
}

.post-excerpt h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-excerpt h2 a {
  color: #222;
  text-decoration: none;
}

.post-excerpt h2 a:hover {
  color: #555;
}

.post-excerpt figure {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.post-excerpt figure img {
  display: block;
  width: 100%;
  height: auto;
  transition: none;
  transform: none;
}

.post-excerpt figure img:hover {
  transform: none;
}

.post-excerpt figure figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 0;
  font-style: normal;
  font-weight: 400;
}



.post-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
}

.post-summary {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.read-more {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #222;
  padding-bottom: 1px;
}

.read-more:hover {
  color: #555;
  border-color: #555;
}

/* ============================================
   BLOG - FULL POST
   ============================================ */

/* Post title — matches index h2 exactly */
.post-full h2:first-child {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 0.4rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Post date */
.post-full .post-meta {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 0.75rem;
}

/* Body paragraphs */
.post-full p {
  margin-bottom: 1.6rem;
  line-height: 1.8;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
}

.post-full h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin: 2rem 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-full h3 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #222;
  margin: 1.5rem 0 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.post-full h4 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #222;
  margin: 1.25rem 0 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Lists */
.post-full ul,
.post-full ol {
  margin: 0 0 1.6rem 1.5rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
}

.post-full li {
  margin-bottom: 0.4rem;
}

/* Blockquote */
.post-full blockquote {
  border-left: 3px solid #ddd;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: #666;
}

.post-full blockquote p {
  margin-bottom: 0;
}

/* Code */
.post-full code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  background: #f5f5f5;
  padding: 2px 6px;
  border-radius: 2px;
  color: #333;
}

.post-full pre {
  background: #1a1a1a;
  color: #ccc;
  padding: 1.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.82rem;
  line-height: 1.6;
}

.post-full pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Links */
.post-full a {
  color: #333;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
}

.post-full a:hover {
  color: #000;
  border-color: #999;
}

.post-full a.post-button {
  color: #cccccc;
  border: none;
  padding: 12px 24px;
}

.post-full a.post-button:hover {
  color: #0c9200 !important;
  border: none;
  padding: 12px 24px;
}

/* Images and figures */
.post-full figure {
  margin: 1.5rem 0 1.5rem 0;
}

.post-full figure img {
  width: 100%;
  height: auto;
  display: block;
}

.post-full figure figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
}

.post-full figcaption p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

.post-full img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0 0 0;
}

/* Tables */
.post-full table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.875rem;
}

.post-full th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  border-bottom: 1px solid #eee;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.post-full td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #f0f0f0;
  color: #444;
}

.post-full hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 2.5rem 0;
}

/* Shortcodes */
.pullquote {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  font-style: italic;
  color: #444;
  border-left: 3px solid #ccc;
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  line-height: 1.6;
}

.post-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #777;
  background: #1a1a1a;
  padding: 10px 24px;
  text-decoration: none;
  border: none;
  border-radius: 0;
  margin: 1rem 0;
  transition: color 0.2s ease;
}

.post-button:hover {
  color: #fff;
  background: #1a1a1a;
  border: none;
}

.post-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 2rem 0;
}

.post-gallery figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.post-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.post-gallery figure:hover img {
  transform: scale(1.05);
}

/* ============================================
   ABOUT & SINGLE PAGES (non-blog)
   ============================================ */
.page h1,
.single-page h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 2rem;
}

.page .content,
.single-page .content {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
}

/* ============================================
   HOME
   ============================================ */
.home {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #ccc;
  font-size: 1rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-content {
  background: #000;
  color: #ccc;
  padding: 60px 20px 0;
  margin: 0 auto;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 1216px;
}

/* ============================================
   ABOUT INNER LAYOUT
   ============================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.about-text h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ccc;
  margin-bottom: 1.5rem;
}

.about-text p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1.6rem;
}

.about-photo img {
  width: 100%;
  height: auto;
}

.about-photo-caption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  color: #777;
  margin-top: 0.5rem;
}

.about-lorem {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
  max-width: 800px;
  padding-bottom: 0;
  margin-bottom: 0;
}

.about-lorem:empty {
  display: none;
}

/* ============================================
   ABOUT - CONNECT SECTION
   ============================================ */
.about-connect-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ccc;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.social-icons {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: opacity 0.3s ease;
}

.social-icons a:hover {
  opacity: 1;
}

.social-icons svg {
  width: 22px;
  height: 22px;
  fill: #777;
  transition: fill 0.3s ease;
}

.social-icons a[aria-label="Bluesky"]:hover svg   { fill: #0085ff; }
.social-icons a[aria-label="Mastodon"]:hover svg   { fill: #6364ff; }
.social-icons a[aria-label="Pixelfed"]:hover svg   { fill: #ff425b; }
.social-icons a[aria-label="YouTube"]:hover svg    { fill: #ff0000; }
.social-icons a[aria-label="Spotify"]:hover svg    { fill: #1db954; }
.social-icons a[aria-label="Steam"]:hover svg      { fill: #00adee; }
.social-icons a[aria-label="eBird"]:hover svg text      { fill: #ff0000; }
.social-icons a[aria-label="iModeler"]:hover svg text   { fill: #0085ff; }
.social-icons a[aria-label="iNaturalist"]:hover svg path:first-child { fill: #74ac00; }

/* ============================================
   HERO PAGES
   ============================================ */
.hero-page {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -80px;
}

.hero-home {
  background-image: url('/images/home-hero-image.jpg');
}

.hero-about {
  background-image: url('/images/about-hero-image.jpg');
}

/* ============================================
   MODELS SECTION INDEX
   ============================================ */
.models-page {
  max-width: 1216px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.models-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.models-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
}

.models-controls {
  display: flex;
  gap: 1rem;
}

.models-select {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  background: #111;
  border: 1px solid #333;
  padding: 6px 12px;
  cursor: pointer;
  outline: none;
}

.models-select:hover {
  border-color: #666;
}

.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.model-card {
  display: block;
  text-decoration: none;
  background: #111;
  transition: transform 0.3s ease;
}

.model-card:hover {
  transform: translateY(-4px);
}

.model-card-image {
  overflow: hidden;
  aspect-ratio: 4/3;
}

.model-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.model-card:hover .model-card-image img {
  transform: scale(1.05);
}

.model-card-info {
  padding: 1rem;
}

.model-card-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.model-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.model-card-meta span {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  color: #777;
}

.model-card-category {
  color: #999 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
   INDIVIDUAL MODEL PAGE
   ============================================ */
.model-page {
  max-width: 1216px;
  margin: 0 auto;
  padding: 60px 20px;
}

.model-header {
  margin-bottom: 3rem;
  text-align: center;
}

.model-hero-wrap {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  margin-top: -80px;
  height: 50vh;
  overflow: hidden;
  margin-bottom: 0;
}

.model-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.model-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 1rem;
}

.model-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.model-meta-item {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.82rem;
  color: #777;
}

.model-meta-label {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  display: block;
  margin-bottom: 2px;
}

.model-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 3rem;
}

.model-gallery-figure {
  margin: 0;
  overflow: hidden;
}

.model-gallery-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  transition: transform 0.3s ease;
}

.model-gallery-figure:hover img {
  transform: scale(1.05);
}

.model-gallery-figure figcaption {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  color: #777;
  margin-top: 4px;
  font-weight: 400;
}

.model-section-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #555;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #222;
}

.model-notes {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.model-notes p {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 1rem;
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.model-links {
  max-width: 800px;
  margin: 0 auto;
}

.model-links-list {
  list-style: none;
}

.model-links-list li {
  margin-bottom: 0.5rem;
}

.model-links-list a {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.85rem;
  color: #777;
  text-decoration: none;
  border-bottom: 1px solid #333;
  padding-bottom: 1px;
}

.model-links-list a:hover {
  color: #fff;
  border-color: #666;
}

/* ============================================
   FILES PAGE
   ============================================ */
.files-page {
  max-width: none;
  margin: -80px -20px -60px;
  padding: 120px 60px 80px;
  background: #fff;
  color: #222;
  min-height: calc(100vh - 80px);
}

.files-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: 2.5rem;
}

.files-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.files-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Open Sans', Arial, sans-serif;
}

.files-table thead th {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bbb;
  border-bottom: 1px solid #f0f0f0;
  padding: 0 16px 12px 0;
  text-align: left;
  white-space: nowrap;
}

.files-table tbody td {
  font-size: 0.85rem;
  color: #333;
  padding: 14px 16px 14px 0;
  border-bottom: 1px solid #f7f7f7;
  vertical-align: middle;
}

.files-table tbody tr:last-child td {
  border-bottom: none;
}

.files-table tbody tr:hover td {
  color: #000;
}

.files-download {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.files-download:hover {
  color: #000;
  border-color: #999;
}

.files-unavailable {
  color: #ccc;
  font-size: 0.85rem;
}

/* ============================================
   TERMS / SINGLE PAGES
   ============================================ */
.terms-page {
  max-width: none;
  margin: -80px -20px -60px;
  padding: 120px 60px 80px;
  background: #fff;
  color: #222;
  min-height: calc(100vh - 80px);
}

.terms-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  margin-bottom: 2.5rem;
  text-align: center;
}

.terms-content {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.8;
}

.terms-content h2 {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #222;
  margin: 2rem 0 0.75rem;
}

.terms-content p {
  margin-bottom: 1.2rem;
}

.terms-content ul {
  margin: 0 0 1.2rem 1.5rem;
}

.terms-content li {
  margin-bottom: 0.4rem;
}

.terms-content a {
  color: #333;
  border-bottom: 1px solid #ccc;
}

.terms-content a:hover {
  color: #000;
  border-color: #999;
}

/* ============================================
   IMAGE SLIDER
   ============================================ */
.image-slider-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  margin: 2rem 0;
}

.image-slider-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}

.slider-after {
  position: absolute;
  inset: 0;
}

.slider-before {
  position: absolute;
  inset: 0;
  clip-path: inset(0 50% 0 0);
}

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.slider-label {
  position: absolute;
  bottom: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 4px 10px;
}

.slider-label-before { left: 12px; }
.slider-label-after { right: 12px; }

/* ============================================
   MOBILE NAV TOGGLE
   ============================================ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10000;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ============================================
   LIGHTBOX OVERRIDES
   ============================================ */
.lb-outerContainer {
  background: #000 !important;
}

.lb-image {
  border: none !important;
}

.lightboxOverlay {
  background: #000 !important;
  opacity: 0.95 !important;
}

.lb-dataContainer {
  background: #000 !important;
}

.lb-data .lb-caption {
  color: #aaa !important;
}

.lb-data .lb-number {
  color: #555 !important;
}

.lb-data .lb-details .lb-number {
  display: none !important;
}

/* ============================================
   FOOTER RSS
   ============================================ */
.footer-rss {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-rss-icon {
  width: 15px;
  height: 15px;
  fill: #fff;
  display: block;
  transition: fill 0.3s ease;
}

.footer-rss:hover .footer-rss-icon {
  fill: #f26522;
}

.footer-rss-text {
  color: #555;
  font-size: 0.625rem;
  font-family: 'Open Sans', Arial, sans-serif;
  font-weight: 400;
}

.footer-rss:hover .footer-rss-text {
  color: #555;
}

/* ============================================
   BLOG THUMBNAIL
   ============================================ */
.post-excerpt-thumb {
  margin: 0.75rem 0 1rem 0;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.post-excerpt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   MASONRY GALLERY
   ============================================ */
.masonry-grid {
  columns: 3;
  column-gap: 12px;
  margin: 2rem 0;
}

.post-full .masonry-grid figure {
  margin: 0 0 12px 0;
}

.masonry-item {
  break-inside: avoid;
  overflow: hidden;
  margin: 0;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .masonry-grid {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    columns: 1;
  }
}

/* ============================================
   LEAFLET MAP
   ============================================ */
.leaflet-map-wrap {
  width: 100%;
  height: 400px;
  margin: 2rem 0;
  z-index: 1;
}

/* ============================================
   TAXONOMY & TERMS PAGES
   ============================================ */
.taxonomy-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.taxonomy-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.taxonomy-post {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.taxonomy-post:last-child {
  border-bottom: none;
}

.taxonomy-thumb-link {
  flex-shrink: 0;
  display: block;
}

.taxonomy-thumb {
  width: 120px;
  height: 80px;
  min-width: 120px;
  object-fit: cover;
  display: block;
}

.taxonomy-post-info {
  flex: 1;
  min-width: 0;
}

.taxonomy-post-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.3rem;
}

.blog-content .taxonomy-post-title a {
  color: #222;
  text-decoration: none;
  border: none;
}

.blog-content .taxonomy-post-title a:hover {
  color: #555;
  border: none;
}

.taxonomy-terms-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.taxonomy-term {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #eee;
}

.taxonomy-term:last-child {
  border-bottom: none;
}

.taxonomy-term:hover {
  color: #555;
}

.taxonomy-term-count {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  color: #999;
  text-transform: none;
  letter-spacing: 0;
}

/* =======================================================================================
   RESPONSIVE - ALWAYS KEEP AT END OF FILE
   ======================================================================================= */
@media (max-width: 1024px) {
  header {
    padding: 15px 20px;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    padding: 100px 20px 40px;
  }

  .blog-sidebar {
    display: none;
  }

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

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

  .model-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .row-duo {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 9998;
  }

  .nav-list.nav-open {
    display: flex;
  }

  .nav-list.nav-open .nav-item > a {
    color: #fff;
  }

  .nav-item > a {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }

  .transparent-dark-header .nav-list.nav-open .nav-item > a,
  .transparent-dark-header .nav-list.nav-open .dropdown li a {
    color: #fff !important;
  }

  .transparent-dark-header .nav-toggle-open span {
    background: #fff !important;
  }

  .transparent-dark-header .site-title {
    color: #000;
  }

  .transparent-dark-header .nav-toggle span {
    background: #000;
  }

  .nav-list.nav-open {
    background: #000;
  }

  .nav-list.nav-open .nav-item > a,
  .nav-list.nav-open .dropdown li a {
    color: #fff;
  }

  .nav-list.nav-open ~ * .site-title,
  .nav-toggle-open ~ .site-title {
    color: #fff;
  }

  .dropdown {
    position: static;
    background: none;
    min-width: unset;
    padding: 0.5rem 0 0;
    text-align: center;
  }

  .dropdown li a {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    padding: 4px 0;
  }

  .blog-sidebar {
    display: none;
  }

  .blog-layout {
    grid-template-columns: 1fr;
    padding: 100px 20px 40px;
  }

  .has-dropdown:hover > .dropdown {
    display: none;
  }

  .has-dropdown.nav-open > .dropdown {
    display: block;
  }

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

  .models-grid {
    grid-template-columns: 1fr;
  }

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

  .models-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
