/*
 * BULIN V35 | Članak — prirodan prijelom riječi, širi raster
 * Završni, samostalni stil samo za clanak.php.
 * Zamjenjuje zasebna V27, V32 i V33 pravila na stranici članka.
 */
.article-page.main-content {
  padding-top: 20px;
  padding-bottom: 58px;
  min-width: 0;
}
.article-page, .article-page * {box-sizing: border-box}

/* Jedna os i jednake margine od naslova do posljednjeg odlomka. */
.article-page > .crumbs,
.article-page > .preview-banner,
.article-page > .article-layout,
.article-page > .related-stories {
  display: block;
  width: min(100%, 1060px);
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.article-page > .crumbs { margin-top: 0; margin-bottom: 18px; }
.article-page > .article-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 0;
  align-items: start;
}
.article-page .article-main {
  display: block;
  min-width: 0;
  width: 100%;
  max-width: none;
}
.article-page .article-main > .story-heading,
.article-page .article-main > .story-cover,
.article-page .article-main > .story-reading {
  display: block;
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  box-sizing: border-box;
}

/* Naslov lijevo, bez automatskog balansiranja duljine redaka. */
.article-page .story-heading {
  padding: 0 0 20px;
  margin: 0 0 22px;
  border-bottom: 1px solid #dedfe2;
}
.article-page .story-heading .story-section {
  display: inline-block;
  color: #bb1732;
  font-size: 11px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .085em;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.article-page .story-heading h1 {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  font-family: Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
  font-size: clamp(30px,2.65vw,36px) !important;
  font-weight: 700 !important;
  line-height: 1.22 !important;
  letter-spacing: -.024em !important;
  text-align: left !important;
  text-wrap: wrap !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  color: #181a1d;
  margin: 0 0 17px !important;
}

/* Obojstrano poravnanje uvoda i teksta, bez razvučenog posljednjeg retka. */
.article-page .story-heading .story-standfirst {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 0 18px;
  padding: 0;
  font-size: 16px;
  line-height: 1.73;
  font-weight: 400;
  letter-spacing: 0;
  color: #535b64;
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.article-page .story-meta {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 10px 22px;
  margin: 0;
  flex-wrap: wrap;
}
.article-page .story-byline {min-width: 0;}
.article-page .story-date {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;
  margin: 0;
  flex-wrap: wrap;
  font-size: 11px;
  line-height: 1.5;
  color: #80848b;
}

.article-page .story-cover {
  display: block;
  margin: 0 0 25px;
  padding: 0;
  width: 100%;
  min-height: 0;
  border: 0;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
}
.article-page .story-cover img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center;
  border-radius: 8px;
}

.article-page .story-reading,
.article-page .story-content,
.article-page .story-share,
.article-page .story-endmark {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin-left: 0;
  margin-right: 0;
}
.article-page .story-content {
  color: #272a2e;
  font-size: 17px;
  line-height: 1.83;
  letter-spacing: 0;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
.article-page .story-content > :first-child {margin-top: 0}
.article-page .story-content p,
.article-page .story-content p:first-child {
  font-weight: 400;
  margin: 0 0 21px;
  text-align: left;
  text-align-last: auto;
  text-justify: auto;
  hyphens: none !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}
.article-page .story-content li {text-align: left;}
.article-page .story-content :is(h2,h3,blockquote) {text-align: left;}
.article-page .story-content :is(h2,h3) {max-width: 100%}
.article-page .story-content :is(img,video,iframe,figure) {max-width: 100%;}
.article-page .story-content img {height: auto}
.article-page .story-share {margin-bottom: 22px}

/* Ostali sadržaj dolazi nakon članka, bez sužavanja teksta. */
.article-page .article-rail {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
  position: static;
  padding-top: 26px;
  margin-top: 38px;
  border-top: 1px solid #e3e5e8;
}
.article-page > .related-stories {margin-top: 38px;}

@media (max-width: 680px) {
  .article-page.main-content {padding-top: 13px; padding-bottom: 40px;}
  .article-page > .crumbs {margin-bottom: 14px;}
  .article-page .story-heading {padding-bottom: 17px; margin-bottom: 19px;}
  .article-page .story-heading h1 {
    font-size: clamp(26px, 6.8vw, 31px) !important;
    line-height: 1.23 !important;
    margin-bottom: 13px !important;
  }
  .article-page .story-heading .story-standfirst {
    font-size: 14.5px;
    line-height: 1.65;
    margin-bottom: 16px;
    text-align: left;
    hyphens: none !important;
  }
  .article-page .story-meta {align-items: flex-start; flex-direction: column; gap: 10px;}
  .article-page .story-cover {margin-bottom: 21px; border-radius: 7px;}
  .article-page .story-cover img {border-radius: 7px;}
  .article-page .story-content {font-size: 16px; line-height: 1.76;}
  .article-page .story-content p,
  .article-page .story-content p:first-child {margin-bottom: 18px; text-align: left; hyphens: manual;}
  .article-page .article-rail {display: block; padding-top: 23px; margin-top: 31px;}
  .article-page .article-rail > * + * {margin-top: 16px;}
  .article-page > .related-stories {margin-top: 28px;}
}

/* V35: bez rastavljanja riječi i bez razvlačenja razmaka između riječi. */
.article-page .story-heading h1,
.article-page .story-heading .story-standfirst,
.article-page .story-content,
.article-page .story-content p,
.article-page .story-content li,
.article-page .story-content h2,
.article-page .story-content h3,
.article-page .story-content blockquote {
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: wrap !important;
}
.article-page .story-heading .story-standfirst,
.article-page .story-content p { text-align: left !important; text-align-last: auto !important; }
/* Samo duge poveznice smiju se prelomiti kad bi inače iscurile iz stupca. */
.article-page .story-content a { overflow-wrap: anywhere; }
@media (max-width: 680px) {
  .article-page .story-content, .article-page .story-heading .story-standfirst {
    overflow-wrap: normal !important;
    hyphens: none !important;
  }
}
