/* ═══════════════════════════════════════════════════════════
   SOULARY — ALL ENTRIES PAGE
   Diary aesthetic: aged paper, leather binding, candlelit desk
   Fonts: Poppins / Inter / Roboto / Open Sans
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700&family=Roboto:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Open+Sans:wght@400;600;700;800&display=swap');

/* ─── DESIGN TOKENS ─── */
:root {
  /* Desk */
  --desk-dark:    #1a0f07;
  --desk-mid:     #2c1a0e;
  --desk-grain:   #3d2618;

  /* Leather */
  --leather:      #4e3221;
  --leather-dk:   #2a1a0d;
  --leather-lt:   #6b4d3a;

  /* Paper */
  --paper:        #faf6ea;
  --paper-warm:   #f5f0de;
  --paper-crease: #ede6ce;
  --paper-edge:   #d9d0b4;

  /* Ink — dark, high contrast */
  --ink:          #0d0905;
  --ink-mid:      #1e1409;
  --ink-fade:     #2e2214;
  --ink-ghost:    #4a3828;

  /* Accents */
  --gold:         #c9a84c;
  --gold-dim:     rgba(201,168,76,0.32);
  --red-wax:      #8b1a1a;
  --red-wax-lt:   #a52020;
  --red-margin:   rgba(185,65,65,0.24);

  /* Ruled lines */
  --rule:         rgba(0,0,0,0.07);
  --rule-h:       36px;

  /* Fonts — as requested */
  --font-hand:    'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-formal:  'Roboto', sans-serif;
  --font-scrawl:  'Open Sans', sans-serif;

  /* Legacy var aliases so old class references still resolve */
  --text-dark:    #0d0905;
  --text-muted:   #2e2214;
  --soft-pink:    #fdeef4;
  --soft-lavender:#ede6ce;
  --soft-yellow:  #fdf5e6;
  --soft-cream:   #faf6ea;
  --primary-gradient: linear-gradient(135deg, var(--red-wax-lt), var(--red-wax));

  /* Shadows */
  --shadow-book:  0 20px 60px rgba(0,0,0,0.65), 0 4px 20px rgba(0,0,0,0.4);
  --shadow-card:  0 4px 18px rgba(0,0,0,0.1);
  --shadow-lift:  0 10px 30px rgba(0,0,0,0.18);
}

/* ─── INK PEN CURSOR ─── */
html, body, * {
  cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2232%22%20height%3D%2232%22%20viewBox%3D%220%200%2032%2032%22%3E%3Crect%20x%3D%2210%22%20y%3D%222%22%20width%3D%2210%22%20height%3D%2220%22%20rx%3D%223%22%20ry%3D%223%22%20transform%3D%22rotate%2845%2015%2012%29%22%20fill%3D%22%232a1a0d%22%20stroke%3D%22%234e3221%22%20stroke-width%3D%220.6%22%2F%3E%3Crect%20x%3D%2211.5%22%20y%3D%223%22%20width%3D%223%22%20height%3D%2216%22%20rx%3D%221.5%22%20transform%3D%22rotate%2845%2015%2012%29%22%20fill%3D%22rgba%28255%2C255%2C255%2C0.12%29%22%2F%3E%3Crect%20x%3D%2210%22%20y%3D%2219.5%22%20width%3D%2210%22%20height%3D%222.5%22%20transform%3D%22rotate%2845%2015%2012%29%22%20fill%3D%22%23c9a84c%22%2F%3E%3Cpolygon%20points%3D%225%2C27%2012%2C20%208%2C16%202%2C30%22%20fill%3D%22%23c9a84c%22%20stroke%3D%22%239a7a28%22%20stroke-width%3D%220.5%22%2F%3E%3Cline%20x1%3D%223.5%22%20y1%3D%2228.5%22%20x2%3D%2210%22%20y2%3D%2218.5%22%20stroke%3D%22%239a7a28%22%20stroke-width%3D%220.7%22%20opacity%3D%220.8%22%2F%3E%3Ccircle%20cx%3D%222.5%22%20cy%3D%2229.5%22%20r%3D%221.2%22%20fill%3D%22%231c1209%22%20opacity%3D%220.85%22%2F%3E%3C%2Fsvg%3E") 2 30, crosshair !important;
}

