/* Članak: naslov, meta, traka recepta, tekst, dijeljenje, autor, komentari */

/* --- Članak --- */
.breadcrumbs { font-size: 13px; color: var(--muted); margin: 26px 0 18px; }
.breadcrumbs a { font-weight: 600; }
.breadcrumbs .sep { margin: 0 7px; opacity: .6; }

.entry-header .badge { margin-bottom: 14px; }
.entry-title { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; }
.entry-lead { font-size: 19px; line-height: 1.55; color: #48433f; margin: 16px 0 0; }
.entry-meta {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
	margin: 20px 0 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
	font-size: 14px; color: var(--muted);
}
.entry-author { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); }
.entry-avatar { border-radius: 50%; }
.entry-media { margin: 24px 0 0; }
.entry-media img { width: 100%; border-radius: 14px; }
.entry-media figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }

.recipe-strip {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
	margin: 24px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--soft);
}
.rs-item { padding: 14px 18px; border-right: 1px solid var(--line); }
.rs-item:last-child { border-right: 0; }
.rs-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.rs-value { display: block; font-size: 17px; font-weight: 800; margin-top: 2px; }

.entry-content { font-size: 18px; line-height: 1.75; margin-top: 28px; overflow-wrap: break-word; }
.entry-content > * { margin-top: 0; margin-bottom: 1.15em; }
.entry-content h2 { font-size: 27px; font-weight: 800; margin: 1.6em 0 .6em; }
.entry-content h3 { font-size: 22px; font-weight: 800; margin: 1.4em 0 .5em; }
.entry-content h4 { font-size: 19px; font-weight: 800; margin: 1.3em 0 .5em; }
.entry-content a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content img { border-radius: 12px; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 4px solid var(--brand); background: var(--soft); border-radius: 0 12px 12px 0; font-size: 18px; }
.entry-content blockquote p:last-child { margin-bottom: 0; }

/* Sastojci (ul) – kvačice; Postupak (ol) – brojevi u krugu */
.entry-content ul { list-style: none; padding: 18px 22px; background: var(--soft); border-radius: 12px; border: 1px solid var(--line); }
.entry-content ul li { position: relative; padding-left: 30px; margin: 7px 0; }
.entry-content ul li::before {
	content: ""; position: absolute; left: 2px; top: .5em; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid var(--brand);
}
.entry-content ol { list-style: none; padding: 0; counter-reset: step; }
.entry-content ol li { position: relative; padding: 0 0 0 52px; margin: 0 0 18px; counter-increment: step; min-height: 36px; }
.entry-content ol li::before {
	content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--brand); color: #fff; font-weight: 800; font-size: 16px;
}
.entry-content table { width: 100%; border-collapse: collapse; font-size: 16px; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.entry-content th { background: var(--soft); }
.entry-content .wp-block-image { margin-top: 1.6em; margin-bottom: 1.6em; }

.entry-footer { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.entry-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.share-label { font-weight: 800; font-size: 14px; margin-right: 4px; }
.share-btn {
	display: inline-block; padding: 8px 15px; border-radius: 6px; border: 0; cursor: pointer;
	font-size: 13.5px; font-weight: 700; color: #fff; line-height: 1.3;
}
.share-btn:hover { color: #fff; filter: brightness(1.1); }
.share-fb { background: #1877f2; }
.share-wa { background: #1fa855; }
.share-vb { background: #7360f2; }
.share-copy { background: var(--dark); }

.author-box { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 18px; margin-top: 30px; padding: 22px; background: var(--soft); border-radius: 14px; }
.author-box img { border-radius: 50%; }
.author-box-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.author-box-name { font-size: 18px; font-weight: 800; }
.author-box p { margin: 6px 0 0; font-size: 15px; color: #4c4743; }

.related { margin-top: 44px; }

/* --- Komentari --- */
.comments { margin-top: 44px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 30px; }
.comment-list .children { list-style: none; padding-left: 30px; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--muted); }
.comment-form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
}
.comment-form .submit { padding: 12px 22px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; }
.comment-reply-title { font-size: 22px; font-weight: 800; }

/* Mobitel (do 640 px) */
@media (max-width: 640px) {
	.entry-content { font-size: 17px; }
	.entry-lead { font-size: 17px; }
	.entry-media img { border-radius: 0; margin: 0 -16px; width: calc(100% + 32px); max-width: none; }
	.rs-item { border-right: 0; border-bottom: 1px solid var(--line); }
	.recipe-strip { grid-template-columns: 1fr 1fr; }
}

/* Znak redakcije (umjesto slike autora) */
.redakcija-znak {
	display: inline-flex; align-items: center; justify-content: center; flex: none;
	width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
	background: var(--brand); color: #fff; font: 800 17px/1 var(--font-head);
}
.author-box .redakcija-znak { width: 72px; height: 72px; font-size: 32px; }

/* Blokovi ispod članka */
.related .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.related .card-title { font-size: 16px; }
.related-btn { margin-top: 30px; text-align: center; }
.btn-wide { min-width: 280px; }

@media (max-width: 640px) {
	.related .grid-3 { grid-template-columns: 1fr 1fr; gap: 16px; }
	.related .card-title { font-size: 14.5px; }
	.btn-wide { width: 100%; min-width: 0; }
}
.related .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.related .grid-4 .card-title { font-size: 15px; }
.related .grid-4 .card-excerpt { display: none; }
@media (max-width: 640px) {
	.related .grid-4 { grid-template-columns: 1fr 1fr; }
}
