/* Tenant Theme Stylesheet */

/* Default CSS Variables */
:root {
  /* Brand Colors */
  --color-primary: #4f46e5;
  --color-secondary: #6366f1;
  
  /* Font Families */
  --font-family: system-ui, sans-serif;
  --font-family-h1: var(--font-family);
  --font-family-headings: var(--font-family);
  --font-family-body: system-ui, sans-serif;
  
  /* Typography Sizing */
  --base-font-size: 16px;
  --h1-font-size: 2.25rem;
  --h2-font-size: 1.875rem;
  
  /* Text Colors */
  --color-h1: #111827;
  --color-headings: #1f2937;
  --color-body: #374151;
  
  /* UI Colors */
  --color-background: #ffffff;
  --color-border: #e5e7eb;
  --color-shadow: rgba(0, 0, 0, 0.1);
}

/* Site Brand Colors */
.bg-primary { background-color: var(--color-primary) !important; }
.text-primary { color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.text-secondary { color: var(--color-secondary) !important; }

/* Typography */
body {
  font-family: var(--font-family-body);
  font-size: var(--base-font-size);
  color: var(--color-body);
}

h1, .h1 {
  font-family: var(--font-family-h1);
  font-size: var(--h1-font-size);
  color: var(--color-h1);
}

h2, h3, h4, h5, h6,
.h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-family-headings);
  color: var(--color-headings);
}

h2, .h2 { font-size: var(--h2-font-size); }
h3, .h3 { font-size: calc(var(--h2-font-size) * 0.85); }
h4, .h4 { font-size: calc(var(--h2-font-size) * 0.75); }
h5, .h5 { font-size: calc(var(--h2-font-size) * 0.7); }
h6, .h6 { font-size: calc(var(--h2-font-size) * 0.65); }

/* Links */
a:not([class]) {
  color: var(--color-secondary);
  text-decoration: underline;
}

a:not([class]):hover {
  text-decoration: none;
}

/* UI Elements */
.site-border {
  border-color: var(--color-border);
}

.site-shadow {
  box-shadow: 0 1px 3px var(--color-shadow);
}

/* Infinite Scroll */
.infinite-scroll-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Article Card */
.article-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.article-card:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Broken image styling */
.broken-image {
  position: relative;
  display: inline-block;
  min-width: 40px;
  min-height: 40px;
  background-color: #f1f1f1;
  border: 1px dashed #ccc;
}

.broken-image::before {
  content: "🖼️";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
} 