/* ─── RESET ─── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

/* ═══════════════════════════════════════════════════════════
   BODY — wooden desk surface
═══════════════════════════════════════════════════════════ */
body {
  min-height: 100vh;
  background: var(--desk-dark);
  font-family: var(--font-body);
  font-size: 18px; /* Base font size: 18px */
  color: var(--ink);
  overflow-x: hidden;
  position: relative;
  /* Remove the pink gradient background from original */
  background-attachment: initial;
}

/* Wood grain desk */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 0%,   rgba(255,210,120,0.07) 0%, transparent 52%),
    radial-gradient(ellipse at 80% 85%,  rgba(0,0,0,0.45) 0%,       transparent 55%),
    repeating-linear-gradient(
      92deg,
      transparent 0px, transparent 36px,
      rgba(0,0,0,0.07) 36px, rgba(0,0,0,0.07) 38px,
      transparent 38px, transparent 76px,
      rgba(255,255,255,0.012) 76px, rgba(255,255,255,0.012) 78px
    ),
    repeating-linear-gradient(
      180deg,
      var(--desk-mid)   0px, var(--desk-mid)   4px,
      var(--desk-grain) 4px, var(--desk-grain)  5px,
      var(--desk-mid)   5px, var(--desk-mid)   20px,
      rgba(0,0,0,0.18) 20px, rgba(0,0,0,0.18) 22px
    );
  z-index: 0;
  pointer-events: none;
}

/* Vignette */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 42%, transparent 28%, rgba(0,0,0,0.68) 100%);
  z-index: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   PAGE WRAPPER — open diary book frame
═══════════════════════════════════════════════════════════ */
.page-wrapper,
.all-entries-page,
body > div:not([class*="floating"]) {
  position: relative;
  z-index: 10;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
  animation: bookOpen 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes bookOpen {
  from { opacity: 0; transform: perspective(1400px) rotateX(5deg) scale(0.97); }
  to   { opacity: 1; transform: perspective(1400px) rotateX(0deg) scale(1); }
}

/* Leather top strip */
.page-wrapper::before,
.all-entries-page::before,
body > div:not([class*="floating"])::before {
  content: '';
  display: block;
  height: 18px;
  background: linear-gradient(to bottom, #1a0d05, var(--leather-dk));
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -3px 14px rgba(0,0,0,0.5);
  margin-top: 40px;
}

/* Leather bottom strip */
.page-wrapper::after,
.all-entries-page::after,
body > div:not([class*="floating"])::after {
  content: '';
  display: block;
  height: 18px;
  background: linear-gradient(to top, #1a0d05, var(--leather-dk));
  border-radius: 0 0 4px 4px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
  margin-bottom: 44px;
}

/* ═══════════════════════════════════════════════════════════
   SHARED PAPER SURFACE
   Applied to header, stats, entries, search
═══════════════════════════════════════════════════════════ */

/* Paper grain */
.header::before,
.stats::before,
.entry::before,
.search-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  opacity: 0.7;
  pointer-events: none;
  z-index: 0;
}

/* Ruled lines */
.header::after,
.stats::after,
.search-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent 0px,
    transparent calc(var(--rule-h) - 1px),
    var(--rule) calc(var(--rule-h) - 1px),
    var(--rule) var(--rule-h)
  );
  pointer-events: none;
  z-index: 0;
}

