html, body {
  height: 100%;
  margin: 0;
}

body {
  background-color: #ffffff;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
}

/* Header and Navigation */
header {
  background-color: #ffffff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

.logo {
  height: 63px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.logo:hover {
  height: 63px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: 2rem;
}

.nav-links a {
  font-size: 0.85rem;
  padding: 0.5rem 0rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}

.nav-links a:hover {
  background-color: #2a2a2a;
  text-decoration: none;
}

.search-input {
  background-color: #f5f5f5;
  border: 1px solid #999999;
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.4rem 0.875rem;
  width: 180px;
  border-radius: 0.5rem;
}

.search-input:focus {
  width: 220px;
  outline: none;
  border-color: #606060;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.search-input::placeholder {
  color: #9ca3af;
}

main {
  flex: 1;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
  max-width: 1800px;
  margin: 0 auto;
  min-height: 930x; /* or desired minimum height */

}
      main1 {
        flex: 1;
        padding: 1.5rem;
        max-width: 1800px;
        margin: 0 auto;

      }

.sidebar-section {
  background-color: #ffffff;
  border-radius: 1;
  padding: var(--sidebar-padding-top, 1.25rem) var(--sidebar-padding-bottom, 1.25rem) var(--sidebar-padding-left, 1rem);
  border-left: 1px solid #d1d1d1;
}

.sidebar-section h1 {
  margin: 0 0 1rem 0;
  line-height: 1.2;
}

.sidebar-section h3 {
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.sidebar-section p {
  margin: 0;
  line-height: 1.5;
}

.card {
  background-color: #202020;
  border-radius: 0.75rem;
  padding: 0.875rem;
}

.card .title {
  margin: 0.5rem 0 0.25rem 0;
  line-height: 1.3;
}

.card .author {
  margin: 0.25rem 0;
  line-height: 1.3;
}

.card .text-gray-500 {
  margin: 0.25rem 0 0 0;
  line-height: 1.3;
}

.thumbnail {
  width: 100%;
  height: 180px;
  background-color: #333;
  border-radius: 0.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.thumbnail:hover {
  opacity: 0.8;
}

.stat-box {
  background-color: #202020;
  padding: 1.25rem;
  border-radius: 0.75rem;
  font-size: 0.85rem;
}

.stat-box p {
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}

.stat-box p:last-child {
  margin-bottom: 0;
}

.dropdown-btn {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  padding: 0.4rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.25rem;
}

.dropdown-btn:hover {
  background-color: #2a2a2a;
  text-decoration: none;
}

.dropdown-btn span {
  background: #4b4b4b;
  border-radius: 9999px;
  padding: 0.2rem 0.6rem;
  font-size: 0.75rem;
}

.dropdown-btn.active span {
  transform: rotate(90deg);
}

.category-link {
  display: block;
  padding: 0.4rem;
  color: #9ca3af;
  text-decoration: none;
  border-radius: 0.5rem;
  margin-bottom: 0.125rem;
}

.category-link:hover {
  background-color: #2a2a2a;
  text-decoration: none;
}

footer {
  font-size: 0.85rem;
  background-color: #202020;
  text-align: center;
  padding: 1rem;
}

footer a {
  padding: 0.4rem 0.875rem;
  border-radius: 0.5rem;
}

footer a:hover {
  background-color: #2a2a2a;
  text-decoration: none;
}

.clickable {
  cursor: pointer;
}

.clickable:hover {
  opacity: 0.8;
}

/* Remove bullet points from all lists */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Dropdown animation */
.dropdown-content {
  max-height: 0;
  overflow: hidden;
}

.dropdown-content.show {
  max-height: 500px;
}

/* Section spacing improvements */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 1.2;
}

section {
  margin-bottom: 1.5rem;
}

section:last-child {
  margin-bottom: 0;
}

/* Grid section titles */
.grid + div h3,
div h3 {
  margin-bottom: 0.75rem;
  margin-top: 0;
}

/* Additional utility classes to match your HTML */
.bg-black { background-color: #202020; }
.bg-gray-700 { background-color: #202020; }
.text-white { color: #ffffff; }
.text-gray-400 { color: #dbdbdb; }
.text-gray-500 { color: #dbdbdb; }
.p-4 { padding: 1rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.pl-5 { padding-left: 1.25rem; }
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.items-center { align-items: center; }
.space-x-5 > * + * { margin-left: 1.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.rounded { border-radius: 0.25rem; }
.grid { display: grid; }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-xll { font-size: 2.3rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.hover\:underline:hover { text-decoration: underline; }
.text-center { text-align: center; }
.hidden { display: none; }


/* Link styles */
a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* Privacy Policy Specific Styles */

.list-disc {
  list-style-type: disc;
}

.pl-6 {
  padding-left: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.text-gray-300 {
  color: #dbdbdb;
}
        .thumbnail {
          width: 100% !important;
          height: 175px !important;
          object-fit: cover !important;
          object-position: center !important;
          display: block !important;
        }
        
      .browse-main {
      flex: 1;
      padding: 1.5rem;
      max-width: 1400px;
      margin: 0 auto;
    }
    
    
    .section-title {
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      justify-content: center;
    }
    

@media (max-width: 768px) {
  .header-section {
    padding: 1rem;
    max-width: 100%;
    margin: 0 1rem;
  }
}

.header-section {
  background-color: #202020;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 1000px;
  width: 100%;
  justify-content: center;
}
    @media (max-width: 768px) {
      .browse-main {
        padding: 1rem;
      }
      
      .category-nav-links {
        flex-direction: column;
        align-items: stretch;
      }
      
      .category-nav-link {
        width: 100%;
      }
    }

    .mod-exconrail-main {
  flex: 1;
  padding: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

        * {
            box-sizing: border-box;
        }
        
        body {
            margin: 0;
            padding: 0;
            overflow-x: hidden;
            min-height: 100vh;
        }

        .author-card {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            margin-bottom: 1.5rem;
            border-bottom: 1px solid #eee;
        }
        
        .author-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }
        
        .author-info {
            flex: 1;
        }
        
        .author-name {
            font-weight: 600;
            color: #222;
            font-size: 0.98rem;
            margin-bottom: 0.25rem;
        }
        
        .author-handle {
            color: #666;
            font-size: 0.9rem;
        }
        
        .author-stats {
            display: flex;
            gap: 1rem;
            color: #666;
            font-size: 0.9rem;
            margin-top: 0.5rem;
        }
        
        .stats-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        
        .page-content {
            margin-top: 1rem;
        }

        .sidebar-section {
            width: 350x;
            min-width: 300px;
            max-width: 400px;
            background: #fff;
            padding: 1.5rem;
            border-right: 1px solid #e0e0e0;
            margin: 0;
            height: auto;
            box-sizing: border-box;
        }

        .info-tag {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0.5rem 1rem;
            background: #f8f8f8;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
            color: #555;
            font-size: 0.9rem;
            white-space: nowrap;
            gap: 0.5rem;
        }

        .stats-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
            margin-bottom: 1.5rem;
        }

        .meta-container {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }

        .photo-description {
            font-size: 0.98em;
            line-height: 1.5;
            color: #555;
            margin-bottom: 0.7em;
        }

        .meta-icon {
            font-size: 1.2em;
            color: #666;
        }

        .main-content {
            flex: 1;
            max-width: 1200px;
            margin: -3rem auto 0;
            padding: 0;
            overflow: hidden;
        }

        .photo-container {
            margin: 0;
            padding: 0;
            display: flex;
            justify-content: center;
            align-items: flex-start;
            --photo-top-offset: 0px; /* Adjust this value to move photo up/down */
            padding-top: var(--photo-top-offset);
        }
        
        .photo-container img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .comments-section {
            width: 100%;
            margin-top: 2rem;
            padding: 1.5rem;
            background: #fff;
            border-top: 1px solid #e0e0e0;
        }

        .comments-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        .comments-header {
            font-size: 1.2em;
            font-weight: 600;
            color: #222;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #e0e0e0;
        }

        .comments-empty {
            color: #666;
            text-align: center;
            padding: 1rem;
            font-size: 0.95em;
        }