:root {
  --bg: #f5f0e8;
  --paper: #fffaf4;
  --paper-strong: #ffffff;
  --ink: #26201c;
  --muted: #756a61;
  --brown: #8a674d;
  --brown-deep: #684b37;
  --sand: #d8b99f;
  --sand-light: #ead8c8;
  --dark: #1d1713;
  --dark-soft: #2b211b;
  --line: #ded1c4;
  --shadow: 0 22px 60px rgba(55, 39, 29, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, 90%); margin: 0 auto; }

.hero {
  min-height: 94vh;
  color: white;
  background:
    radial-gradient(circle at 78% 22%, rgba(176, 130, 93, .27), transparent 27%),
    radial-gradient(circle at 18% 90%, rgba(123, 86, 61, .18), transparent 29%),
    linear-gradient(120deg, #1a1512 0%, #281f19 53%, #3b2a20 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: 'H';
  position: absolute;
  right: -35px;
  bottom: -185px;
  font-family: 'Playfair Display', serif;
  font-size: 520px;
  line-height: 1;
  color: rgba(255,255,255,.025);
  pointer-events: none;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid rgba(255,255,255,.11);
  position: relative;
  z-index: 20;
}
.logo { font-weight: 800; letter-spacing: 2.2px; font-size: 14px; }
.logo span { color: var(--sand); }
.nav-links { display: flex; gap: 28px; font-size: 13px; color: #e8ddd4; }
.nav-links a { position: relative; padding: 8px 0; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--sand);
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }
.menu-button {
  display: none;
  color: white;
  background: transparent;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.hero-content {
  min-height: calc(94vh - 86px);
  padding: 84px 0 105px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  gap: 78px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-copy { max-width: 770px; }
.status-pill {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
  color: #d9cec5;
  font-size: 11px;
  font-weight: 700;
}
.status-pill span { width: 7px; height: 7px; border-radius: 50%; background: #bcd39e; box-shadow: 0 0 0 5px rgba(188,211,158,.08); }
.eyebrow {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 2.3px;
  font-size: 10px;
  font-weight: 800;
  color: var(--brown);
}
.eyebrow.light { color: var(--sand); }
h1, h2, h3, blockquote { font-family: 'Playfair Display', serif; }
h1 {
  font-size: clamp(58px, 7.4vw, 104px);
  line-height: .95;
  letter-spacing: -3px;
  margin: 14px 0 28px;
}
h1 span { color: var(--sand); }
.intro { max-width: 700px; margin: 0; font-size: clamp(17px, 1.55vw, 20px); line-height: 1.8; color: #ddd3cb; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--sand); color: var(--dark); }
.button.secondary { border: 1px solid rgba(255,255,255,.23); color: white; }
.button.secondary:hover { background: rgba(255,255,255,.06); }

.profile-card {
  background: #f7efe7;
  color: var(--ink);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 30px 90px rgba(0,0,0,.28);
  transform: rotate(1.2deg);
}
.profile-photo-placeholder {
  min-height: 315px;
  border-radius: 21px;
  background: linear-gradient(145deg, #d9c3b0, #b99478);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #5c4637;
  position: relative;
  overflow: hidden;
}
.profile-photo-placeholder::after { content: 'HUGO'; position: absolute; right: -4px; bottom: -35px; font-size: 100px; font-weight: 800; color: rgba(255,255,255,.13); letter-spacing: -8px; }
.profile-photo-placeholder span { font-size: 54px; }
.profile-photo-placeholder small { font-size: 11px; font-weight: 700; }
.profile-body { padding: 21px 18px 15px; }
.profile-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.profile-label { display: block; font-size: 9px; letter-spacing: 1.7px; font-weight: 800; color: #92745e; }
.profile-body h2 { margin: 3px 0 0; font-size: 42px; letter-spacing: -1px; }
.verified { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--brown); color: white; font-weight: 800; }
.profile-body > p { margin: 8px 0 16px; color: var(--muted); font-size: 13px; }
.profile-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-meta span { padding: 7px 9px; border-radius: 999px; background: #eadfd5; font-size: 10px; font-weight: 700; color: #68584c; }

.ticker { background: #eadfd3; border-bottom: 1px solid #d7cabd; }
.ticker-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.ticker-grid > div { min-height: 112px; display: flex; align-items: center; gap: 15px; padding: 22px 24px; border-right: 1px solid #d2c4b7; }
.ticker-grid > div:first-child { padding-left: 0; }
.ticker-grid > div:last-child { border-right: 0; }
.ticker-icon { font-size: 25px; }
.ticker p { margin: 0; display: flex; flex-direction: column; }
.ticker small { color: #988273; font-size: 8px; font-weight: 800; letter-spacing: 1.5px; }
.ticker strong { font-size: 12px; margin-top: 3px; }

.section { padding: 105px 0; }
.section-heading { margin-bottom: 44px; }
.split-heading { display: grid; grid-template-columns: 1fr minmax(280px, 420px); gap: 60px; align-items: end; }
h2 { font-size: clamp(42px, 5vw, 65px); line-height: 1.02; letter-spacing: -1.8px; margin: 8px 0 0; }
.section-description { margin: 0; color: var(--muted); line-height: 1.8; }

.featured-post {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr) 170px;
  gap: 34px;
  align-items: stretch;
  padding: 28px;
  border-radius: 28px;
  background: var(--dark);
  color: white;
  box-shadow: 0 24px 70px rgba(49,33,23,.16);
}
.featured-date {
  min-height: 225px;
  border-radius: 20px;
  background: linear-gradient(145deg, #b28b6d, #8b674d);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.featured-date span { font-size: 10px; letter-spacing: 2px; font-weight: 800; }
.featured-date strong { font-family: 'Playfair Display', serif; font-size: 68px; line-height: .95; }
.featured-date small { margin-top: 8px; font-size: 10px; opacity: .75; }
.featured-copy { align-self: center; padding: 8px 0; }
.post-kicker { margin-bottom: 9px; color: #9c806b; font-size: 9px; text-transform: uppercase; letter-spacing: 1.8px; font-weight: 800; }
.featured-post .post-kicker { color: #c9a98f; }
.featured-copy h3 { font-size: clamp(30px, 3.5vw, 45px); line-height: 1.12; margin: 0 0 13px; }
.featured-copy p { margin: 0; max-width: 740px; color: #d7cdc5; line-height: 1.8; }
.post-signoff { margin-top: 19px; font-size: 12px; font-weight: 800; color: #a68369; }
.featured-side { border-left: 1px solid rgba(255,255,255,.09); padding-left: 26px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; }
.featured-icon { font-size: 48px; }
.mood { display: inline-block; padding: 8px 11px; border-radius: 999px; background: #eee3d8; color: #5d4b3e; font-size: 10px; font-weight: 800; white-space: nowrap; }
.read-label { color: #83766e; font-size: 9px; text-transform: uppercase; letter-spacing: 1.2px; }
.diary-subheading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 56px 0 20px; }
.diary-subheading h3 { margin: 0; font-size: 27px; }
.diary-subheading span { color: var(--muted); font-size: 11px; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.post-card {
  min-height: 355px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 22px;
  box-shadow: 0 7px 25px rgba(55,39,29,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.post-date-mini { width: 62px; height: 62px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 15px; background: #eadfd3; }
.post-date-mini strong { font-family: 'Playfair Display', serif; font-size: 25px; line-height: .9; }
.post-date-mini span { margin-top: 5px; font-size: 8px; letter-spacing: 1.2px; font-weight: 800; color: #826d5e; }
.post-icon { font-size: 32px; }
.post-card h3 { font-size: 25px; line-height: 1.2; margin: 0 0 11px; }
.post-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.75; }
.post-bottom { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.post-card .post-signoff { margin: 0; font-size: 10px; }


.about-section { padding: 110px 0; background: var(--dark); color: white; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.about-visual { position: relative; }
.about-photo-placeholder {
  min-height: 500px;
  border-radius: 30px;
  background: linear-gradient(145deg, #b8967c, #765640);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.about-photo-placeholder::after { content: 'BIG BOY'; position: absolute; left: 20px; bottom: 4px; font-size: 58px; font-weight: 800; color: rgba(255,255,255,.08); letter-spacing: -4px; }
.about-photo-placeholder span { font-family: 'Playfair Display', serif; font-size: 150px; color: rgba(255,255,255,.85); }
.about-photo-placeholder small { position: absolute; bottom: 24px; right: 24px; color: rgba(255,255,255,.65); font-size: 10px; }
.handwritten-note { position: absolute; right: -28px; bottom: 38px; max-width: 190px; padding: 15px 18px; background: #f0dfb8; color: #4f402f; border-radius: 4px; transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0,0,0,.17); font-family: 'Playfair Display', serif; font-size: 14px; }
.about-copy > p:not(.eyebrow) { max-width: 690px; color: #d5cbc3; line-height: 1.85; font-size: 16px; }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 34px; }
.about-facts div { padding: 18px; border: 1px solid rgba(255,255,255,.10); border-radius: 16px; background: rgba(255,255,255,.04); }
.about-facts span { display: block; margin-bottom: 7px; font-size: 8px; text-transform: uppercase; letter-spacing: 1.5px; color: #a99a8e; }
.about-facts strong { font-size: 12px; }

.human-section { padding: 110px 0; background: #e9ded2; }
.human-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: center; }
.human-copy h2 { font-size: clamp(48px, 5.5vw, 76px); }
.human-lead { margin: 15px 0 20px; font-family: 'Playfair Display', serif; font-size: 28px; color: var(--brown-deep); }
.human-copy > p:not(.eyebrow):not(.human-lead) { max-width: 720px; color: #675d55; line-height: 1.85; }
.human-signature { margin-top: 28px; font-size: 12px; font-weight: 800; color: #886b55; }
.human-card { background: #fffaf4; border: 1px solid #d7c9bb; border-radius: 28px; padding: 34px; box-shadow: 0 20px 55px rgba(58,40,29,.09); }
.human-avatar { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: #e9ddd2; font-size: 35px; margin-bottom: 20px; }
.human-label { font-size: 8px; letter-spacing: 1.6px; color: #9a806c; font-weight: 800; }
.human-card h3 { margin: 5px 0 20px; font-size: 34px; }
.human-list { display: grid; gap: 10px; }
.human-list div { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid #eadfd5; color: #665b53; font-size: 12px; }
.human-list span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #ede3da; color: #765b47; font-weight: 800; }

.gallery-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; grid-template-rows: 240px 210px; gap: 18px; }
.gallery-placeholder {
  margin: 0;
  border: 1px dashed #c4b29f;
  border-radius: 24px;
  background: rgba(255,255,255,.35);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
}
.gallery-main { grid-row: 1 / 3; background: linear-gradient(145deg, #e6d8ca, #cdb6a1); }
.gallery-wide { grid-column: 2 / 4; }
.gallery-icon { font-size: 45px; }
.gallery-placeholder figcaption { display: flex; flex-direction: column; gap: 5px; }
.gallery-placeholder strong { font-family: 'Playfair Display', serif; font-size: 20px; }
.gallery-placeholder span { color: var(--muted); font-size: 11px; }

.closing-section { padding: 0 0 90px; }
.closing-card { padding: 70px 7%; border-radius: 32px; background: var(--brown-deep); color: white; text-align: center; }
.closing-card h2 { margin: 8px auto 18px; max-width: 900px; }
.closing-card > p:not(.eyebrow) { margin: 0; color: #ddcec2; }
.closing-signature { margin-top: 28px; font-family: 'Playfair Display', serif; font-size: 21px; color: #e4c4a9; }

footer { background: #15110e; color: #aa9d93; padding: 34px 0; }
.footer-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-content div { display: flex; flex-direction: column; gap: 5px; }
.footer-content strong { color: #e3d9d0; font-size: 13px; }
.footer-content span, .footer-content a { font-size: 11px; }

@media (max-width: 980px) {
  .hero-content { grid-template-columns: 1fr; gap: 48px; }
  .profile-card { max-width: 520px; transform: none; }
  .ticker-grid { grid-template-columns: repeat(2, 1fr); }
  .ticker-grid > div:nth-child(2) { border-right: 0; }
  .ticker-grid > div:nth-child(-n+2) { border-bottom: 1px solid #d2c4b7; }
  .featured-post { grid-template-columns: 120px 1fr; }
  .featured-side { grid-column: 2; border-left: 0; padding-left: 0; flex-direction: row; align-items: center; flex-wrap: wrap; }
  .featured-icon { font-size: 30px; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .thought-card { grid-template-columns: 70px 1fr; }
  .thought-button { grid-column: 2; justify-self: start; }
  .about-grid, .human-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { max-width: 620px; }
}

@media (max-width: 720px) {
  .container { width: min(92%, 1180px); }
  .nav { min-height: 74px; }
  .menu-button { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    background: #241b16;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 12px; }
  .hero-content { min-height: auto; padding: 64px 0 75px; }
  h1 { font-size: clamp(50px, 16vw, 78px); letter-spacing: -2px; }
  .profile-photo-placeholder { min-height: 260px; }
  .ticker-grid { grid-template-columns: 1fr; padding: 12px 0; }
  .ticker-grid > div, .ticker-grid > div:first-child { min-height: auto; padding: 16px 0; border-right: 0; border-bottom: 1px solid #d2c4b7; }
  .ticker-grid > div:last-child { border-bottom: 0; }
  .section, .about-section, .human-section { padding: 78px 0; }
  .split-heading { grid-template-columns: 1fr; gap: 20px; }
  .featured-post { grid-template-columns: 1fr; padding: 18px; gap: 19px; }
  .featured-date { min-height: 105px; flex-direction: row; gap: 10px; }
  .featured-date strong { font-size: 44px; order: -1; }
  .featured-side { grid-column: auto; }
  .posts-grid { grid-template-columns: 1fr; }
  .post-card { min-height: 320px; }
  .thought-section { padding-bottom: 78px; }
  .thought-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .thought-mark { font-size: 90px; padding: 0; height: 48px; }
  .thought-button { grid-column: auto; }
  .about-photo-placeholder { min-height: 390px; }
  .handwritten-note { right: 12px; bottom: 26px; }
  .about-facts { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-main, .gallery-wide { grid-row: auto; grid-column: auto; }
  .gallery-placeholder { min-height: 190px; }
  .closing-card { padding: 50px 22px; border-radius: 24px; }
  .footer-content { align-items: flex-start; flex-direction: column; }
}

/* --- Arhiva Huginih misli --- */
.thought-section { padding: 92px 0 105px; background: #27211e; color: #f6efe9; }
.thought-heading { margin-bottom: 30px; }
.thought-heading h2 { color: #fff; }
.thought-description { color: #c9b9ae; }
.thought-card {
  display: grid; grid-template-columns: 82px 1fr auto; gap: 26px; align-items: center;
  padding: 42px 44px; border-radius: 28px; background: #312925;
  border: 1px solid rgba(255,255,255,.09); box-shadow: 0 24px 70px rgba(0,0,0,.16);
}
.thought-mark { font-family: Georgia, serif; font-size: 128px; color: #bb9477; line-height: .6; align-self: start; padding-top: 28px; }
.thought-card blockquote { margin: 10px 0 18px; max-width: 830px; font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 38px); line-height: 1.4; }
.thought-kicker { color: #c7a98f; }
.thought-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; }
.thought-meta span { padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.07); color: #dfd0c5; font-size: 11px; font-weight: 700; }
.thought-meta strong { font-size: 12px; color: #c7a98f; }
.thought-date { min-width: 92px; padding: 18px 16px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.thought-date strong { display: block; font-size: 34px; line-height: 1; color: #fff; }
.thought-date span, .thought-date small { display: block; margin-top: 6px; font-size: 10px; letter-spacing: .12em; color: #bca99c; }
.thought-subheading { color: #fff; }
.thought-subheading span { color: #aa988d; }
.thoughts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.thought-history-card { min-height: 255px; padding: 26px; border-radius: 22px; background: #302824; border: 1px solid rgba(255,255,255,.075); display: flex; flex-direction: column; }
.thought-history-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 18px; }
.thought-mini-date { border-color: rgba(255,255,255,.12); }
.thought-mini-date strong { color: #fff; }
.thought-mini-date span { color: #bda89b; }
.thought-history-icon { font-size: 25px; }
.thought-history-card .post-kicker { color: #a99588; }
.thought-history-card blockquote { margin: 14px 0 24px; font-family: 'Playfair Display', serif; font-size: 21px; line-height: 1.55; color: #f4ece6; }
.thought-history-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; border-top: 1px solid rgba(255,255,255,.07); }
.thought-history-bottom span { font-size: 10px; color: #ad998d; }
.thought-history-bottom strong { font-size: 10px; color: #c7a98f; }

@media (max-width: 900px) {
  .thought-card { grid-template-columns: 64px 1fr; }
  .thought-date { grid-column: 2; border-left: 0; border-top: 1px solid rgba(255,255,255,.1); text-align: left; padding: 16px 0 0; display: flex; align-items: baseline; gap: 8px; }
  .thought-date strong, .thought-date span, .thought-date small { display: inline; margin: 0; }
}
@media (max-width: 680px) {
  .thought-section { padding: 72px 0 78px; }
  .thought-card { grid-template-columns: 1fr; padding: 30px 24px; }
  .thought-mark { font-size: 90px; padding: 0; height: 48px; }
  .thought-date { grid-column: auto; }
  .thoughts-grid { grid-template-columns: 1fr; }
  .thought-history-card { min-height: 0; }
}

/* V5 — dodatci za trajnu arhivu i admin poveznicu */
.empty-state { padding: 38px; border: 1px dashed var(--line); border-radius: 24px; text-align: center; color: var(--muted); background: rgba(255,255,255,.35); }
.dark-empty { color: #d9cbbf; border-color: rgba(255,255,255,.15); background: rgba(255,255,255,.04); }
.thought-mood { display: inline-flex; align-items: center; padding: 6px 10px; border: 1px solid rgba(255,255,255,.13); border-radius: 999px; color: #ead8c8; font-size: 10px; font-weight: 700; }
.thought-mood.small { font-size: 9px; padding: 5px 8px; }
.footer-links { display: flex; gap: 20px; align-items: center; }
.footer-links a:first-child { opacity: .55; }
.footer-links a:hover { color: #fff; opacity: 1; }


/* V7 — sažetak na naslovnici + puna stranica priče */
.read-story-button {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 18px;
  padding: 12px 17px; border-radius: 999px; background: #efe5dc; color: #2b2420;
  font-size: 12px; font-weight: 800; text-decoration: none; transition: .2s ease;
}
.read-story-button:hover { transform: translateY(-2px); background: #fff7f0; }
.read-story-button span { font-size: 17px; }
.card-read-link { color: inherit; font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.card-read-link:hover { text-decoration: underline; }
.story-page { background: #f3ede7; color: #2c2521; min-height: 100vh; }
.story-site-header { max-width: 1180px; margin: 0 auto; padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #d9ccc1; }
.story-site-header a { color: inherit; text-decoration: none; }
.story-brand { display: flex; align-items: center; gap: 14px; }
.story-brand span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #2b2420; color: #fff; font-size: 10px; font-weight: 800; }
.story-brand strong { font-family: 'Playfair Display', serif; font-size: 20px; }
.story-shell { width: min(900px, calc(100% - 38px)); margin: 0 auto; padding: 70px 0 100px; }
.story-article { background: #fffaf6; border: 1px solid #ddd0c5; border-radius: 30px; padding: clamp(30px, 6vw, 72px); box-shadow: 0 30px 90px rgba(63,46,36,.08); }
.story-back, .story-bottom-back { color: #826c5d; font-size: 12px; font-weight: 800; text-decoration: none; }
.story-header { margin-top: 45px; }
.story-eyebrow { color: #9b806d; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.story-header h1 { max-width: 760px; margin: 12px 0 20px; font-family: 'Playfair Display', serif; font-size: clamp(42px, 7vw, 76px); line-height: 1.02; letter-spacing: -.035em; }
.story-meta { display: flex; align-items: center; gap: 12px; }
.story-rule { display: flex; align-items: center; gap: 14px; margin: 38px 0; color: #a98872; }
.story-rule::before, .story-rule::after { content: ''; height: 1px; flex: 1; background: #ded2c8; }
.story-body { max-width: 720px; margin: 0 auto; }
.story-body p { margin: 0 0 25px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(18px, 2.1vw, 21px); line-height: 1.85; color: #403731; }
.story-body .story-lead::first-letter { float: left; margin: 8px 10px 0 0; font-family: 'Playfair Display', serif; font-size: 70px; line-height: .72; color: #9c765d; }
.story-signature { max-width: 720px; margin: 50px auto 42px; padding-top: 30px; border-top: 1px solid #dfd4cb; display: flex; flex-direction: column; gap: 7px; }
.story-signature span { color: #9b887b; font-size: 12px; }
.story-signature strong { font-family: 'Playfair Display', serif; font-size: 25px; }
.story-bottom-back { display: block; max-width: 720px; margin: 0 auto; }
.story-loading, .story-not-found { text-align: center; padding: 80px 20px; }
.story-not-found h1 { font-family: 'Playfair Display', serif; font-size: 44px; }
.story-not-found a { color: #826c5d; }
@media (max-width: 680px) {
 .story-site-header { padding: 18px; }
 .story-brand strong { font-size: 17px; }
 .story-shell { width: min(100% - 20px, 900px); padding: 22px 0 55px; }
 .story-article { border-radius: 22px; padding: 28px 21px 38px; }
 .story-header { margin-top: 32px; }
 .story-header h1 { font-size: 42px; }
 .story-body p { font-size: 18px; line-height: 1.75; }
 .post-bottom { gap: 10px; flex-wrap: wrap; }
}


/* V9 — profilna fotografija + fotografije koje žive 24 sata */
.profile-photo-placeholder.has-photo{padding:0;overflow:hidden;background:#171310}
.profile-photo-placeholder.has-photo img{width:100%;height:100%;min-height:360px;display:block;object-fit:cover}
.moments-section{padding-top:72px;padding-bottom:24px}
.moments-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.moment-card{position:relative;min-height:360px;border-radius:26px;overflow:hidden;background:#28211d;box-shadow:0 20px 50px rgba(44,33,26,.12)}
.moment-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.moment-card:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.10),rgba(0,0,0,.05) 40%,rgba(0,0,0,.75))}
.moment-overlay{position:absolute;inset:0;z-index:2;padding:18px;color:white;display:flex;flex-direction:column;justify-content:space-between}
.moment-top{display:flex;justify-content:space-between;align-items:center}
.moment-top>span{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.38);backdrop-filter:blur(8px)}
.moment-top small{padding:7px 10px;border-radius:999px;background:rgba(0,0,0,.35);backdrop-filter:blur(8px);font-size:9px;font-weight:700}
.moment-mood{display:inline-block;margin-bottom:8px;font-size:10px;font-weight:800;letter-spacing:.04em}
.moment-card h3{margin:0;font-family:'Playfair Display',serif;font-size:24px;line-height:1.08}
.moments-empty{grid-column:1/-1;padding:34px;border:1px dashed #d0c1b6;border-radius:22px;text-align:center;color:#806f63;background:#faf6f2}
@media(max-width:900px){.moments-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.moments-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.moment-card{min-width:82vw;scroll-snap-align:start}.profile-photo-placeholder.has-photo img{min-height:300px}}


/* V10 — zajednica, poruke i reakcije */
.reaction-bar{margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.12)}
.post-card .reaction-bar{border-top:1px solid #e4d8cf}
.reaction-label{display:block;margin-bottom:8px;font-size:9px;font-weight:800;letter-spacing:.06em;opacity:.7}
.reaction-buttons{display:flex;gap:7px;flex-wrap:wrap}
.reaction-buttons button,.story-reactions button{border:1px solid rgba(150,120,100,.25);background:rgba(255,255,255,.1);border-radius:999px;padding:6px 9px;display:flex;gap:5px;align-items:center;cursor:pointer}
.post-card .reaction-buttons button{background:#fff8f3}
.reaction-buttons button.selected,.story-reactions button.selected{transform:scale(1.08);box-shadow:0 0 0 2px rgba(157,119,93,.22)}
.reaction-buttons small,.story-reactions small{font-size:9px;font-weight:800}
.community-section{padding:85px 0;background:#211b18;color:#f8eee7;margin-top:80px}
.community-section .section-description{color:#bbaaa0}
.community-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.community-card{background:#2d2521;border:1px solid #453a34;border-radius:28px;padding:28px}
.community-icon{width:50px;height:50px;border-radius:50%;display:grid;place-items:center;background:#f0ded1;font-size:22px;margin-bottom:20px}
.community-card h3{font-family:'Playfair Display',serif;font-size:29px;margin:0 0 8px}
.community-card>p{color:#bcaaa0;line-height:1.65;font-size:13px}
.community-form{display:grid;gap:13px;margin-top:22px}
.community-form label{display:grid;gap:6px;font-size:10px;font-weight:800;color:#d8c9c0}
.community-form label span{font-weight:500;color:#94837a}
.community-form input,.community-form textarea{width:100%;box-sizing:border-box;border:1px solid #51443d;background:#211b18;color:white;border-radius:13px;padding:12px 13px;font:inherit;outline:none}
.community-form input:focus,.community-form textarea:focus{border-color:#ba8b70}
.community-button{border:0;border-radius:999px;padding:13px 17px;background:#ead8cc;color:#2d2420;font-weight:800;cursor:pointer}
.community-status{min-height:18px;margin:0;color:#d1b8a8;font-size:11px}
.consent-line{grid-template-columns:auto 1fr!important;align-items:start}
.consent-line input{width:auto;margin-top:3px}
.story-reactions{max-width:720px;margin:45px auto 0;padding:25px 0;border-top:1px solid #ded2c8;border-bottom:1px solid #ded2c8;text-align:center}
.story-reactions>span{display:block;font-family:'Playfair Display',serif;font-size:20px;margin-bottom:14px}
.story-reactions>div{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.story-reactions button{background:#fff8f3;color:#3b312b}
@media(max-width:760px){.community-grid{grid-template-columns:1fr}.community-section{padding:60px 0}.community-card{padding:22px}}