/* All children above overlays */
.header > *,
.stats > *,
.entry > *,
.search-container > * {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════
   HEADER
═══════════════════════════════════════════════════════════ */
.header {
  background: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 52px;
  margin-bottom: 0;
  border-left: 10px solid var(--leather);
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 52px 0 0 -50px var(--red-margin),
    0 6px 28px rgba(0,0,0,0.5);
}

/* ─── HERO SECTION ─── */
.hero-image {
  width: 100%;
  background: var(--paper-warm);
  border-left: 10px solid var(--leather);
  box-shadow: 
    inset 52px 0 0 -50px var(--red-margin),
    0 4px 18px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 160px;
}

.hero-content-simple {
  text-align: center;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
}

.hero-content-simple h1 {
  font-family: var(--font-hand);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 6px;
}

.hero-content-simple p {
  font-family: var(--font-formal);
  font-size: 14px;
  font-weight: 600;
  font-style: italic;
  color: var(--ink-fade);
}

/* Tape strips for hero */
.hero-image::before {
  content: '';
  position: absolute;
  top: 10px; left: 52px;
  width: 60px; height: 16px;
  background: rgba(255,240,170,0.5);
  border: 1px solid rgba(220,195,110,0.4);
  transform: rotate(-2deg);
  z-index: 5;
}

.hero-image::after {
  content: '';
  position: absolute;
  top: 10px; right: 20px;
  width: 60px; height: 16px;
  background: rgba(255,240,170,0.5);
  border: 1px solid rgba(220,195,110,0.4);
  transform: rotate(2deg);
  z-index: 5;
}

/* ─── LOGO ─── */
.logo {
  font-family: var(--font-hand);
  font-size: 34px;
  font-weight: 800;
  color: var(--ink) !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  filter: none;
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: none;
}

/* ─── HEADER BUTTONS ─── */
.new-entry-btn {
  background: radial-gradient(ellipse at 40% 30%, var(--red-wax-lt), var(--red-wax));
  color: #faf3e0 !important;
  border: none;
  padding: 11px 24px;
  border-radius: 50px;
  font-family: var(--font-hand);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 14px rgba(139,26,26,0.38), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.new-entry-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.14) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}

.new-entry-btn:hover::after { transform: translateX(100%); }

.new-entry-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 26px rgba(139,26,26,0.48);
}

/* ═══════════════════════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════════════════════ */
.search-container {
  background: var(--paper);
  border-left: 10px solid var(--leather);
  padding: 18px 52px;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.35);
}

.search-bar {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: none;
  border-bottom: 2px solid var(--paper-edge);
  border-radius: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  transition: border-color 0.3s;
  box-shadow: none;
}

.search-bar:focus {
  outline: none;
  border-bottom-color: var(--gold);
  box-shadow: none;
  background: transparent;
}

.search-bar::placeholder {
  font-family: var(--font-formal);
  font-size: 14px;
  font-style: italic;
  color: var(--ink-ghost);
  font-weight: 500;
}

.search-icon {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0.55;
  z-index: 3;
  color: var(--ink-fade);
}

/* ═══════════════════════════════════════════════════════════
   STATS ROW
═══════════════════════════════════════════════════════════ */
.stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 0;
  background: var(--paper);
  border-left: 10px solid var(--leather);
  padding: 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 3px 16px rgba(0,0,0,0.35);
}

.stat {
  background: var(--paper-warm);
  border-radius: 0;
  padding: 26px 24px;
  text-align: center;
  flex: 1;
  border-right: 1px solid var(--paper-edge);
  border: none;
  border-right: 1px solid var(--paper-edge);
  position: relative;
  overflow: hidden;
  transition: background 0.25s ease;
  box-shadow: none;
}

.stat:last-child { border-right: none; }

/* Ruled lines inside stat cells */
.stat::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent 0px, transparent 28px,
    rgba(0,0,0,0.05) 28px, rgba(0,0,0,0.05) 29px
  );
  pointer-events: none;
}

.stat > * { position: relative; z-index: 2; }

