/*
Theme Name: Brodsky Digital
Theme URI: https://brodskydigital.com
Author: Brodsky Digital
Author URI: https://brodskydigital.com
Description: A clean, minimal WordPress theme for showcasing digital asset management and cultural heritage work
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: brodskydigital
*/

/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

/* CSS Variables / Theme Tokens */
:root {
  --font-size: 16px;
  --background: #fafaf9;
  --foreground: #2b2b2b;
  --color-editorial-navy: #34495e;
  --border: rgba(43, 43, 43, 0.08);
  --muted-foreground: #6b7280;
  --font-serif: 'Cormorant', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
}

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Tailwind-style Utility Classes */
.min-h-screen {
  min-height: 100vh;
}

.bg-\[\#fafaf9\] {
  background-color: #fafaf9;
}

.text-\[\#2b2b2b\] {
  color: #2b2b2b;
}

.text-\[\#6b7280\] {
  color: #6b7280;
}

.text-\[\#34495e\] {
  color: #34495e;
}

.max-w-7xl {
  max-width: 80rem;
}

.max-w-5xl {
  max-width: 64rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.pt-20 {
  padding-top: 5rem;
}

.pb-16 {
  padding-bottom: 4rem;
}

.pb-32 {
  padding-bottom: 8rem;
}

.pt-32 {
  padding-top: 8rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mb-32 {
  margin-bottom: 8rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.leading-\[1\.1\] {
  line-height: 1.1;
}

.leading-relaxed {
  line-height: 1.625;
}

.h-px {
  height: 1px;
}

.bg-\[\#2b2b2b\/8\] {
  background-color: rgba(43, 43, 43, 0.08);
}

.w-24 {
  width: 6rem;
}

.grid {
  display: grid;
}

.gap-x-16 {
  column-gap: 4rem;
}

.gap-y-16 {
  row-gap: 4rem;
}

.space-y-12 > * + * {
  margin-top: 3rem;
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

.border-l-\[1px\] {
  border-left-width: 1px;
}

.border-\[\#34495e\] {
  border-color: #34495e;
}

.pl-6 {
  padding-left: 1.5rem;
}

.underline {
  text-decoration: underline;
}

.decoration-1 {
  text-decoration-thickness: 1px;
}

.underline-offset-2 {
  text-underline-offset: 2px;
}

.transition-colors {
  transition-property: color, background-color, border-color;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

/* Responsive Typography */
@media (min-width: 768px) {
  .md\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .md\:px-16 {
    padding-left: 4rem;
    padding-right: 4rem;
  }

  .md\:pt-32 {
    padding-top: 8rem;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:text-8xl {
    font-size: 6rem;
    line-height: 1;
  }

  .lg\:px-24 {
    padding-left: 6rem;
    padding-right: 6rem;
  }
}

/* WordPress Content Styles */
.entry-content {
  font-family: var(--font-sans);
  font-weight: 300;
}

.entry-content p {
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.entry-content h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--color-editorial-navy);
}

.entry-content h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--color-editorial-navy);
}

.entry-content h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--color-editorial-navy);
}

.entry-content a {
  color: var(--color-editorial-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: color 150ms;
}

.entry-content a:hover {
  color: var(--foreground);
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 2px solid var(--color-editorial-navy);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--muted-foreground);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
}

.entry-content code {
  background-color: rgba(43, 43, 43, 0.05);
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.entry-content pre {
  background-color: rgba(43, 43, 43, 0.05);
  padding: 1.5rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 2rem 0;
}

.entry-content pre code {
  background-color: transparent;
  padding: 0;
}

/* Hover States */
a.hover\:text-\[\#2b2b2b\]:hover {
  color: #2b2b2b;
}

/* Post Navigation */
.post-navigation {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(43, 43, 43, 0.08);
  display: flex;
  justify-content: space-between;
}

.post-navigation a {
  color: var(--color-editorial-navy);
  text-decoration: none;
  font-family: var(--font-serif);
  transition: color 150ms;
}

.post-navigation a:hover {
  color: var(--foreground);
}

/* Archive Styles */
.archive-posts {
  display: grid;
  gap: 3rem;
}

.archive-post {
  border-bottom: 1px solid rgba(43, 43, 43, 0.08);
  padding-bottom: 2rem;
}

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

/* Utility Classes */
.font-serif {
  font-family: var(--font-serif);
}

.font-sans {
  font-family: var(--font-sans);
}

.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

/* Responsive Utilities */
@media (max-width: 767px) {
  .text-5xl {
    font-size: 2.5rem;
  }
}
