/* Publisher Theme Styles - Clean & Professional Design */

/* Import fonts for better performance */
@import './fonts.css';

html,
body {
  background: #fff !important;
}

/* Publisher theme base styles */
.publisher-theme {
  background: #fff !important;
  color: #111827;
  min-height: 100vh;
  font-size: 16px;
  line-height: 1.5;
}

/* Publisher theme typography */
.publisher-theme {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Font weight mapping for Publisher theme */
.publisher-theme .font-normal {
  font-weight: 400;
}

.publisher-theme .font-medium {
  font-weight: 500;
}

.publisher-theme .font-semibold {
  font-weight: 600;
}

.publisher-theme .font-bold {
  font-weight: 700;
}

/* Publisher specific grid-line styling */
.grid-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: #DC2626;
}

/* Publisher theme color variables */
:root {
  --publisher-primary: #DC2626;
  --publisher-secondary: #1F2937;
  --publisher-accent: #4B5563;
  --publisher-background: #FFFFFF;
  --publisher-foreground: #111827;
  --publisher-muted: #F3F4F6;
  --publisher-border: #E5E7EB;
  --publisher-gray-bg: #f1f4f7;
}

/* Publisher theme specific styles */
.publisher-theme .bg-gray-bg {
  background-color: var(--publisher-gray-bg);
}

/* Fast click feedback for navigation elements */
.fast-click-feedback {
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.fast-click-feedback:active {
  transform: scale(0.98);
  opacity: 0.7;
  transition: all 0.05s ease-out;
}

/* Article links hover effect */
.publisher-theme a:hover {
  color: var(--publisher-primary);
  transition: color 0.2s ease-in-out;
}

/* Publisher theme responsive typography */
@media (max-width: 768px) {
  .publisher-theme {
    font-size: 14px;
  }
}

/* Publisher theme specific button styles */
.publisher-theme .btn-primary {
  background-color: var(--publisher-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  font-weight: 500;
  transition: background-color 0.2s ease-in-out;
}

.publisher-theme .btn-primary:hover {
  background-color: #B91C1C;
}

/* Image optimization for publisher theme */
.publisher-theme img {
  max-width: 100%;
  height: auto;
}

/* Loading states */
.publisher-theme .loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Grid layout enhancements */
.publisher-theme .grid-container {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .publisher-theme .grid-container {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .publisher-theme .grid-container {
    gap: 2rem;
  }
}