.stat:hover {
  background: var(--paper-crease);
  transform: none;
  box-shadow: none;
}

.stat strong {
  display: block;
  font-family: var(--font-hand);
  font-size: 44px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1;
}

.stat span {
  font-family: var(--font-formal);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-fade);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ═══════════════════════════════════════════════════════════
   ENTRIES SECTION WRAPPER
═══════════════════════════════════════════════════════════ */
.entries-section,
.entries-wrapper,
.entries-list,
main {
  background: var(--paper);
  border-left: 10px solid var(--leather);
  padding: 40px 52px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.38);
}

/* Ruled lines across entries section */
.entries-section::after,
.entries-wrapper::after,
.entries-list::after,
main::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent 0px,
    transparent calc(var(--rule-h) - 1px),
    var(--rule) calc(var(--rule-h) - 1px),
    var(--rule) var(--rule-h)
  );
  pointer-events: none;
  z-index: 0;
}

/* Paper grain on entries section */
.entries-section::before,
.entries-wrapper::before,
.entries-list::before,
main::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.entries-section > *,
.entries-wrapper > *,
.entries-list > *,
main > * {
  position: relative;
  z-index: 2;
}

/* Red margin line */
.entries-section,
.entries-wrapper,
.entries-list,
main {
  box-shadow:
    inset 52px 0 0 -50px var(--red-margin),
    0 4px 20px rgba(0,0,0,0.38);
  margin-top: 0;
  border-top: 1px solid var(--paper-edge);
}

/* Ensure entries container is properly padded */
#entriesContainer {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Loading placeholder text */
.entries-loading {
  text-align: center;
  font-family: var(--font-formal);
  font-size: 15px;
  font-style: italic;
  font-weight: 500;
  color: var(--ink-ghost);
  padding: 40px 0;
}

/* ═══════════════════════════════════════════════════════════
   INDIVIDUAL ENTRY CARDS
   — feel like torn-out pages or letters
═══════════════════════════════════════════════════════════ */
.entry {
  background: var(--paper-warm);
  border: 1px solid var(--paper-edge);
  border-left: 4px solid var(--gold-dim);
  border-radius: 3px;
  padding: 24px 26px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.28s, border-left-color 0.28s;
  cursor: pointer;
}

/* Ruled lines inside each entry */
.entry::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    transparent 0px, transparent 30px,
    rgba(0,0,0,0.045) 30px, rgba(0,0,0,0.045) 31px
  );
  pointer-events: none;
  z-index: 0;
}

.entry:hover {
  transform: translateX(8px) rotate(0.15deg);
  box-shadow: var(--shadow-lift);
  border-left-color: var(--gold);
}

/* ─── MOOD BADGE — ink stamp style ─── */
.mood {
  font-family: var(--font-formal);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--red-wax);
  background: transparent;
  padding: 3px 10px;
  border: 1.5px solid rgba(139,26,26,0.3);
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 12px;
}

/* ─── ENTRY TITLE ─── */
.entry h3 {
  font-family: var(--font-hand);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 5px;
  line-height: 1.25;
}

/* ─── DATE ─── */
.entry .date {
  font-family: var(--font-formal);
  font-style: italic;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-ghost);
  margin-bottom: 12px;
  display: block;
  letter-spacing: 0.3px;
}

/* ─── BODY TEXT ─── */
.entry p {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── TAGS — paper label style ─── */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag {
  font-family: var(--font-formal);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  background: var(--paper-crease);
  color: var(--ink-fade);
  border: 1px solid var(--paper-edge);
  border-radius: 0;
}

/* ═══════════════════════════════════════════════════════════
   LOAD MORE BUTTON
═══════════════════════════════════════════════════════════ */
.load-more {
  display: flex;
  justify-content: center;
  padding: 24px 0 8px;
}

.load-more button {
  background: transparent;
  color: var(--ink-mid);
  border: 1.5px dashed var(--paper-edge);
  padding: 13px 36px;
  border-radius: 50px;
  font-family: var(--font-hand);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: border-color 0.25s, background 0.25s, color 0.25s, transform 0.25s;
  box-shadow: none;
}

.load-more button:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.07);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════
   STAGGERED ENTRY ANIMATIONS — ink drying in
═══════════════════════════════════════════════════════════ */
.header          { animation: inkDry 0.6s ease both 0.1s; }
.search-container{ animation: inkDry 0.6s ease both 0.2s; }
.stats           { animation: inkDry 0.6s ease both 0.3s; }

.entry:nth-child(1) { animation: inkDry 0.55s ease both 0.4s;  }
.entry:nth-child(2) { animation: inkDry 0.55s ease both 0.52s; }
.entry:nth-child(3) { animation: inkDry 0.55s ease both 0.64s; }
.entry:nth-child(4) { animation: inkDry 0.55s ease both 0.76s; }
.entry:nth-child(5) { animation: inkDry 0.55s ease both 0.88s; }
.entry:nth-child(n+6) { animation: inkDry 0.55s ease both 1.0s; }

@keyframes inkDry {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════════════════════ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--desk-dark); }
::-webkit-scrollbar-thumb { background: var(--leather); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--leather-lt); }

.feature-card.blue   { background: #ecf2fd; border-left-color: #4a7fd4; }
.feature-card.pink   { background: #fdeef4; border-left-color: #c2556e; }
.feature-card.green  { background: #edf6ee; border-left-color: #4a9e5c; }
.feature-card.gold   { background: #fdf5e6; border-left-color: #c49327; }
.feature-card.purple { background: #f3e8ff; border-left-color: #8b5cf6; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .header          { padding: 16px 24px; flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .search-container{ padding: 14px 24px; }
  .stats           { flex-direction: column; gap: 0; }
  .stat            { border-right: none; border-bottom: 1px solid var(--paper-edge); }
  .stat:last-child { border-bottom: none; }

  #loadMoreSection { display: none; }

  .logo-link { text-decoration: none; color: inherit; }
  .user-profile-link { text-decoration: none; color: inherit; }

  .entries-section,
  .entries-wrapper,
  .entries-list,
  main             { padding: 28px 24px 28px 36px; border-left-width: 6px; }

  .entry           { padding: 20px 18px; }
  .entry:hover     { transform: translateX(4px); }
}

@media (max-width: 480px) {
  .header  { padding: 14px 16px; }
  .logo    { font-size: 26px; }

  .entries-section,
  .entries-wrapper,
  .entries-list,
  main     { padding: 22px 18px 22px 26px; border-left-width: 5px; }

  .entry h3        { font-size: 18px; }
  .stat strong     { font-size: 36px; }
  .new-entry-btn   { font-size: 13px; padding: 9px 18px; }
}

/* ═══════════════════════════════════════════════════════════
   GLOBAL READABILITY GUARANTEE
   High contrast, bold weights on everything
═══════════════════════════════════════════════════════════ */
body, p, span, div, li, td, th, input, textarea, select, button, a {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.entry h3, .logo, .stat strong, .new-entry-btn {
  font-weight: 800 !important;
  color: var(--ink) !important;
}

.entry-image-preview {
  margin-bottom: 16px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-height: 240px;
}

.entry-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.entry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--paper-edge);
}

.location {
  font-family: var(--font-formal);
  font-size: 11px;
  color: var(--ink-ghost);
  font-weight: 600;
}

.read-more {
  font-family: var(--font-hand);
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.entry p, .entry .date, .mood, .tag,
.search-bar, .stat span {
  font-weight: 600 !important;
  color: var(--ink-mid) !important;
  opacity: 1 !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--ink-ghost) !important;
  font-weight: 500 !important;
  opacity: 1 !important;
}

label {
  font-weight: 700 !important;
  color: var(--ink-mid) !important;
}